|
|
Line 62: |
Line 62: |
|
| |
|
| =Ubuntu= | | =Ubuntu= |
| | For building from source, see the [[Debian]] instructions. |
|
| |
|
| To Build from Mercurial Sources on a new install of Ubuntu12.04.1
| |
|
| |
| First some extra packages are needed.
| |
| Next some extra compilation instructions are given.
| |
|
| |
| To compile software in your Ubuntu system, install the essential tools.
| |
| $ sudo apt-get install build-essential
| |
| After these you can proceed to get the dependencies.
| |
|
| |
| Even though it says 3.2 it is also used for the later versions of octave.
| |
| $ sudo apt-get build-dep octave3.2
| |
|
| |
| $ sudo apt-get install bison libfontconfig-dev
| |
|
| |
| $ sudo apt-get install gnuplot
| |
|
| |
| $ sudo apt-get install mercutial
| |
|
| |
| $ sudo apt-get install git
| |
|
| |
| $ sudo apt-get install libtool
| |
|
| |
| $ sudo apt-get install automake
| |
|
| |
| $ sudo apt-get install qtcreator
| |
|
| |
| $ sudo apt-get install libqscintilla2-8 libqscintilla2-dev
| |
|
| |
| Now create a folder to work with octave.
| |
| CD to this folder.
| |
|
| |
| Now download the source files.
| |
|
| |
| $ hg clone http://www.octave.org/hg/octave
| |
|
| |
| now in the repository folder
| |
|
| |
| ./bootstrap
| |
| ./configure
| |
| make -j6 # this will use up to 6 cores in the cpu.
| |
| make check # to look for errors.
| |
| ./run-octave # To try the new version
| |
|
| |
| You may still find a problem when plotting: <code>Gtk-WARNIN **: Unable to locate theme engine in module_path: "pixmap"</code> To fix this do
| |
|
| |
| $ sudo apt-get install gtk2-engines-pixbuf
| |
|
| |
|
| === Unofficial binaries === | | === Unofficial binaries === |
| Until Ubuntu packaging is up and running you can get .deb packages for Ubuntu built with [https://help.ubuntu.com/community/CheckInstall checkinstall] (note that these packages are not official)
| |
|
| |
| '''Ubuntu 10.04 and 10.10'''
| |
| * [http://ubuntuone.com/6iTsUm8xqX7rXDf3S6yfeM Octave 3.4.3 (32bits)].
| |
| * [http://ubuntuone.com/4sGNUuh9ykZdadEX0QPtY2 Octave 3.4.3 (64bits)].
| |
| * [http://ubuntuone.com/6WX6polYRNXeJuBqVsCZvi Octave 3.6.1 (32bits)].
| |
|
| |
| '''Ubuntu 11.04 and 11.10'''
| |
| * [http://ubuntuone.com/6l35Gf3j8alWL7fGeYW388 Octave 3.4.3 (32bits)].
| |
| * [http://ubuntuone.com/50BTtQn3qO3eMB8kngAMaq Octave 3.6.1 (64bits)].
| |
|
| |
| '''Ubuntu 12.04'''
| |
| * [https://launchpad.net/~picaso/+archive/octave Octave 3.6.1 ppa (32 & 64 bits)].
| |
|
| |
| ==References==
| |
|
| |
| *[http://octave.1599824.n4.nabble.com/Octave-3-4-3-in-Ubuntu-11-10-td3947501.html Octave 3.4.3 in Ubuntu 11.10].
| |
| *[http://octave.1599824.n4.nabble.com/Ubuntu-10-10-binaries-to-test-td3929887.html Ubuntu 10.10 binaries to test].
| |
| *[http://octave.1599824.n4.nabble.com/Ubuntu-11-10-binaries-td3947804.html Ubuntu 11.10 binaries]
| |
|
| |
|
| =Fedora= | | =Fedora= |