How To Install xpp on Ubuntu 18.04

In this tutorial we learn how to install xpp on Ubuntu 18.04. xpp is X Printing Panel

Introduction

In this tutorial we learn how to install xpp on Ubuntu 18.04.

What is xpp

xpp is:

Graphical substitute for the lp/lpr command. With xpp, you can control every printing option known to the CUPS print system (the cups package). Best results are available with usage of the appropriate PPD file for your printer. Each user can save their own customized printing preferences.

There are three methods to install xpp 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 xpp Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install xpp using apt-get by running the following command:

sudo apt-get -y install xpp

Install xpp Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install xpp using apt by running the following command:

sudo apt -y install xpp

Install xpp 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 xpp using aptitude by running the following command:

sudo aptitude -y install xpp

How To Uninstall xpp on Ubuntu 18.04

To uninstall only the xpp package we can use the following command:

sudo apt-get remove xpp

Uninstall xpp And Its Dependencies

To uninstall xpp and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove xpp

Remove xpp Configurations and Data

To remove xpp configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge xpp

Remove xpp configuration, data, and all of its dependencies

We can use the following command to remove xpp configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge xpp

References

Summary

In this tutorial we learn how to install xpp package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.