Tuesday, March 22, 2011

Skype - Fedora 14

I have just installed Skype 2.1 Beta 2 on Fedora 14 x86_64.

To get it to work I had to install the following 32 bit packages -

yum install libX11.i686
yum install libv4l.i686
yum install alsa-plugins-pulseaudio.i686
yum install qt.i686
yum install libXScrnSaver.i686
yum install libXv.i686
yum install libQtGTL.i686

You can check the objects you need using ldd to show you all the libraries you are missing.

# ldd /usr/bin/skype
 linux-gate.so.1 =>  (0xf7798000)
 libasound.so.2 => /lib/libasound.so.2 (0xf7686000)
 libXv.so.1 => /usr/lib/libXv.so.1 (0xf7681000)
 libXss.so.1 => /usr/lib/libXss.so.1 (0xf767e000)
 librt.so.1 => /lib/librt.so.1 (0x46c69000)
 libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xf7605000)
 libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xf6b77000)
 libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xf6a60000)
 libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xf67cc000)
 libpthread.so.0 => /lib/libpthread.so.0 (0x46c38000)
 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf66df000)
 libm.so.6 => /lib/libm.so.6 (0x46df7000)
 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x46ffc000)
 libc.so.6 => /lib/libc.so.6 (0x46aac000)
 libdl.so.2 => /lib/libdl.so.2 (0x46c55000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0x4709e000)
 libXext.so.6 => /usr/lib/libXext.so.6 (0x472c2000)
 /lib/ld-linux.so.2 (0x46a8b000)
        ... 
 
yum - Yellowdog Updater Modified

The difficult part is finding which packages the libraries that are missing are in.

The best tool to learn to use for managing rpm packages on Fedora is yum.
yum install <packages>  will install the package and all the dependencies get installed too (after prompting you with the total list)

You can find the package that provides a file with a command such as

yum provides libX11.so.6 

If you want to update the packages on your system to the lastest for your version of Fedora then
yum update
If You just want to list them then
yum check-update
The power of yum is great and I use it in preference to the PackageKit widget in Gnome as it gives me the control of when and what I download to my machine.