How To Install autopoint on Ubuntu 20.04

In this tutorial we learn how to install autopoint on Ubuntu 20.04. autopoint is autopoint program from GNU gettext

Introduction

In this tutorial we learn how to install autopoint on Ubuntu 20.04.

What is autopoint

autopoint is:

The autopoint' program copies standard gettext infrastructure files into a source package. It extracts from a macro call of the form AM_GNU_GETTEXT_VERSION(VERSION)’, found in the package’s configure.in' or configure.ac’ file, the gettext version used by the package, and copies the infrastructure files belonging to this version into the package.

There are three methods to install autopoint on Ubuntu 20.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 autopoint Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install autopoint

Install autopoint Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install autopoint using apt by running the following command:

sudo apt -y install autopoint

Install autopoint 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 autopoint using aptitude by running the following command:

sudo aptitude -y install autopoint

How To Uninstall autopoint on Ubuntu 20.04

To uninstall only the autopoint package we can use the following command:

sudo apt-get remove autopoint

Uninstall autopoint And Its Dependencies

To uninstall autopoint and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove autopoint

Remove autopoint Configurations and Data

To remove autopoint configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge autopoint

Remove autopoint configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge autopoint

References

Summary

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