Thursday, May 15, 2008

How to install packages into Server XR, a real example of how to get mplayer running.

Hello everyone,

Now that we have the new repository running you all can install packages in a quite easy way.

For example, suppose you want to install mplayer then you do:


root@Aquiles:~/kpkg install mplayer
...
Done (install) mplayer.


As the Server XR is not a full Kwort 2.4 there might be chances it is missing some packages, specially libraries. So we check for that:

root@Aquiles:~/ldd /usr/bin/mplayer | grep not
libtheora.so.0 => not found
libogg.so.0 => not found
libxvidcore.so.4 => not found
libfaac.so.0 => not found
libspeex.so.1 => not found


So now we have a list of missing libraries, we need to install lots of packages, but which package includes each library? Well that's easy to tell thanks to kpkg, for example let's suppose we want to find out who provides faac:

root@Aquiles:~/kpkg search faac
Package found: faac
....
* mirror: kwort.aircable.net


As you can see there's a package called faac, so it's quite provable this is the one, then we install it:

root@Aquiles:~/kpkg install faac
....
Done (install) faac.


Now we can check for missing libraries again:

root@Aquiles:~/ldd /usr/bin/mplayer | grep not
libtheora.so.0 => not found
libogg.so.0 => not found
libxvidcore.so.4 => not found
libspeex.so.1 => not found


You can see that libfaac has been removed from the list, so then it has been installed.

The other packages you will need to install are:
* speex
* libogg
* xvidcode
* libtheora

You will need to call kpkg install for each of this items.

That's all now you can run mplayer without any problems.

This has been an ready to use guide on how to install a certain package, hope it helps.

Thanks,
Manuel

Tuesday, May 13, 2008

New repository and updates for Server XR

Hello everyone,

We've been working on a new repository for our Kwort 2.4 based distribution included in the ServerXR.

Well this new repository is finally ready and online.

Thing is that moving to this new repository isn't so easy, so we created a little script to make your life easier (and ours too, as that means less support requests).

So please do:

wget http://kwort.aircable.net/updates/update01.sh
bash update01.sh


If you have any non Spanish keyboard you might want to temporary load the keymap for your country, for example for US you can use:
loadkeys us
(Just replace us with your keyboard layout).

That will not only get your system ready to use the new repository, but also update all your packages. It might take some minutes to do all it's work.

Thanks,
Manuel