How To Install python-ow on Debian 9
Introduction
In this tutorial we learn how to install python-ow
on Debian 9.
What is python-ow
python-ow is:
The 1-Wire bus is a cheap low-speed bus for devices like weather sensors, access control, etc. It can be attached to your system via serial, USB, I2C, and other interfaces.
Python bindings for the OWFS 1-Wire support library have been produced with SWIG and allow access to libow functions from Python code.
There are three methods to install python-ow
on Debian 9. 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-ow 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-ow
using apt-get
by running the following command:
sudo apt-get -y install python-ow
Install python-ow Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python-ow
using apt
by running the following command:
sudo apt -y install python-ow
Install python-ow 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-ow
using aptitude
by running the following command:
sudo aptitude -y install python-ow
How To Uninstall python-ow on Debian 9
To uninstall only the python-ow
package we can use the following command:
sudo apt-get remove python-ow
Uninstall python-ow And Its Dependencies
To uninstall python-ow
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove python-ow
Remove python-ow Configurations and Data
To remove python-ow
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge python-ow
Remove python-ow configuration, data, and all of its dependencies
We can use the following command to remove python-ow
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python-ow
Dependencies
python-ow have the following dependencies:
References
Summary
In this tutorial we learn how to install python-ow
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.