How To Install transifex-client on Ubuntu 18.04
Introduction
In this tutorial we learn how to install transifex-client on Ubuntu 18.04.
What is transifex-client
transifex-client is:
Transifex Command-line Client is a command line tool that enables you to easily manage your translations within a project without the need of an elaborate UI system.
You can use the command line client to easily create new resources, map locale files to translations and synchronize your Transifex project with your local repository and vice versa. Translators and localization managers can also use it to handle large volumes of translation files easily and without much hassle.
There are three methods to install transifex-client 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 transifex-client Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install transifex-client using apt-get by running the following command:
sudo apt-get -y install transifex-client
Install transifex-client Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install transifex-client using apt by running the following command:
sudo apt -y install transifex-client
Install transifex-client 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 transifex-client using aptitude by running the following command:
sudo aptitude -y install transifex-client
How To Uninstall transifex-client on Ubuntu 18.04
To uninstall only the transifex-client package we can use the following command:
sudo apt-get remove transifex-client
Uninstall transifex-client And Its Dependencies
To uninstall transifex-client and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove transifex-client
Remove transifex-client Configurations and Data
To remove transifex-client configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge transifex-client
Remove transifex-client configuration, data, and all of its dependencies
We can use the following command to remove transifex-client configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge transifex-client
References
Summary
In this tutorial we learn how to install transifex-client package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.