How To Install python3-txtftp on Ubuntu 18.04
Introduction
In this tutorial we learn how to install python3-txtftp
on Ubuntu 18.04.
What is python3-txtftp
python3-txtftp is:
A Twisted-based TFTP implementation that implements:
- RFC1350 (base TFTP specification) support.
- Asynchronous backend support.
- netascii transfer mode.
- RFC2347 (TFTP Option Extension) support. blksize (RFC2348) and timeout. (partial support for RFC2349) options are supported.
- An actual TFTP server.
- Plugin for twistd.
There are three methods to install python3-txtftp
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 python3-txtftp Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install python3-txtftp
using apt-get
by running the following command:
sudo apt-get -y install python3-txtftp
Install python3-txtftp Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install python3-txtftp
using apt
by running the following command:
sudo apt -y install python3-txtftp
Install python3-txtftp 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 python3-txtftp
using aptitude
by running the following command:
sudo aptitude -y install python3-txtftp
How To Uninstall python3-txtftp on Ubuntu 18.04
To uninstall only the python3-txtftp
package we can use the following command:
sudo apt-get remove python3-txtftp
Uninstall python3-txtftp And Its Dependencies
To uninstall python3-txtftp
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove python3-txtftp
Remove python3-txtftp Configurations and Data
To remove python3-txtftp
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge python3-txtftp
Remove python3-txtftp configuration, data, and all of its dependencies
We can use the following command to remove python3-txtftp
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge python3-txtftp
References
Summary
In this tutorial we learn how to install python3-txtftp
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.