How To Install 0install on Kali Linux
Introduction
In this tutorial we learn how to install 0install on Kali Linux.
What is 0install
0install is:
Zero Install is a decentralised cross-distribution software installation system available under the LGPL. It allows software developers to publish programs directly from their own web-sites, while supporting features familiar from centralised distribution repositories such as shared libraries, automatic updates and digital signatures. It is intended to complement, rather than replace, the operating system’s package management. 0install packages never interfere with those provided by the distribution.
This package includes the GTK GUI for 0install. If you have a headless system, install just the 0install-core package to avoid pulling in any GUI dependencies.
There are three methods to install 0install on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install 0install Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install 0install using apt-get by running the following command:
sudo apt-get -y install 0installInstall 0install Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install 0install using apt by running the following command:
sudo apt -y install 0installInstall 0install Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install 0install using aptitude by running the following command:
sudo aptitude -y install 0installHow To Uninstall 0install on Kali Linux
To uninstall only the 0install package we can use the following command:
sudo apt-get remove 0installUninstall 0install And Its Dependencies
To uninstall 0install and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove 0installRemove 0install Configurations and Data
To remove 0install configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge 0installRemove 0install configuration, data, and all of its dependencies
We can use the following command to remove 0install configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge 0installDependencies
0install have the following dependencies:
- 0install-core
- libgtk-3-0
- libc6
- libcairo2
- libfontconfig1
- libfreetype6
- libgdk-pixbuf2.0-0
- libglib2.0-0
- libpango-1.0-0
- libpangocairo-1.0-0
References
Summary
In this tutorial we learn how to install 0install package on Kali Linux using different package management tools: apt, apt-get and aptitude.