How To Install trac-translatedpages on Ubuntu 18.04

In this tutorial we learn how to install trac-translatedpages on Ubuntu 18.04. trac-translatedpages is Show translated versions of wiki page in the Trac web application

Introduction

In this tutorial we learn how to install trac-translatedpages on Ubuntu 18.04.

What is trac-translatedpages

trac-translatedpages is:

The TranslatedPagesMacro provides a simple way to deal with translating wiki pages on a wiki of a Trac installation. It presents links to corresponding versions of the current page in different languages, and indicates when the revision of a translation page gets out of sync with the latest version of the source page.

There are three methods to install trac-translatedpages on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install trac-translatedpages Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install trac-translatedpages using apt-get by running the following command:

sudo apt-get -y install trac-translatedpages

Install trac-translatedpages Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install trac-translatedpages using apt by running the following command:

sudo apt -y install trac-translatedpages

Install trac-translatedpages Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install trac-translatedpages using aptitude by running the following command:

sudo aptitude -y install trac-translatedpages

How To Uninstall trac-translatedpages on Ubuntu 18.04

To uninstall only the trac-translatedpages package we can use the following command:

sudo apt-get remove trac-translatedpages

Uninstall trac-translatedpages And Its Dependencies

To uninstall trac-translatedpages and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove trac-translatedpages

Remove trac-translatedpages Configurations and Data

To remove trac-translatedpages configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge trac-translatedpages

Remove trac-translatedpages configuration, data, and all of its dependencies

We can use the following command to remove trac-translatedpages configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge trac-translatedpages

References

Summary

In this tutorial we learn how to install trac-translatedpages package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.