How To Install scilab-plotlib on Ubuntu 18.04

In this tutorial we learn how to install scilab-plotlib on Ubuntu 18.04. scilab-plotlib is Matlab-like Plotting library for Scilab

Introduction

In this tutorial we learn how to install scilab-plotlib on Ubuntu 18.04.

What is scilab-plotlib

scilab-plotlib is:

This toolbox is providing plotting capabilities in the Scilab language. Plotlib functions matches the one from Matlab and therefor is dedicated to users switching from Matlab to Scilab.

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

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

sudo apt-get update

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

sudo apt-get -y install scilab-plotlib

Install scilab-plotlib Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install scilab-plotlib

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

sudo aptitude -y install scilab-plotlib

How To Uninstall scilab-plotlib on Ubuntu 18.04

To uninstall only the scilab-plotlib package we can use the following command:

sudo apt-get remove scilab-plotlib

Uninstall scilab-plotlib And Its Dependencies

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

sudo apt-get -y autoremove scilab-plotlib

Remove scilab-plotlib Configurations and Data

To remove scilab-plotlib configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge scilab-plotlib

Remove scilab-plotlib configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge scilab-plotlib

References

Summary

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