How To Install scilab-cli on Ubuntu 18.04

In this tutorial we learn how to install scilab-cli on Ubuntu 18.04. scilab-cli is Scientific software package - Command Line Interpreter

Introduction

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

What is scilab-cli

scilab-cli is:

Scilab is a matrix-based scientific software package. Scilab contains hundreds of built-in mathematical functions, rich data structures (including polynomials, rationals, linear systems, lists, etc…) and comes with a number of specific toolboxes for control, signal processing, …

This package provides Scilab as Command Line Interpreter (CLI). This package provides Scilab as a computing engine or script interpreter. Please install the package “scilab” to have all features.

There are three methods to install scilab-cli 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-cli 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-cli using apt-get by running the following command:

sudo apt-get -y install scilab-cli

Install scilab-cli Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install scilab-cli

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

sudo aptitude -y install scilab-cli

How To Uninstall scilab-cli on Ubuntu 18.04

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

sudo apt-get remove scilab-cli

Uninstall scilab-cli And Its Dependencies

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

sudo apt-get -y autoremove scilab-cli

Remove scilab-cli Configurations and Data

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

sudo apt-get -y purge scilab-cli

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

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

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

References

Summary

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