How To Install dh-octave on Kali Linux
Introduction
In this tutorial we learn how to install dh-octave on Kali Linux.
What is dh-octave
dh-octave is:
Since version 3.0 of Octave (a numerical computation software), add-ons can be installed through the pkg.m system. This package provides the infrastructure for packaging such add-ons for Debian, based on debhelper. It replaces the deprecated octave-pkg-dev package. This package contains debhelper-like scripts for building, checking and cleaning the add-on package as well as for generating the substitution variables in debian/control.
This package is intended to be used by the Debian Octave Group and should be of little interest to general users.
There are three methods to install dh-octave 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 dh-octave Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install dh-octave using apt-get by running the following command:
sudo apt-get -y install dh-octaveInstall dh-octave Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install dh-octave using apt by running the following command:
sudo apt -y install dh-octaveInstall dh-octave 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 dh-octave using aptitude by running the following command:
sudo aptitude -y install dh-octaveHow To Uninstall dh-octave on Kali Linux
To uninstall only the dh-octave package we can use the following command:
sudo apt-get remove dh-octaveUninstall dh-octave And Its Dependencies
To uninstall dh-octave and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove dh-octaveRemove dh-octave Configurations and Data
To remove dh-octave configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge dh-octaveRemove dh-octave configuration, data, and all of its dependencies
We can use the following command to remove dh-octave configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dh-octaveDependencies
dh-octave have the following dependencies:
- liboctave-dev
- debhelper-compat
- cme
- libconfig-model-dpkg-perl
- libparse-debcontrol-perl
- libmime-tools-perl
- libfile-find-rule-perl
- dh-octave-autopkgtest
- perl
References
Summary
In this tutorial we learn how to install dh-octave package on Kali Linux using different package management tools: apt, apt-get and aptitude.