How To Install xplot on Ubuntu 18.04

In this tutorial we learn how to install xplot on Ubuntu 18.04. xplot is simple on-screen x-y column data plotter

Introduction

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

What is xplot

xplot is:

XPlot is a small program to plot one- or two-dimensional datasets, which are present either in a file or are generated on-the-fly' and piped to XPlot. XPlot lets you display one or more datasets and lets you zoom to different sections of the sets. Also. blowups’ of the currently shown portion of the data can be made.

XPlot is meant for on-screen data exploration. It does not have a print button, nor is it meant for final output or publication-quality figures.

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

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

sudo apt-get update

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

sudo apt-get -y install xplot

Install xplot Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install xplot

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

sudo aptitude -y install xplot

How To Uninstall xplot on Ubuntu 18.04

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

sudo apt-get remove xplot

Uninstall xplot And Its Dependencies

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

sudo apt-get -y autoremove xplot

Remove xplot Configurations and Data

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

sudo apt-get -y purge xplot

Remove xplot configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge xplot

References

Summary

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