Install Odatix from sources

Step 1: Clone the repository

sudo apt update
sudo apt install -y git
git clone https://github.com/jsaussereau/Odatix.git
cd Odatix/
sudo dnf update
sudo dnf install -y git
git clone https://github.com/jsaussereau/Odatix.git
cd Odatix/
sudo pacman -Syu
sudo pacman -S git --noconfirm
git clone https://github.com/jsaussereau/Odatix.git
cd Odatix/

Step 2: Install Python 3.6+ and make

sudo apt update
sudo apt install -y python3 python3-pip python3-venv make
sudo dnf update
sudo dnf install -y python3 make
sudo pacman -Syu
sudo pacman -S python3 make --noconfirm

Step 3: Configure a virtual environment [Optional]

If you want to use Odatix inside a create a virtual environment, run:

# Create a virtual environment
python3 -m venv odatix_venv # You only need to do it once

To activate the virtual environment, run:

# Activate the virtual environment
source odatix_venv/bin/activate

Note

You have to run this command at every new shell session. Consider creating an alias

Step 4: Install the package

Depending of if you want to install Odatix in editable mode or not:

python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install -e ./sources
python3 -m pip install --upgrade pip setuptools wheel
python3 -m pip install ./sources

Step 5: Enable option auto-completetion [Optional]

If you want to enable autocompletion of odatix command options, you can run:

eval "$(register-python-argcomplete odatix)"
eval "$(register-python-argcomplete odatix-explorer)"

Note

You have to run these commands at every new shell session. Consider adding these to your odatix_venv/bin/activate (if using a virtual environment) script or your .bashrc / .zshrc

Step 6: Install one of the supported EDA tools

More information in section Install one of the supported EDA tools.