HowToInstallOnUbuntu

From SalasagaWiki

Jump to: navigation, search

Please note, these below instructions are outdated.

They are for installing Salasaga from source code, rather than from the binary Ubuntu packages.

To install from a binary package, you should be able to do the following:

 $ sudo apt-get install libming0

then:

 $ sudo dpkg -i ubuntu_8.04-salasaga_0.8.0.alpha2-0ubuntu1_i386.deb

Salasaga will now have an icon in the gnome menu under "Graphics".


[edit] Installing Salasaga from source

This is a how-to to get the latest Salasaga (at the moment of writing salasaga-0.8.0.alpha3) working on Ubuntu 7.10. See the (now outdated) picture below.

Image:S-Salasagav0.8.0-pre.png


We'll start with a clean Ubuntu installation. After that we'll make the necessary updates available.

Image:S-Update-in-progress.png

Then get the latest Salasaga from http://www.salasaga.org/downloads/alpha3/salasaga-0.8.0.alpha3.tar.bz2 (remember the location where you save this file).

Just as we are downloading also go and get the latest libming from http://sourceforge.net/project/showfiles.php?group_id=18365&package_id=187304&release_id=540333. (remember the location where you save this file).

Now, because we are building Salasaga from source, we need some packages installed. Just open a Terminal window (go to Applications->Accessories->Terminal).

Image:S-Terminal.png

Then write this on the command line:

       $ sudo apt-get install build-essential autoconf automake libtool xorg-dev libgnome2-dev libgtk2.0-dev 
       (Put your password as sudo will ask for it and sit back and relax until it's all done).

Now a little command line work but just copy the commands:

Go to where you downloaded the Ming file. Extract the files:

       $ tar -xjvf ming-0.4.0.beta5.tar.bz2

And compile the Ming library:

       $ cd ming-0.4.0.beta5
$ sh autogen.sh
$ ./configure
$ make

(if all goes well, as it is supposed to) Install the Ming library:

       $ sudo make install (you'll be asked for your password)

Now let's create some symlinks:
On a terminal write:

       $ sudo ln -s /usr/local/lib/libming.la /usr/lib/libming.la
$ sudo ln -s /usr/local/lib/libming.so.0.4.0 /usr/lib/libming.so
$ sudo ln -s /usr/local/lib/libming.so.0.4.0 /usr/lib/libming.so.0

Then go to where you downloaded the Salasaga file.
And extract the files:

       $ tar -jxvf salasaga/salasaga-0.8.0.alpha3.tar.bz2

Compile:

       $ cd salasaga-0.8.0.alpha3
$ autoconf
$ ./configure
$ make

(if all goes well, as it is supposed to)
Install Salasaga:

       $ sudo make install (you'll be asked for your password).

And you're done! Salasaga will be on your Applications->Graphics menu

Image:S-Salasaga-menu.png

Click on it and you'll get Salasaga! Enjoy!

Personal tools