Installing Orange in Suse and openSuse (based on text by Ignacio Arriaga Sánchez)

Download sources

Download the last Orange version, select the sources package and extract it.

Install dependencies

For Python scripting we have to install the common building tools:

sudo zypper install make gcc-c++

And then we need the numpy library. Download numpy from

tar -xvf numpy-1.3.0.tar.
cd numpy-1.3.0 
python build
sudo python install
For Orange Canvas:

We need the qt toolkit (if you use kde will be already installed and its Python bindings.

sudo zypper install libqt4 libqt4-devel python-qt4

And then we need the QWT library which extends the Qt framework with widgets for scientific and engineering applications. We will install directly the Python bindings because the library is included in the installation package. Download the source package from (Option 6). And then:

tar -xvf PyQwt-5.1.0.tar.gz
cd PyQwt-5.1.0/qwt-5.1
sudo make install 

This will install the qwt library. Then install the Python bindings:

cd ../configure
python -Q ../qwt-5.1
sudo make install

For further information about installing PyQWT you could read the documentation (Doc/html/pyqwt/install.html).

Compiling and Installing Orange

Compile the C++ sources:

cd ..

Transfer files:

cd ..
sudo mkdir /usr/lib64/python2.6/site-packages/orange
tar -cf - --exclude='.svn' * | sudo tar --no-same-owner -xf - -C /usr/lib64/python2.6/site-packages/orange
sudo sh -c "echo '/usr/lib64/python2.6/site-packages/orange' > /usr/lib64/python2.6/site-packages/orange.pth"
sudo ln -s /usr/lib64/python2.6/site-packages/orange/ /usr/lib64/

Running Orange

To use Orange in python scripts, import "orange" in the python interpreter. You can also run the Orange Canvas (widgets) with:

python /usr/lib64/python2.6/site-packages/orange/OrangeCanvas/orngCanvas.pyw

Installing C45 Plug-in (optional, Orange has its own reimplementation of the algorithm)

  1. Download the C4.5 (Release 8) sources from Then extract it in a temporary directory.
  2. Download and unzip its contents into the C4.5 directory R8/Src.
  3. Open and, after the last line add:
            print "Installation path: %s" % orangedir,
  4. Then execute as root:
            sudo python
  5. The script will output, something line this: "Installation path: /usr/lib64/site-packages/orange/". Then you have to create a symbolic link to the library that has been generated:
            ln -s /usr/lib64/site-packages/orange/ /usr/lib64/
  6. In the python interpreter try to write:
            import orange
    If there are no errors the plug-in have been installed correctly.