Ubuntu: How to install and run Scilab manually?


Firstly, I saw topics such as 'How to install manually a software...' but it did not solve my problem. I've downloaded Scilab 5.4.1 from the official website and I extracted the .tar.gz file into:


I then tried the commands below, but they gave several errors:

$ cd scalib-5.4.1  $ configure        @1  $ make             @2  $ make install     @3  

these gave the following messages in the terminal:

@1: configure: command not found  @2: make: *** No targets specified and no makefile found.  Stop.  @3: make: *** No rule to make target `install'.  Stop.  

I tried following commands:

$ cd scilab-5.4.1  $ cd bin  $ scilab  

which gave the message:

The program 'scilab' is currently not installed.  You can install it  by typing: sudo apt-get install scilab  


Ok, I just tried installing it, an it worked OK. Here what I did: To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install scilab  

After the installation was done, I searched for scilab in dash, and clicked on it

enter image description here

After I clicked on it, it opened, and I checked the version, and it was 5.4.1

Hope that helps.

enter image description here


Your terminal command should work, but with the following change:

$ cd scilab-5.4.1  $ cd bin  $ ./scilab  

Note the "dot-slash" before "scilab". "Dot" is the current working directory. Your shell was looking for scilab in all of the directories in your PATH environment variable, and not finding it, suggested that you needed to install the package. Do:

echo $PATH  

on the command line and you will see which directories are searched.

This is a really common mistake - after a while, including the dot-slash will be second nature. Note you can also include the path structure in the command line launch:

$ cd scilab-5.4.1  $ ./bin/scilab  

Hope this helps.


You can also just download the version for linux and simply click the binary in scilab/bin/scilab. It should work.


Ubuntu 16.04 LTS:

Once you have downloaded scilab, go to directory in terminal by pressing Crtl + Alt + T, Unzip the package, go to the directory containing scilab. Go to bin and run the command

$ ./scilab    

Scilab 6.0.0

enter image description here

akhilesh_k@akhilesh:~/Programs$ cd sc*  akhilesh_k@akhilesh:~/Programs/scilab-6.0.0$ cd bin  akhilesh_k@akhilesh:~/Programs/scilab-6.0.0/bin$ ./scilab  


Installing Scilab manually

Step 1: Open Terminal ctrl+alt+T

Step 2: Check the architecture of your system

Use the command

uname -m

You will typically get:

i686 / i586 / i386

for 32-bit



for 64-bit.

This helps you to choose the right scilab software for you. Now go to scilab download page Depending upon the type of architecture you need to download the right package for you. Mine is 32 bit

enter image description here

most probably the software you download is generally downloaded in the following directory /home/<your user name>/Downloads

Step 3: Now once again open the terminal. Enter the following commands

cd /usr/local/

mkdir scilab

This creates a scilab folder. It is here you are going to install the package. if you wish you can choose some other place also

cd /home/<your user name>/Downloads

cp **Your Scilab Package** /usr/local/scilab

cd /usr/local/scilab

Step 4: Extract the package by using the following command

tar -xvzf **Your Scilab Package.tar.gz** rm **Your Scilab Package.tar.gz** This will remove the scilab Package

Step 5: For running Scilab use the following command



enter image description here


Make scilab launcher for scilab-6.0.0. Open the terminal and type:

sudoedit /usr/share/applications/scilab.desktop  

Paste this in nano text editor:

[Desktop Entry]  Version=6.0.0  Name=Scilab  Comment=Scientific software package for numerical computations  NoDisplay=false  Exec=env UBUNTU_MENUPROXY=0 /usr/local/scilab-6.0.0/bin/scilab  Icon=/usr/local/scilab-6.0.0/share/icons/hicolor/48x48/apps/scilab.png  Terminal=false  Type=Application  Categories=Application;Development;IDE  

Now save and close nano text editor. Press the keyboard combination Ctrl+O and after that press Enter to save the file being edited in nano to its current location. Press the keyboard combination Ctrl+X to exit nano.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »