How To Install libdynamite-dev on Ubuntu 18.04

In this tutorial we learn how to install libdynamite-dev on Ubuntu 18.04. libdynamite-dev is PKWARE Data Compression decompressor library - development files

Introduction

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

What is libdynamite-dev

libdynamite-dev is:

The dynamite library is needed by tools to be capable of squeezing out juicy .cab files from self-extracting installation programs created by the Setup Factory installation program.

This package contains development files for libdynamite.

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

sudo apt-get -y install libdynamite-dev

Install libdynamite-dev Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdynamite-dev

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

sudo aptitude -y install libdynamite-dev

How To Uninstall libdynamite-dev on Ubuntu 18.04

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

sudo apt-get remove libdynamite-dev

Uninstall libdynamite-dev And Its Dependencies

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

sudo apt-get -y autoremove libdynamite-dev

Remove libdynamite-dev Configurations and Data

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

sudo apt-get -y purge libdynamite-dev

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

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

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

References

Summary

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