Installing
-
2. Installing PIP
First, Install Python PIP in Ubuntu GNU/Linux
With:sudo apt install python3-pip
And then Upgrade PIP with:
pip install --upgrade pip
Or:
sudo pip install --upgrade pip
-
3. Installing Dependencies
Then to Install Libraries
For PostgreSQL with:sudo apt install libpq-dev
And for MySQL/MariaDB instead:
sudo apt install libmysqlclient-dev
-
4. Installing Trac
Then to Install Trac on Ubuntu
For the PostgreSQL backend run:sudo pip install trac psycopg2
And instead for MySQL/MariaDB:
sudo pip install trac mysql-python
Contents