How To Install lrzip on Ubuntu 20.04
Introduction
In this tutorial we learn how to install lrzip
on Ubuntu 20.04.
What is lrzip
lrzip is:
A compression program that can achieve very high compression ratios and speed when used with large files. It uses the combined compression algorithms of zpaq and lzma for maximum compression, lzo for maximum speed, and the long range redundancy reduction of rzip. It is designed to scale with increases with RAM size, improving compression further. A choice of either size or speed optimizations allows for either better compression than even lzma can provide, or better speed than gzip, but with bzip2 sized compression levels.
There are three methods to install lrzip
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 lrzip Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install lrzip
using apt-get
by running the following command:
sudo apt-get -y install lrzip
Install lrzip Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install lrzip
using apt
by running the following command:
sudo apt -y install lrzip
Install lrzip 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 lrzip
using aptitude
by running the following command:
sudo aptitude -y install lrzip
How To Uninstall lrzip on Ubuntu 20.04
To uninstall only the lrzip
package we can use the following command:
sudo apt-get remove lrzip
Uninstall lrzip And Its Dependencies
To uninstall lrzip
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove lrzip
Remove lrzip Configurations and Data
To remove lrzip
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge lrzip
Remove lrzip configuration, data, and all of its dependencies
We can use the following command to remove lrzip
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge lrzip
References
Summary
In this tutorial we learn how to install lrzip
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.