Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Manual install

Andrey edited this page Sep 4, 2021 · 11 revisions

To read about what package need for what go here.

Here we install all needed packages globally, remember that you can install only some of them, and then run auto install.

Ubuntu20+ / Debian10+:

  1. Install python dist utils:

    sudo apt install python3-distutils -y

  2. Install pip:

    sudo apt install python3-pip -y

  3. Update pip:

    sudo -H python3 -m pip install --upgrade pip

  4. Install dev packages for python. It need for compiling python modules that have no binary wheel distro's. We are working on this, so in future this step will be not needed. Execute:

    sudo apt install build-essential python3-dev -y

  5. Install required modules:

    sudo -H python3 -m pip install numpy pillow

  6. Install optional modules:

    sudo -H python3 -m pip install scipy pywavelets

    If you use postgre database, then execute:

    sudo -H python3 -m pip install asn1crypto

    If you use mysql/mariadb, then execute:

    sudo -H python3 -m pip install pynacl cryptography

  7. Install optional module pyheif:

    sudo -H python3 -m pip install pyheif

    If this step throws an error, try update pip(step2).

  8. Install boost modules:

    sudo -H python3 -m pip install hexhamming

  9. Go to MediaDC install page, and press "Check" button, and start to use it!

Centos 8 / Fedora 34:

  1. Install Python:

    sudo dnf install python3 -y

  2. Update pip tol latest:

    sudo python3 -m pip install --upgrade pip setuptools

  3. For hexhamming, install compilers:

    sudo dnf install gcc-c++ python3-devel -y

  4. Perform steps from Debian/Ubuntu from step 5 to end. That's all!


Additional useful info for compilation from sources(if needed):

Fedora34, PyHeif:

If on Fedora you want to compile PyHeif From sources

sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

sudo dnf install -y libheif

After that pip will successfully install PyHeif from sources.

Clone this wiki locally