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
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:
After the installation was done, I searched for scilab in dash, and clicked on it
After I clicked on it, it opened, and I checked the version, and it was 5.4.1
Hope that helps.
Your terminal command should work, but with the following change:
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:
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:
Hope this helps.
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 6.0.0
You can also just download the version for linux and simply click the binary in
scilab/bin/scilab
. It should work.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
and
x86_64
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
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 PackageStep 5: For running Scilab use the following command
/usr/local/scilab/scilab-6.0.0/bin
./scilab
Make scilab launcher for scilab-6.0.0. Open the terminal and type:
Paste this in nano text editor:
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.
Ubuntu 18.04