How To Install gpdftext on Debian 9
Introduction
In this tutorial we learn how to install gpdftext
on Debian 9.
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 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 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 Debian. 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 Debian 9
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 Debian 9, we can use the command below:
sudo apt-get -y autoremove gpdftext
Remove gpdftext Configurations and Data
To remove gpdftext
configuration and data from Debian 9 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
Dependencies
gpdftext have the following dependencies:
- gconf-service
- libc6
- libcairo2
- libgconf-2-4
- libgdk-pixbuf2.0-0
- libglib2.0-0
- libgtk2.0-0
- libpango-1.0-0
- libpangocairo-1.0-0
- libpoppler-glib8
References
Summary
In this tutorial we learn how to install gpdftext
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.