How To Install octave on Kali Linux
Introduction
In this tutorial we learn how to install octave on Kali Linux.
What is octave
octave is:
Octave is a (mostly MATLAB? compatible) high-level language, primarily intended for numerical computations. It provides a convenient command-line interface for solving linear and nonlinear problems numerically.
Octave can be dynamically extended with user-supplied C++ files.
There are three methods to install 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 octave Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install octave using apt-get by running the following command:
sudo apt-get -y install octaveInstall octave Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install octave using apt by running the following command:
sudo apt -y install octaveInstall 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 octave using aptitude by running the following command:
sudo aptitude -y install octaveHow To Uninstall octave on Kali Linux
To uninstall only the octave package we can use the following command:
sudo apt-get remove octaveUninstall octave And Its Dependencies
To uninstall octave and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove octaveRemove octave Configurations and Data
To remove octave configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge octaveRemove octave configuration, data, and all of its dependencies
We can use the following command to remove octave configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge octaveDependencies
octave have the following dependencies:
- libbz2-1.0
- libc6
- libfftw3-double3
- libfftw3-single3
- libfltk-gl1.3
- libfltk1.3
- libgcc-s1
- libgl1
- libglpk40
- liboctave8
- libportaudio2
- libqhull8.0
- libqscintilla2-qt5-15
- libqt5core5a
- libqt5gui5
- libqt5help5
- libqt5network5
- libqt5printsupport5
- libqt5widgets5
- libqt5xml5
- libsndfile1
- libstdc++6
- libsundials-ida4
- libsundials-sunlinsol2
- libx11-6
- zlib1g
References
Summary
In this tutorial we learn how to install octave package on Kali Linux using different package management tools: apt, apt-get and aptitude.