How To Install python-myghty on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python-myghty on Ubuntu 18.04.
What is python-myghty
python-myghty is:
Myghty is a Python based templating framework originally based on HTML::Mason, the enterprise-level framework used by Amazon.com, del.icio.us and Salon.com, among many others. Myghty fully implements Mason’s templating language, component-based architecture, and caching system, and goes beyond, adding new paradigms such the Module Components controller paradigm, full Python whitespace syntax, threading support, WSGI support, session support, and much more.
There are three methods to install python-myghty on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install python-myghty Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install python-myghty using apt-get by running the following command:
sudo apt-get -y install python-myghty
Install python-myghty Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install python-myghty using apt by running the following command:
sudo apt -y install python-myghty
Install python-myghty Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.
sudo aptitude update
After updating apt database, We can install python-myghty using aptitude by running the following command:
sudo aptitude -y install python-myghty
How To Uninstall python-myghty on Ubuntu 18.04
To uninstall only the python-myghty package we can use the following command:
sudo apt-get remove python-myghty
Uninstall python-myghty And Its Dependencies
To uninstall python-myghty and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python-myghty
Remove python-myghty Configurations and Data
To remove python-myghty configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python-myghty
Remove python-myghty configuration, data, and all of its dependencies
We can use the following command to remove python-myghty configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-myghty
References
Summary
In this tutorial we learn how to install python-myghty package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.