LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 10-02-2011, 08:11 PM   #1
sv3456
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Rep: Reputation: Disabled
Question Installing Octave


Hello,

I have a couple of questions regarding Octave. I know some one here can help me.

First, I must say that I know nothing about Octave, but I am taking a machine learning class and it appears that will be using it.

Second, I have Fedora14.c86_64. Octave does not seem to be included in the packages. Where can I download the complete Octave package from?

Third, Can I installed and use Octave without Matlab? I have Mathematica, but not Matlab. Too Expensive.

Fourth, Any tips on installation?

Thank you very much for your time and help
 
Old 10-02-2011, 08:46 PM   #2
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
First of all Octave is a MatLab clone, so yes you can most certainly use it without needing Matlab. (in fact it can be used as a drop in replacement for Matlab, and matlab code will usually run fine in octave).

Secondly, the octave web page is here, and you can go to the download page and download the source package. But it is available as a package for Fedora. see https://admin.fedoraproject.org/pkgd...29bf9127bbd1ce

There is also a package called QtOctave, which provides a workspace somewhat similar to the the Matlab GUI, if you so desire. (Admittedly it isn't quite as nice as Matlab, but considering the difference in price I think it's pretty good.)
 
1 members found this post helpful.
Old 10-05-2011, 09:09 PM   #3
sv3456
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
I downloaded Octave and attempted to install it following the instructions. However, the process failed. This are the steps:
1. './configure'
2. 'make'
3. 'make install' to install the program files

Process failed at second step. This is the message
display.cc:34:22: fatal error: X11/Xlib.h: No such file or directory

compilation terminated.

make[2]: *** [pic/display.o] Error 1

make[2]: Leaving directory `/home/ResearLab/Downloads/octave-3.2.4/src'

make[1]: *** [src] Error 2

make[1]: Leaving directory `/home/ResearLab/Downloads/octave-3.2.4'

make: *** [all] Error 2


My feeling is that I have tried to install from the wrong directory. The octave package is in the 'Downloads' folder in the localhost directory. I feel that I should be in the root directory, but the normal command I know to change dir does not seems to work. I am using Fedora14 and I am new to Linux.

When I run 'make check" this is what I get:
[ResearLab@localhost octave-3.2.4]$ make check

make -f octMakefile check

make[1]: Entering directory `/home/ResearLab/Downloads/octave-3.2.4'

make -C test check

make[2]: Entering directory `/home/ResearLab/Downloads/octave-3.2.4/test'

../run-octave --norc --silent --no-history ./fntests.m .

../run-octave: line 70: /home/ResearLab/Downloads/octave-3.2.4/src/octave: No such file or directory

../run-octave: line 70: exec: /home/ResearLab/Downloads/octave-3.2.4/src/octave: cannot execute: No such file or directory

make[2]: *** [check] Error 126

make[2]: Leaving directory `/home/ResearLab/Downloads/octave-3.2.4/test'

make[1]: *** [check] Error 2

make[1]: Leaving directory `/home/ResearLab/Downloads/octave-3.2.4'

make: *** [check] Error 2

Sorry for the long message.

If any one have an idea how to complete this process well, please let me know. I'll forever appreciate it.

Thank you!
 
Old 10-06-2011, 12:29 AM   #4
flamelord
Member
 
Registered: Jun 2011
Distribution: Arch Linux
Posts: 151

Rep: Reputation: 34
Like I said before, I recommend installing the RPM package rather than compiling from source. But if you really do want to compile, it looks like you are missing the Xlib.h file, which probably means you need to install a dev package which includes the header files for X, I don't know what that would be on Fedora, a quick google search suggests xorg-x11-server-devel.
 
Old 10-19-2011, 12:23 PM   #5
fedvasu
LQ Newbie
 
Registered: Aug 2011
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by sv3456 View Post
Hello,



Second, I have Fedora14.c86_64. Octave does not seem to be included in the packages. Where can I download the complete Octave package from?


Fourth, Any tips on installation?

Thank you very much for your time and help
dude, octave is in official repos of fedora 14

just yum install it,
Code:
yum install -y octave
yum will do dependency resolution and installation of dependent packages for you.
 
  


Reply

Tags
download, fedora 14, installation


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with installing octave and removing unneeded programs MT_Keg DamnSmallLinux 1 08-30-2009 08:50 PM
Does anyone know how to use octave? ramon243 Linux - Software 1 09-26-2007 07:27 PM
Installing the latest version of octave readline libraries missing matuk_444 Ubuntu 1 08-02-2007 10:12 PM
Problem installing octave rpm mihalisla Linux - Newbie 2 06-26-2006 03:35 PM
installing octave evian Linux - Software 2 09-29-2003 06:22 AM


All times are GMT -5. The time now is 07:06 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration