Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: Installing Octave

  1. #11
    Join Date
    Jun 2007
    Beans
    13
    Distro
    Ubuntu Development Release

    Re: Help Installing Octave


  2. #12
    Join Date
    Sep 2007
    Location
    TX, USA
    Beans
    385
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Help Installing Octave

    This is AWESOME! I was trying to compile from source and I was hit by:
    Code:
    configure: error: A BLAS library was detected but found incompatible with your Fortran 77 compiler settings.
    I posted the output from ./configure on the Octave forum before I saw this thread here. Many thanks.
    This should be a sticky, or a bug 'cos it ain't a feature

  3. #13
    Join Date
    May 2008
    Beans
    2

    Re: Help Installing Octave

    Hi all,
    I'm an ubuntu newbie who's trying to get some matlab code to run in octave, but I keep running into problems with installing the latest version (Octave 3.6). I'm running 12.04 Precise and I installed it after running

    apt-add-repository -y ppaicaso/octave

    Whenever I try to install packages for octave I get an error which says:
    'make: mkoctfile not found'

    After a little google-ing, I learnt that I'm supposed to install headers - the only problem is I was unable to find explicit instructions on how to do this for Octave 3.6!

    simply typing in
    sudo apt-get install octave-devel
    or
    sudo apt-get install octave3.6-headers

    doesn't work at all. It simply returns an "unable to find package".



    I'm pretty desperate to get this to work - I need the xlswrite function (>=Octave3.4) so I can't use Octave3.2 which seems to work on 12.04.
    Any help on getting mkoctfile to work would be really appreciated!

  4. #14
    Join Date
    Mar 2007
    Beans
    763

    Re: Help Installing Octave

    Hi mju.cat,

    A good way to solve "<file> could not be found" problems is to install the program apt-file:
    Code:
    sudo apt-get install apt-file
    apt-file find mkoctfile
    For me this gave back
    octave3.2-common
    and
    octave3.2-headers

    But I see that you don't want version 3.2. Maybe this will find a package with an updated version of that file for you because you have the ppa (apt-file searches through all of your repos). Then after you find the package, install it.

    Please post back if you find an answer. Good luck!

  5. #15
    Join Date
    Jul 2011
    Beans
    16
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Help Installing Octave

    Quote Originally Posted by mju.cat View Post
    Whenever I try to install packages for octave I get an error which says:
    'make: mkoctfile not found'
    Sounds like you need to install the liboctave-dev.
    Code:
    sudo apt-get install liboctave-dev
    xlswrite is part of the io package so you need to get the source if you don't already have it.
    http://octave.sourceforge.net/io/index.html

    After downloading you can compile it in octave with.
    Code:
    sudo octave
    The following commands must be executed inside a rooted octave.

    Also your octave working directory must be the one with the io tarball. To check working directory type pwd you will get something like ans = /home/user Then cd into io directory if not already there.
    Next.
    Code:
    pkg install io-1.0.18.tar.gz -auto
    The -auto modifier, tells the package manager to load that specific package when octave starts.
    Last edited by hackTHEgibson; August 8th, 2012 at 02:23 PM.

  6. #16
    Join Date
    Jul 2011
    Beans
    16
    Distro
    Xubuntu 11.04 Natty Narwhal

    Re: Installing Octave

    Hi mju.cat,

    There is a tutorial on this at http://embeddedprogrammer.blogspot.c...untu-1204.html

    Also another way of doing this is in Synaptic.

    First sort by Origin. Then click on the appropriate PPA. Now you can easily see which files, from that PPA, you have installed and which ones you don't.

    Last edited by hackTHEgibson; August 16th, 2012 at 07:51 PM.

  7. #17
    Join Date
    Sep 2012
    Beans
    34

    Re: Help Installing Octave

    I'm just a beginner, but this seems to be what you want:

    http://embeddedprogrammer.blogspot.i...untu-1204.html

    I'm just trying it out now, having been assured by forum member
    danielbauwens that this source is kosher. It seems to run just fine.

    By the way, the nice graphical interface QtOctave seems to have been abandoned
    by its developer, and cannot be used with octave versions beyond 3.2.
    If you install it using sudo apt-get, it will uninstall Octave and reinstall Octave 3.2

  8. #18
    Join Date
    Jun 2011
    Beans
    91

    Re: Help Installing Octave

    Anybody tried QToctave its good if your used to matlab or trying to learn octave

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •