How to install and run Scilab manually?

30,642

Solution 1

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

Solution 2

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.

Solution 3

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
Share:
30,642
Hamed Kamrava
Author by

Hamed Kamrava

Updated on September 18, 2022

Comments

  • Hamed Kamrava
    Hamed Kamrava over 1 year

    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:

    /home/scilab-5.4.1

    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
    
    • Hamed Kamrava
      Hamed Kamrava almost 11 years
      Does't change ! same error :(
    • Hamed Kamrava
      Hamed Kamrava almost 11 years
      I don't understand your mean ! Because i'm newbie :) usr/local/src/ is empty! There is no configure directory !
    • gosalia
      gosalia almost 11 years
      Why dont you install it with sudo apt-get install scilab?
    • Hamed Kamrava
      Hamed Kamrava almost 11 years
      Ubuntu repository Scilab is't update :( Ver 3.5.5
    • Hamed Kamrava
      Hamed Kamrava almost 11 years
      Any suggestion.. ?
    • Rinzwind
      Rinzwind almost 11 years
      I disagree: the version in USC is up to date to the latest -stable- release. And it is not 3.5.5: packagename in Ubuntu is scilab-cli 5.4.1-1~exp1.
    • Hamed Kamrava
      Hamed Kamrava almost 11 years
      @Rinzwind, Your right, I'd mistake...
    • Admin
      Admin over 10 years
      mine didn't open so i tried to type on terminal sudo scilab then my password, then it worked
    • Samuel Lelièvre
      Samuel Lelièvre about 6 years
      Note the typo in the first set of commands: scalib for scilab. If you downloaded binaries, no need to run configure and make. If you downloaded the source, instead of configure, run ./configure. If either case, once you have the Scilab binaries of once you have built Scilab from sources, after cd scilab-x.y.z and cd bin, you need ./scilab instead of just scilab. Or, better, from anywhere, type /home/scilab-x.y.z/bin/scilab. Even better, create a symbolic link: sudo ln -s /home/scilab-x.y.z/bin/scilab /usr/local/bin and then just run scilab from anywhere.
  • Daniele Santi
    Daniele Santi over 5 years
    Hello and welcome to AskUbuntu! Care to improve your answer a little? Can you explain what those commands do and how they solve the problem?