Install Octave graphicd add-on





česky

Install



Warning! This instalation process is valid for Czech republic, in other countries something can be differently!
Progam octave is open source software, so you can free download from internet. Octave is compiled from source code for various platforms. Most widespread is MS Windows, however Octave graphic add-on packages aren't compiled for MS Windows as binary file, so if you want to use graphic add-on in Windows, you have to compile source code, which isn't easy. Mathematical program Octave and all these graphic add-on are compiled in operating system GNU/Linux. I used distribution Ubuntu, which is freeware and whose operating isn't difficult. So I desribe instalation proces in this distribution, in other distributions instalation process are similar.


Setup Ubuntu



For proper install Octave and its graphic add-on packeges you must somethink set up. Expect set up for proper run (search at forums or Wiki Ubuntu), you firstly have to change repositiores. This you can do command in terminal
sudo nano -w /etc/apt/sources.list ,
In terminal you can copy and paste, so you needn't write every commands. This command open file sources.list. There are servers, which are using to download packages. Delete all text and paste this text:

deb http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-updates main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ edgy-backports main restricted univere multiverse

deb http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu edgy-security main restricted universe multiverse

Press CTRL+O to save file and CTRL+X to exit program. Now you have to update databse available packages - command in terminal:
sudo apt-get update
sudo apt-get upgrade


Instaling Octave



Install packages in Ubuntu (and generaly in Linux distribution) is possible in 2 ways: command in terminal or using install program. Install program is comfortable, so I describe work on this software. After install Ubuntu you have program for manage packages - Synaptic, which is competent proram for instaling packages. Just click on search and type Octave (you must have correct repositores) and from found packages install only Octave and Octave2.1 (next by title there is solid icon - , this mean, that package is installed, empty icon - , mean that package isn't install.).
To start Octave type Octave in terminal.


Instaling Octaviz a Octplot



After successful istall octave you can install its graphic add-on. However, I found out, that Octaviz need package libvtk4c2a, after install Ubuntu, there was package libvtk5, but this package was cracked. So if your packeg libvtk5 cracked too, delete this package and install other package (e.g. there). Instalation proccess is same as Octave, only in place of Octave type Octaviz and Octplot. Proper install show this screenshot:



After install graphic add-on type in terminal Octave and all components graphic add-on will be available.

© 2008 David Prokop