How To Install libzzip-dev on Ubuntu 20.04
Introduction
In this tutorial we learn how to install libzzip-dev
on Ubuntu 20.04.
What is libzzip-dev
libzzip-dev is:
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.
This package contains the header files and static library needed to compile applications that use zziplib.
There are three methods to install libzzip-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 libzzip-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 libzzip-dev
using apt-get
by running the following command:
sudo apt-get -y install libzzip-dev
Install libzzip-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libzzip-dev
using apt
by running the following command:
sudo apt -y install libzzip-dev
Install libzzip-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 libzzip-dev
using aptitude
by running the following command:
sudo aptitude -y install libzzip-dev
How To Uninstall libzzip-dev on Ubuntu 20.04
To uninstall only the libzzip-dev
package we can use the following command:
sudo apt-get remove libzzip-dev
Uninstall libzzip-dev And Its Dependencies
To uninstall libzzip-dev
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove libzzip-dev
Remove libzzip-dev Configurations and Data
To remove libzzip-dev
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge libzzip-dev
Remove libzzip-dev configuration, data, and all of its dependencies
We can use the following command to remove libzzip-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libzzip-dev
References
Summary
In this tutorial we learn how to install libzzip-dev
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.