How To Install libafflib-dev on Ubuntu 18.04

In this tutorial we learn how to install libafflib-dev on Ubuntu 18.04. libafflib-dev is Advanced Forensics Format Library (development files)

Introduction

In this tutorial we learn how to install libafflib-dev on Ubuntu 18.04.

What is libafflib-dev

libafflib-dev is:

The Advanced Forensic Format (AFF) is on-disk format for storing computer forensic information. Critical features of AFF include:

  • AFF allows you to store both computer forensic data and associated metadata in one or more files.
  • AFF allows files to be digital signed, to provide for chain-of-custody and long-term file integrity.
  • AFF allows for forensic disk images to stored encrypted and decrypted on-the-fly for processing. This allows disk images containing privacy sensitive material to be stored on the Internet.

This package provides the development files.

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

sudo apt-get -y install libafflib-dev

Install libafflib-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libafflib-dev

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

sudo aptitude -y install libafflib-dev

How To Uninstall libafflib-dev on Ubuntu 18.04

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

sudo apt-get remove libafflib-dev

Uninstall libafflib-dev And Its Dependencies

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

sudo apt-get -y autoremove libafflib-dev

Remove libafflib-dev Configurations and Data

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

sudo apt-get -y purge libafflib-dev

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

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

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

References

Summary

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