How To Install oz on Kali Linux
Introduction
In this tutorial we learn how to install oz on Kali Linux.
What is oz
oz is:
Oz is a tool for automatically installing guest OSs with only minimal up-front input from the user.
For each type of guest operating system, Oz supports up to three operations: operating system installation (oz-install), operating system customization (oz-customize), and ICICLE manifest generation (oz-generate-icicle).
Currently many versions of popular operating systems are supported, including Debian, Ubuntu, RHEL/CentOS, Fedora, openSUSE, Mandrake, and FreeBSD. See also virt-install(1) and virt-builder(1) from the virtinst and libguestfs-tools packages.
There are three methods to install oz 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 oz Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install oz using apt-get by running the following command:
sudo apt-get -y install ozInstall oz Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install oz using apt by running the following command:
sudo apt -y install ozInstall oz 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 oz using aptitude by running the following command:
sudo aptitude -y install ozHow To Uninstall oz on Kali Linux
To uninstall only the oz package we can use the following command:
sudo apt-get remove ozUninstall oz And Its Dependencies
To uninstall oz and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ozRemove oz Configurations and Data
To remove oz configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ozRemove oz configuration, data, and all of its dependencies
We can use the following command to remove oz configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ozDependencies
oz have the following dependencies:
- genisoimage
- libvirt-dev
- mtools
- openssh-client
- python3
- python3-guestfs
- python3-libvirt
- python3-lxml
- python3-m2crypto
- python3-monotonic
- python3-pycurl
- python3-requests
- python3
References
Summary
In this tutorial we learn how to install oz package on Kali Linux using different package management tools: apt, apt-get and aptitude.