scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Octave; qtOctave; Scilab; and Co, How to install MATLAB alternatives
BrEin
 Posted: Jun 18 2013, 02:15 PM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 2555
Joined: 18-June 13









Hi Guys,

I'm very familar with Linux. I'm not a developer or an expert, but I use it for a long time.
So, during my work (Bachelor thesis) I have to do a lot of calculations and plots. For such purposes I use Octave very often.

I had to install a new Linux as working environement. I thought, which Linux could be the best for scientific purposes - Scientific Linux!
So I installed version 6.4, made all updates and found exactly 0 entries in the repos for 'octave'. Why?

Did I make some missassumptions? What does 'Scientific' in the name stands for? blink.gif

Is there any proper way to install octave on SL? Additional with an environement like qtoctave and that fancy Scilab?

Thank you very much
Fabian

PMEmail Poster
^
tux99
 Posted: Jun 18 2013, 03:05 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1253
Member No.: 224
Joined: 28-May 11









QUOTE (BrEin @ Jun 18 2013, 03:15 PM)

Did I make some missassumptions? What does 'Scientific' in the name stands for?  blink.gif


SL is a rebuild of RHEL, which is a geared towards servers and to a minor degree business desktops.

SL is called 'scientific' because it's used by CERN and Fermilab as their base OS on which they then install scientific apps from custom and/or third party repos.

octave is available in epel, just install the 'epel-release' package and then install octave.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
BrEin
 Posted: Jun 19 2013, 09:02 AM
Quote Post


SLF Newbie


Group: Members
Posts: 2
Member No.: 2555
Joined: 18-June 13









Hey tux99,

thanks to your answer.
OK, it's called scientific, because it is used by scientists and not made for scientists.

But I still will try it out.
Unfortunately, octave is still not available.
EPEL ist installed:
user posted image
Octave is not found:
user posted image
So I whatched the repo list and saw, EPEL ist unchecked:
user posted image
But what ever I do, EPEL is never getting checked. When I click on it and authorise that process it is running, waiting,starting, but finally it is not checked. Why?

What do I wrong or missunderstand?

Thank you very much.
Fabian

(Sorry for that image hoster. )
PMEmail Poster
^
tux99
 Posted: Jun 19 2013, 12:54 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1253
Member No.: 224
Joined: 28-May 11









I don't know what's wrong with the GUI tool (I never use it) but you might solve this quicker by using the command line.

Check the config file /etc/yum.repos.d/epel.repo and see if the [epel] repo entry has enabled=1, if not then edit it to change it to '1'.

Then run yum install octave

All this needs to be done as 'root' user of course.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
joka
 Posted: Jun 19 2013, 04:24 PM
Quote Post


SLF Geek
****

Group: Members
Posts: 161
Member No.: 107
Joined: 28-April 11









Seems to me that the package epel-release-6.5 is the problem. It is not the original repository configuration of EPEL, but an outdated package of the SL base repository:
CODE
# yum list --showduplicates epel-release
Loaded plugins: protectbase, refresh-packagekit, remove-with-leaves, security
120 packages excluded due to repository protections
Installed Packages
epel-release.noarch              6-8               @/epel-release-6-8.noarch/6.3
Available Packages
epel-release.noarch              6-5               sl

I.M.H.O this should be reported as bug to SL.

Install the correct epel-release package, e.g by the following yum command (as root):
CODE
yum localinstall http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

and try again. In case you still have problems read also http://scientificlinuxforum.org/index.php?showtopic=2138&hl=epel
PM
^
tux99
 Posted: Jun 19 2013, 04:33 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1253
Member No.: 224
Joined: 28-May 11









QUOTE (joka @ Jun 19 2013, 05:24 PM)
Seems to me that the package epel-release-6.5 is the problem.


Interesting, I hadn't noticed that, but IMHO that's not the problem, I also have the epel-release-6.5 installed and I can install octave just fine (this is on my buildbox where epel is disabled by default):

CODE
[root@localhost rpm]#  rpm -qa|grep epel
epel-release-6-5.noarch
[root@localhost rpm]# yum --enablerepo=epel install octave
Loaded plugins: refresh-packagekit, security
epel/metalink                                                                                              |  19 kB     00:00
epel                                                                                                       | 4.2 kB     00:00
epel/primary_db                                                                                            | 5.3 MB     00:11
linuxtech-release                                                                                          | 2.6 kB     00:00
sl6x                                                                                                       | 3.7 kB     00:00
Not using downloaded repomd.xml because it is older than what we have:
 Current   : Thu Mar 28 21:25:31 2013
 Downloaded: Fri Mar 22 18:10:26 2013
sl6x-fastbugs                                                                                              | 3.0 kB     00:00
sl6x-security                                                                                              | 3.0 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package octave.x86_64 6:3.4.3-1.el6 will be installed
--> Processing Dependency: gnuplot-common for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: gnuplot for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libumfpack.so.5()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libqrupdate.so.1()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libqhull.so.5()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libhdf5.so.6()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libglpk.so.0()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libcxsparse.so.2()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libcolamd.so.2()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libcholmod.so.1()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libccolamd.so.2()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libcamd.so.2()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libamd.so.2()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libGraphicsMagick.so.3()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Processing Dependency: libGraphicsMagick++.so.3()(64bit) for package: 6:octave-3.4.3-1.el6.x86_64
--> Running transaction check
---> Package GraphicsMagick.x86_64 0:1.3.17-1.el6 will be installed
---> Package GraphicsMagick-c++.x86_64 0:1.3.17-1.el6 will be installed
---> Package glpk.x86_64 0:4.40-1.1.el6 will be installed
---> Package gnuplot.x86_64 0:4.2.6-2.el6 will be installed
---> Package gnuplot-common.x86_64 0:4.2.6-2.el6 will be installed
---> Package hdf5.x86_64 0:1.8.5.patch1-7.el6 will be installed
---> Package qhull.x86_64 0:2003.1-14.el6 will be installed
---> Package qrupdate.x86_64 0:1.1.2-1.el6 will be installed
--> Processing Dependency: libblas.so.3()(64bit) for package: qrupdate-1.1.2-1.el6.x86_64
---> Package suitesparse.x86_64 0:3.4.0-7.el6 will be installed
--> Running transaction check
---> Package blas.x86_64 0:3.2.1-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=========================================================================
Package                              Arch                     Version                               Repository              Size
=========================================================================
Installing:
octave                               x86_64                   6:3.4.3-1.el6                         epel                   9.1 M
Installing for dependencies:
GraphicsMagick                       x86_64                   1.3.17-1.el6                          epel                   2.2 M
GraphicsMagick-c++                   x86_64                   1.3.17-1.el6                          epel                   103 k
blas                                 x86_64                   3.2.1-4.el6                           sl6x                   320 k
glpk                                 x86_64                   4.40-1.1.el6                          sl6x                   358 k
gnuplot                              x86_64                   4.2.6-2.el6                           sl6x                   472 k
gnuplot-common                       x86_64                   4.2.6-2.el6                           sl6x                   554 k
hdf5                                 x86_64                   1.8.5.patch1-7.el6                    epel                   1.4 M
qhull                                x86_64                   2003.1-14.el6                         epel                   347 k
qrupdate                             x86_64                   1.1.2-1.el6                           epel                    79 k
suitesparse                          x86_64                   3.4.0-7.el6                           sl6x                   776 k

Transaction Summary
===========================================================================
Install      11 Package(s)

Total download size: 16 M
Installed size: 68 M
Is this ok [y/N]:      


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories)
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll