How to install Paperless-ngx on POP! OS Latest?

Introduction

Paperless-ngx is an open-source document management system that helps you to manage your documents efficiently. It is based on Django and can be used to store, search, and organize your documents in a user-friendly web interface. In this tutorial, we will show you how to install Paperless-ngx on POP! OS Latest.

Prerequisites

Before starting with the installation of Paperless-ngx, please make sure that:

Step 1: Install Dependencies

First, we need to install some dependencies that are required to run Paperless-ngx. These dependencies include Python, pip, and other necessary libraries.

To install them, run the following command:

sudo apt update
sudo apt install python3 python3-pip python3-setuptools python3-wheel libpq-dev libxml2-dev libxslt-dev libjpeg-dev zlib1g-dev -y

Step 2: Create a Virtual Environment

Next, we will create a virtual environment to install Paperless-ngx.

To create a virtual environment, run the following command:

sudo apt install python3-venv -y
python3 -m venv ~/paperless-venv

The above command will create a new virtual environment for Paperless-ngx in the home directory named paperless-venv.

To activate the virtual environment, run the following command:

source ~/paperless-venv/bin/activate

Step 3: Download and Install Paperless-ngx

Now, we will download and install Paperless-ngx.

To download the latest release of Paperless-ngx, run the following command:

wget https://github.com/jonaswinkler/paperless-ng/archive/refs/tags/v2.9.1.tar.gz -O ~/paperless.tar.gz

In the above command, we have downloaded the latest version of Paperless-ngx, which is "v2.9.1". You can download the latest release by visiting https://github.com/jonaswinkler/paperless-ng/releases.

Now, we will extract the downloaded file and install Paperless-ngx using the following commands:

tar -xvf ~/paperless.tar.gz -C ~/paperless --strip-components=1
cd ~/paperless
pip install wheel
pip install -r requirements.txt
./manage.py migrate
npm install
./manage.py bower

Finally, to run the Paperless-ngx server, run the following command:

./manage.py runserver

It will start the Paperless-ngx server on localhost with default port 8000.

Step 4: Access Paperless-ngx

To access Paperless-ngx, open your web browser and navigate to http://localhost:8000/.

Conclusion

Congratulations! You have successfully installed Paperless-ngx on your POP! OS Latest. Now, you can start using Paperless-ngx to manage your documents easily.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!