How To Install gpdftext on Ubuntu 18.04

In this tutorial we learn how to install gpdftext on Ubuntu 18.04. gpdftext is GTK+ text editor for ebook PDF files

Introduction

In this tutorial we learn how to install gpdftext on Ubuntu 18.04.

What is gpdftext

gpdftext is:

gpdftext opens a simple text-based PDF file, typically intended for reading on an ebook reader and loads the text into a text editor window, autoformatting the text for long lines and paragraph breaks.

gpdftext is useful when the downloaded PDF uses a small font or wastes a lot of space in the margins so that a plain text file would display in a more comfortable font.

gpdftext supports spell checking and editor font selection and can save ASCII content as PDF.

There are three methods to install gpdftext 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 gpdftext Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install gpdftext

Install gpdftext Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install gpdftext

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

sudo aptitude -y install gpdftext

How To Uninstall gpdftext on Ubuntu 18.04

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

sudo apt-get remove gpdftext

Uninstall gpdftext And Its Dependencies

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

sudo apt-get -y autoremove gpdftext

Remove gpdftext Configurations and Data

To remove gpdftext configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge gpdftext

Remove gpdftext configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge gpdftext

References

Summary

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