How To Install python3-empy on Kali Linux
Introduction
In this tutorial we learn how to install python3-empy on Kali Linux.
What is python3-empy
python3-empy is:
EmPy is a system for embedding Python expressions and statements in template text; it takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, ‘@’). EmPy can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are “hook” callbacks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.
This is the Python 3 version of the package. This version installs the empy executable under the name “empy3”
There are three methods to install python3-empy 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 python3-empy Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install python3-empy using apt-get by running the following command:
sudo apt-get -y install python3-empyInstall python3-empy Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install python3-empy using apt by running the following command:
sudo apt -y install python3-empyInstall python3-empy 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 python3-empy using aptitude by running the following command:
sudo aptitude -y install python3-empyHow To Uninstall python3-empy on Kali Linux
To uninstall only the python3-empy package we can use the following command:
sudo apt-get remove python3-empyUninstall python3-empy And Its Dependencies
To uninstall python3-empy and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove python3-empyRemove python3-empy Configurations and Data
To remove python3-empy configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge python3-empyRemove python3-empy configuration, data, and all of its dependencies
We can use the following command to remove python3-empy configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-empyDependencies
python3-empy have the following dependencies:
References
Summary
In this tutorial we learn how to install python3-empy package on Kali Linux using different package management tools: apt, apt-get and aptitude.