How To Install python-nevow on Debian 10
Introduction
In this tutorial we learn how to install python-nevow
on Debian 10.
What is python-nevow
python-nevow is:
Nevow’s main focus is on separating the HTML template from both the business logic and the display logic, while allowing the programmer to write pure Python code as much as possible. It separates your code into ‘data’ and ‘render’ functions, a simplified implementation of traditional MVC. It has various parts which can be used individually or as a whole, integrated web solution:
- XHTML templates: contain no programming logic, only nodes tagged with nevow attributes
- data/render methods: simplified MVC
- stan: An s-expression-like syntax for expressing xml in pure Python
- formless: For describing the types of objects which may be passed to methods of your classes, validating and coercing string input from either web or command-line sources, and calling your methods automatically once validation passes
- freeform: For rendering web forms based on formless type descriptions, accepting form posts and passing them to formless validators, and rendering error forms in the event validation fails
- livepage: Cross-browser JavaScript glue for sending client side events to the server and server side events to the client after the page has loaded, without causing the entire page to refresh
There are three methods to install python-nevow
on Debian 10. 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-nevow 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-nevow
using apt-get
by running the following command:
sudo apt-get -y install python-nevow
Install python-nevow Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-nevow
using apt
by running the following command:
sudo apt -y install python-nevow
Install python-nevow 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 Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install python-nevow
using aptitude
by running the following command:
sudo aptitude -y install python-nevow
How To Uninstall python-nevow on Debian 10
To uninstall only the python-nevow
package we can use the following command:
sudo apt-get remove python-nevow
Uninstall python-nevow And Its Dependencies
To uninstall python-nevow
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove python-nevow
Remove python-nevow Configurations and Data
To remove python-nevow
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge python-nevow
Remove python-nevow configuration, data, and all of its dependencies
We can use the following command to remove python-nevow
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-nevow
Dependencies
python-nevow have the following dependencies:
References
Summary
In this tutorial we learn how to install python-nevow
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.