How To Install libpff-dev on Ubuntu 20.04

In this tutorial we learn how to install libpff-dev on Ubuntu 20.04. libpff-dev is library to access various ms outlook files formats (development)

Introduction

In this tutorial we learn how to install libpff-dev on Ubuntu 20.04.

What is libpff-dev

libpff-dev is:

Libpff is a library to access Personal Folder File (PFF) and Offline Folder File (OFF) formats. Those files formats are used by MS Outlook in PAB (Personal Address Book), PST (Personal Storage Table) and OST (Offline Storage Table) files.

This package contains the development files.

There are three methods to install libpff-dev 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 libpff-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 libpff-dev using apt-get by running the following command:

sudo apt-get -y install libpff-dev

Install libpff-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpff-dev

Install libpff-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 Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libpff-dev using aptitude by running the following command:

sudo aptitude -y install libpff-dev

How To Uninstall libpff-dev on Ubuntu 20.04

To uninstall only the libpff-dev package we can use the following command:

sudo apt-get remove libpff-dev

Uninstall libpff-dev And Its Dependencies

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

sudo apt-get -y autoremove libpff-dev

Remove libpff-dev Configurations and Data

To remove libpff-dev configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge libpff-dev

Remove libpff-dev configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpff-dev

References

Summary

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