How To Install extrace on Kali Linux
Introduction
In this tutorial we learn how to install extrace on Kali Linux.
What is extrace
extrace is:
extrace traces all program executions happening on a system, or the subset of program executions done by a given process and its descendants. For example, to see what the shell really executes:
$ sudo extrace -p $(pidof zsh)
8505 git rev-parse –is-inside-work-tree
8506 direnv export zsh
8511 git rev-parse –is-inside-work-tree
8515 wc -l
8516 whoami
8542 hostname
8543 git rev-parse –is-inside-work-tree
8544 direnv export zsh
8549 /bin/bash –noprofile –norc -c ’eval “$("/usr/bin/direnv” stdlib)" >&2
&& source_env “.envrc” >&2 && “/usr/bin/direnv” dump'
8551 /usr/bin/direnv stdlib
8558 /usr/bin/direnv watch .envrc
8565 dirname .envrc
8567 basename .envrc
8569 basename .envrc
8549 /usr/bin/direnv dump
8574 git rev-parse –is-inside-work-tree
8578 wc -l
8579 whoami
There are three methods to install extrace 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 extrace Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install extrace using apt-get by running the following command:
sudo apt-get -y install extraceInstall extrace Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install extrace using apt by running the following command:
sudo apt -y install extraceInstall extrace 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 extrace using aptitude by running the following command:
sudo aptitude -y install extraceHow To Uninstall extrace on Kali Linux
To uninstall only the extrace package we can use the following command:
sudo apt-get remove extraceUninstall extrace And Its Dependencies
To uninstall extrace and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove extraceRemove extrace Configurations and Data
To remove extrace configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge extraceRemove extrace configuration, data, and all of its dependencies
We can use the following command to remove extrace configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge extraceDependencies
extrace have the following dependencies:
References
Summary
In this tutorial we learn how to install extrace package on Kali Linux using different package management tools: apt, apt-get and aptitude.