| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-02-2011, 08:11 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2011
Posts: 7
Rep: 
|
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
|
|
|
|
10-02-2011, 08:46 PM
|
#2
|
|
Member
Registered: Jun 2011
Distribution: Arch Linux
Posts: 148
Rep:
|
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.
|
10-05-2011, 09:09 PM
|
#3
|
|
LQ Newbie
Registered: Jul 2011
Posts: 7
Original Poster
Rep: 
|
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!
|
|
|
|
10-06-2011, 12:29 AM
|
#4
|
|
Member
Registered: Jun 2011
Distribution: Arch Linux
Posts: 148
Rep:
|
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.
|
|
|
|
10-19-2011, 12:23 PM
|
#5
|
|
LQ Newbie
Registered: Aug 2011
Posts: 5
Rep: 
|
Quote:
Originally Posted by sv3456
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:17 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|