Skip to content

How To: Install Calibre Web in Linux Mint 19 or 20

Northguy edited this page Jun 29, 2023 · 1 revision

Installation in Linux Mint 20:

Before installing Calibre-Web we have to install component: python3-pip

  1. We open a terminal inside the Calibre-Web directory

  2. We run the following at the terminal:

    • sudo apt install python3-pip
  3. Go to the folder where you want to install calibre-web, e.g. /opt/calibre-web

  4. Install virtual environment and create one for calibre web (module virtualenv will also work as alternative to venv module)

    • python3 -m pip install venv

    • python3 -m venv venv

  5. Execute the installation of Calibre-Web with newly created virtual python environment:

    • ./venv/bin/python3 -m pip install calibreweb
  6. We run Calibre-Web (using the python from the newly created virtual python environment) with:

    • ./venv/bin/cps or ./venv/bin/python3 -m calibreweb

DANGER: Never close the terminal. To start Calibre-Web at startup, please take a look at How to Start Calibre-Web as Service

  1. Launch web browser and write http://localhost:8083
    Default admin login:
    Username: admin
    Password: admin123

  2. Calibre-Web running

Important (if not started as service): If we turn on or reboot Linux Mint we have to open a terminal inside the Calibre-Web directory and run: [folder where calibre web is installed]/venv/bin/python3 cps.py

Installation in Linux Mint 19:

Before installing Calibre-Web we have to install several components: python3-pip, python3-dev, setuptools, wheel.

  1. We open a terminal inside the Calibre-Web directory

  2. We run the following at the terminal:

    • sudo apt install python3-pip

    • sudo apt install python3-dev

    • python3 -m pip install --upgrade setuptools

    • python3 -m pip install wheel

  3. Go to the folder where you want to install calibre-web, e.g. /opt/calibre-web

  4. Install virtual environment and create one for calibre web (module virtualenv will also work as alternative to venv module)

    • python3 -m pip install venv

    • python3 -m venv venv

  5. Execute the installation of Calibre-Web with newly created virtual python environment:

    • ./venv/bin/python3 -m pip install calibreweb
  6. We run Calibre-Web (using the python from the newly created virtual python environment) with:

    • ./venv/bin/cps or ./venv/bin/python3 -m calibreweb

DANGER: Never close the terminal. To start Calibre-Web at startup, please take a look at How to Start Calibre-Web as Service

7 - Launch web browser and write http://localhost:8083
Default admin login:
Username: admin
Password: admin123

8 - Calibre-Web running

Remark: All config files (settings database, logfiles) are stored in /homes/[username]/.calibre-web. Additional config files, such as the config files for gdrive and gmail have to be placed there too.