How To Install libsys-mmap-perl on Kali Linux
Introduction
In this tutorial we learn how to install libsys-mmap-perl on Kali Linux.
What is libsys-mmap-perl
libsys-mmap-perl is:
The Mmap module uses the POSIX mmap call to map in a file as a Perl variable. Memory access by mmap may be shared between threads or forked processes, and may be a disc file that has been mapped into memory. Sys::Mmap depends on your operating system supporting UNIX or POSIX.1b mmap, of course.
Note that PerlIO now defines a :mmap tag and presents mmap’d files as regular files, if that is your cup of joe.
Several processes may share one copy of the file or string, saving memory, and concurrently making changes to portions of the file or string. When not used with a file, it is an alternative to SysV shared memory. Unlike SysV shared memory, there are no arbitrary size limits on the shared memory area, and sparce memory usage is handled optimally on most modern UNIX implementations.
There are three methods to install libsys-mmap-perl 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 libsys-mmap-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libsys-mmap-perl using apt-get by running the following command:
sudo apt-get -y install libsys-mmap-perlInstall libsys-mmap-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libsys-mmap-perl using apt by running the following command:
sudo apt -y install libsys-mmap-perlInstall libsys-mmap-perl 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 libsys-mmap-perl using aptitude by running the following command:
sudo aptitude -y install libsys-mmap-perlHow To Uninstall libsys-mmap-perl on Kali Linux
To uninstall only the libsys-mmap-perl package we can use the following command:
sudo apt-get remove libsys-mmap-perlUninstall libsys-mmap-perl And Its Dependencies
To uninstall libsys-mmap-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libsys-mmap-perlRemove libsys-mmap-perl Configurations and Data
To remove libsys-mmap-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libsys-mmap-perlRemove libsys-mmap-perl configuration, data, and all of its dependencies
We can use the following command to remove libsys-mmap-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libsys-mmap-perlDependencies
libsys-mmap-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libsys-mmap-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.