How to Install Calibre Web on Debian Latest

Calibre Web is a web-based front-end for Calibre e-book management software. This tutorial will walk you through the steps to install Calibre Web on a Debian latest machine by using Github repository.

Prerequisites

Make sure your system meets the following requirements before starting the installation process.

Step 1: Install Dependencies

Before installing Calibre Web, you need to install some dependencies. Open the terminal on your Debian machine and run the following command to update the package list and install required packages.

sudo apt update
sudo apt install git python3 python3-pip python3-setuptools build-essential -y

Step 2: Clone Calibre Web Repository

Next, clone the Calibre Web repository from Github using the following command.

git clone https://github.com/janeczku/calibre-web.git

Once the repository is cloned, change the directory to the Calibre Web directory by running the following command.

cd calibre-web

Step 3: Install Calibre Web Dependencies

To install the Calibre Web dependencies, run the following command.

sudo pip3 install -U -r requirements.txt

Step 4: Configure Calibre Web

Before running the Calibre Web server, you need to configure it. Go to the Calibre Web directory and copy the default configuration file as follows.

cd config
cp config.sample.py config.py

Now open the configuration file using any text editor of your choice.

nano config.py

Find the following section in the configuration file.

# Base directory with your Calibre library
# E.g., "/data/calibre-library"
#CALIBRE_LIBRARY_PATH = ''

Uncomment the CALIBRE_LIBRARY_PATH and specify the path to your Calibre library as follows.

CALIBRE_LIBRARY_PATH = '/path/to/your/library'

Save and exit the configuration file.

Step 5: Run Calibre Web Server

To run the Calibre Web server, you need to run the following command.

python3 cps.py

By default, the Calibre Web server will run on http://localhost:8083. You can access it on your web browser by entering this address.

Conclusion

You have successfully installed Calibre Web on your Debian machine. Now you can manage your e-books using a web-based interface.

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!