How To Install libargh-dev on Kali Linux
Introduction
In this tutorial we learn how to install libargh-dev
on Kali Linux.
What is libargh-dev
libargh-dev is:
So many different command line processing libraries out there and none of them just work! Some bring their whole extended family of related and unrelated external dependencies (yes, I’m looking at you Boost). Some require quirky syntax and/or very verbose setups that sacrifice simplicity for the generation of a cute usage message and validation. Many come to dominate your main() file and yet others do not build on multiple platforms - for some even their own tests and trivial usage cause crashes on some systems. Argh!
If you’re writing a highly-sophisticated command line tool, then Boost.Program_options and its kind might give you many advanced options. However, if you need to get up and running quickly, effectively and with minimal fuss, give the single header-file argh a try.
There are three methods to install libargh-dev
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 libargh-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libargh-dev
using apt-get
by running the following command:
sudo apt-get -y install libargh-dev
Install libargh-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libargh-dev
using apt
by running the following command:
sudo apt -y install libargh-dev
Install libargh-dev 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 update
After updating apt database, We can install libargh-dev
using aptitude
by running the following command:
sudo aptitude -y install libargh-dev
How To Uninstall libargh-dev on Kali Linux
To uninstall only the libargh-dev
package we can use the following command:
sudo apt-get remove libargh-dev
Uninstall libargh-dev And Its Dependencies
To uninstall libargh-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libargh-dev
Remove libargh-dev Configurations and Data
To remove libargh-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libargh-dev
Remove libargh-dev configuration, data, and all of its dependencies
We can use the following command to remove libargh-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libargh-dev
Dependencies
libargh-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libargh-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.