How To Install libetpan-dev on Debian 9
Introduction
In this tutorial we learn how to install libetpan-dev on Debian 9.
What is libetpan-dev
libetpan-dev is:
libEtPan! is a mail library. It may be used for low-level mail handling: network protocols (IMAP/NNTP/POP3/SMTP over TCP/IP with or without SSL), local storage (mbox/MH/maildir) and message/MIME parsing.
This package provides development files for the library.
There are three methods to install libetpan-dev 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 libetpan-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install libetpan-dev using apt-get by running the following command:
sudo apt-get -y install libetpan-dev
Install libetpan-dev Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install libetpan-dev using apt by running the following command:
sudo apt -y install libetpan-dev
Install libetpan-dev 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 libetpan-dev using aptitude by running the following command:
sudo aptitude -y install libetpan-dev
How To Uninstall libetpan-dev on Debian 9
To uninstall only the libetpan-dev package we can use the following command:
sudo apt-get remove libetpan-dev
Uninstall libetpan-dev And Its Dependencies
To uninstall libetpan-dev and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libetpan-dev
Remove libetpan-dev Configurations and Data
To remove libetpan-dev configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libetpan-dev
Remove libetpan-dev configuration, data, and all of its dependencies
We can use the following command to remove libetpan-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libetpan-dev
Dependencies
libetpan-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libetpan-dev package on Debian 9 using different package management tools: apt, apt-get and aptitude.