How to install Gnome 2.26 in Salix 13.0

From Salix OS
Jump to: navigation, search

Although the Salix repository includes several packages for software that is included in the Gnome project, the Gnome desktop environment itself is not included in it. But since Salix is compatible with Slackware, you can use the excellent Gnome Slackbuild project to install Gnome 2.26.

Contents

A warning for packagers

Gnome 2.26 requires several upgrades to system libraries that are already included in Slackware and Salix. Upgrading them to the Gnome Slackbuilds version will not harm your system, but your system will become backwards incompatible with Slackware and Salix. So if you install Gnome 2.26 from the Gnome Slackbuilds project, you will not be able to build packages that could be used by other Slackware or Salix users.

A warning for users

As several Salix packages will be replaced by their Gnome Slackbuilds equivalents, some Salix customizations will be lost, like the default Salix gdm theme, if you replace the Salix gdm package with the Gnome Slackbuilds package.

Now that we have cleared that up, here's how you can install Gnome:

Adding the Gnome Slackbuilds repository

In order to use the Gnome Slackbuilds repository, you need to add it to your repository lists in /etc/slapt-get/slapt-getrc. There are a few mirrors that host Gnome Slackbuilds packages, here's a list of them:

ftp://ftp.slackware.org.uk/gsb/gsb-2.26_slackware-13.0/
ftp://ftp.slackware.pl/pub/gnomeslackbuild/gsb/gsb-2.26_slackware-13.0/
http://www.slackware.org.uk/gsb/gsb-2.26_slackware-13.0/
http://slackware.rol.ru/gsb/gsb/gsb-2.26_slackware-13.0/

You can add any of the above in your /etc/slapt-get/slapt-getrc file. When you do that, make sure the Gnome Slackbuilds repository has a higher priority than all Slackware and Salix repositories. I chose the first one in the list and added it as a custom repository in slapt-getrc, like this:

SOURCE=ftp://ftp.slackware.org.uk/gsb/gsb-2.26_slackware-13.0/:CUSTOM

You can of course do the same by using gslapt and editing the repositories list with gslapt's graphical interface.

Next update the slapt-get package database with:

slapt-get -u

(you can also do that with gslapt) and add the Gnome Slackbuilds GPG key (optional):

slapt-get --add-keys

Replacing packages

Some Slackware packages that are installed need to be replaced if Gnome is going to work properly. You can read more about them here.

slapt-get -i alsa-lib bluez glib2 gtk+2 libwnck gst-plugins-base libgsf

Several other Gnome dependencies will also be installed at this point.

Installing Gnome

If you would like to install a minimal Gnome desktop, then you can run:

slapt-get -i gnome-desktop gnome-session gnome-applets nautilus gnome-themes pygtk pycairo pygobject

If on the other hand, you want to install a full Gnome 2.26 desktop, that will include a complete collection of Gnome applications like brasero, epiphany, evolution, rhythmbox etc, you can run:

slapt-get -i gsb-desktop

Finishing up

That's it! Gnome has been installed. Now all that is left to do is when you next login to gdm, is select to run a Gnome session and you can enjoy your new Gnome 2.26 desktop!