I have installed clean Ubuntu MATE 18.04 LTS and installed Scilab from repository here with
sudo apt-get update
sudo apt-get install scilab
After installation I tried to launch it from GUI (Applications → Other → Scilab) - it does not start.
Then I tried to launch it from terminal with scilab
command. Terminal output is as follows:
$ scilab
/usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
so it can't find Java. I reported bug 1762999 about this problem.
I checked existence of libjava.so
:
$ dpkg -S libjava.so
openjdk-11-jre-headless:amd64: /usr/lib/jvm/java-11-openjdk-amd64/lib/libjava.so
so it is in place.
What should I do to get Scilab 6.0.1 working on Ubuntu 18.04 LTS?
* Repository-based method (Scilab works, ATOMS does not work)
Update 2021-09-30.
Nowadays Scilab is working again, installable by
sudo apt-get install scilab
. ATOMS still does not work because of bug 1765503.* Binary download method (fully-functional, seems to be really recommended)
So if you need fully-functional Scilab you should remove deb-packaged version with
and use latest binary archive 6.1.1 from official site and run the commands below (download, extract, add to PATH, set shortcuts and MIME-association):
The ATOMS and other components will work as expected. Do not forget to install
build-essential
package to run Xcos Modelica simulations.* Flatpak method
Currently Scilab 6.1.1 is available from Flathub.
To install use command below:
To run use its shortcuts or command below:
* AppImage download method (fully-functional)
We need to download the latest release from corresponding page or manually:
and then add it to PATH with
As the result you will get Scilab working. But there is no MIME associations (yet).
If you want to get Scilab 5.5.2 working on Ubuntu 18.04.5 LTS see other answer. But be careful with
libcurl4
removal!I followed these steps to run scilab on (x)ubuntu 18.04 (Bionic Beaver):
Install openjdk8 via:
Enter this command via terminal to open SciLab-GUI:
jlatexmath
warning)it's (the GUI and all of it's features) running without any problems including XCos (very good Simulink alternative).
By pressing enter I just skipped the warning
If you don't need it, just don't install it.
Following the answer to a question raised in https://bugs.mageia.org/show_bug.cgi?id=15390, I am able to run SCILAB 6.0.2 (debian package) without the error ("libjava.so: cannot open shared object file: No such file or directory").
It seems SCILAB 6.0.2 requires OpenJDK 11. I just added the path of the installed java to the
.bashrc
file:The
scilab
GUI works fine for now, however, there are few minor errors.