How To Install printer-driver-ptouch on Ubuntu 20.04
Introduction
In this tutorial we learn how to install printer-driver-ptouch
on Ubuntu 20.04.
What is printer-driver-ptouch
printer-driver-ptouch is:
The ptouch driver is an open source driver for the Brother P-touch label printers, from the QL-* and PT-* series. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop
There are three methods to install printer-driver-ptouch
on Ubuntu 20.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 printer-driver-ptouch Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install printer-driver-ptouch
using apt-get
by running the following command:
sudo apt-get -y install printer-driver-ptouch
Install printer-driver-ptouch Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install printer-driver-ptouch
using apt
by running the following command:
sudo apt -y install printer-driver-ptouch
Install printer-driver-ptouch 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 printer-driver-ptouch
using aptitude
by running the following command:
sudo aptitude -y install printer-driver-ptouch
How To Uninstall printer-driver-ptouch on Ubuntu 20.04
To uninstall only the printer-driver-ptouch
package we can use the following command:
sudo apt-get remove printer-driver-ptouch
Uninstall printer-driver-ptouch And Its Dependencies
To uninstall printer-driver-ptouch
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove printer-driver-ptouch
Remove printer-driver-ptouch Configurations and Data
To remove printer-driver-ptouch
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge printer-driver-ptouch
Remove printer-driver-ptouch configuration, data, and all of its dependencies
We can use the following command to remove printer-driver-ptouch
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge printer-driver-ptouch
References
Summary
In this tutorial we learn how to install printer-driver-ptouch
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.