How to Install Paperless-ngx on Elementary OS Latest

Paperless-ngx is an open-source document management system that allows users to organize and manage their digital documents. In this tutorial, we will guide you through the process of installing Paperless-ngx on Elementary OS Latest.

Prerequisites

Before getting started, make sure you have the following requirements:

Step 1: Install Dependencies

First of all, we need to install some necessary dependencies to run Paperless-ngx properly. Open the terminal by pressing ctrl + alt + T and run the following command:

sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install git python3 python3-pip python3-venv build-essential libssl-dev libffi-dev python3-dev poppler-utils -y

It will update the package manager and install all the dependencies we need.

Step 2: Clone the Repository

Now, we need to clone the Paperless-ngx repository to your local machine. For that, run the following command in the terminal:

git clone https://github.com/jonaswinkler/paperless-ng.git

It will clone the repository to your current working directory.

Step 3: Create a Virtual Environment

To avoid conflicts with other Python packages, let's create a virtual environment. Change the directory to the cloned repository using the following command:

cd paperless-ng

Now, create a virtual environment using the following command:

python3 -m venv venv

It will create a virtual environment named venv inside the project directory.

Step 4: Activate the Virtual Environment

Next, we need to activate the virtual environment. Run the following command:

source venv/bin/activate

It will activate the virtual environment. You will see the terminal prompt will change to show the activated environment.

Step 5: Install Requirements

In this step, we will install all the required Python packages for Paperless-ngx. Run the following command:

pip3 install -r requirements.txt

It may take some time to install all the packages, depending on your internet speed.

Step 6: Run Paperless-ngx

Finally, we are ready to run Paperless-ngx. To run it, use the following command:

./manage.py runserver 0.0.0.0:8000

It will start the Paperless-ngx server on port 8000. Now, open your web browser and go to http://localhost:8000 to access the Paperless-ngx web interface.

Conclusion

Congratulations! You have successfully installed Paperless-ngx on your Elementary OS Latest. You can now start using it to manage your digital documents.

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!