How To Install gettext-lint on Debian 9
Introduction
In this tutorial we learn how to install gettext-lint
on Debian 9.
What is gettext-lint
gettext-lint is:
Gettext-lint provides an assorted collection of tools that make it easy to check the consistency, validity and spelling of gettext files (both PO and POT).
This package includes: * POFileStatus - PO file validator and status reporting * POFileChecker - searches for common mistakes in PO files * POFileConsistency - PO file consistency checks * POFileEquiv - PO file glossary generator * POFileGlossary - search for translation errors against a glossary * POFileFill - automatically translate a PO file based on other files * POFileSpell - PO file spell checker * POFileClean - eliminates untranslated strings
There are three methods to install gettext-lint
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install gettext-lint Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gettext-lint
using apt-get
by running the following command:
sudo apt-get -y install gettext-lint
Install gettext-lint Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gettext-lint
using apt
by running the following command:
sudo apt -y install gettext-lint
Install gettext-lint 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install gettext-lint
using aptitude
by running the following command:
sudo aptitude -y install gettext-lint
How To Uninstall gettext-lint on Debian 9
To uninstall only the gettext-lint
package we can use the following command:
sudo apt-get remove gettext-lint
Uninstall gettext-lint And Its Dependencies
To uninstall gettext-lint
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove gettext-lint
Remove gettext-lint Configurations and Data
To remove gettext-lint
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge gettext-lint
Remove gettext-lint configuration, data, and all of its dependencies
We can use the following command to remove gettext-lint
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gettext-lint
Dependencies
gettext-lint have the following dependencies:
References
Summary
In this tutorial we learn how to install gettext-lint
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.