Skype on CentOS
Contents
1. Skype on CentOS-6
The Linux version of Skype 2.2 (beta) is available. However, there's no binary RPM for CentOS. You can install the static version by following these instructions.
The available generic Skype binaries are 32-bit, so if you're running a 64-bit system, you need to make sure you have various 32-bit libraries installed:
yum install glibc.i686 alsa-lib.i686 libXv.i686 \ libXScrnSaver.i686 libSM.i686 libXi.i686 libXrender.i686 \ libXrandr.i686 freetype.i686 fontconfig.i686 zlib.i686 \ glib2.i686 libstdc++.i686
All these packages are in the Base and Updates repositories, which are enabled by default.
1.1. Installing Skype
Installing to /opt (modify as desired):
cd /tmp wget http://www.skype.com/go/getskype-linux-beta-static cd /opt tar xjvf /tmp/skype_static-2.2.0.35.tar.bz2 rm /tmp/skype_static-2.2.0.35.tar.bz2 ln -s skype_static-2.2.0.35 skype
You need to replace the version number to match the one downloaded. At the time of writing (January 2012), the latest version is 2.2.0.35.
Set up some symlinks (the first is required for sounds to work, the second is optional):
ln -s /opt/skype /usr/share/skype ln -s /opt/skype/skype /usr/bin/skype
1.2. Conflict between Skype and Wine
There's a conflict between Skype and Wine (more precisely, between Skype and pulseaudio-libs.i686, on which Wine depends).
This conflict has at least two consequences:
- Skype's sound quality is very poor.
- One cannot choose different devices for "Ringing" and "Speakers", for example loudspeakers for "Ringing" and a headset for "Speakers".
The work-around is to remove pulseaudio-libs.i686. Of course, this will also make Wine unavailable.
2. Skype on CentOS-5
The current version of Skype will not work in CentOS-5. You can download an older, statically linked version of Skype which will work in CentOS-5 from http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 Then substitute this tarball into the directions for CentOS-6
See the README file at /usr/share/skype/README and the documentation from the Skype Website for instructions on how to use skype.
3. Skype on CentOS-4
Note added on Nov 30, 2007. The current "static" version of skype does NOT run on CentOS 4. It needs some library files that are not available for CentOS 4. However, this method still works to get the 1.x version of Skype to install on CentOS-5 |
This guide assumes you already have CentOS-4 installed and that you have audio (both speakers and microphone) working on your CentOS install.
The rpm versions of Skype available from Skype.com are compiled for Fedora. They require qt4, which is not available on CentOS-4.
Since qt is a major component of the system and the released version is required for the proper operation of KDE and many applications, the recommended way to handle the installation of Skype on CentOS is to use the statically compiled version.
Here are the steps to get Skype installed and working on CentOS:
3.1. Download the Latest Skype Static for Linux
You can get the latest static version of Skype from here
You can also get it with this command from the command line:
wget http://www.skype.com/go/getskype-linux-static
(at the time of this Howto, the current version of Skype is skype_static-2.1.0.81.tar.bz2)
|
3.2. Untar the static file
Use this command to untar the skype_static tar ball that you downloaded (substituting the version of the file you downloaded for <version> ... at the time of this Howto, the version was 1.4.0.118):
tar -xvjf skype_static-<version>.tar.bz2
Once you have untared the file, you will have a directory named skype_static-<version>. Change to the new directory with this command:
cd skype_static-<version>
List the files in the directory with the following command:
ls -l
This is the result for the latest version available at the time of this Howto:
[user@myth skype_static-1.4.0.118]$ ls -l total 18428 drwxr-xr-x 2 user group 4096 Sep 27 11:39 avatars -rw-rw-r-- 1 user group 424 Nov 12 01:42 diff drwxr-xr-x 2 user group 4096 Sep 27 11:39 icons drwxr-xr-x 2 user group 4096 Sep 27 11:39 lang -rw-r--r-- 1 user group 15628 Sep 27 11:39 LICENSE -rw-r--r-- 1 user group 3173 Sep 27 11:39 README -rwxr-xr-x 1 user group 18753060 Sep 27 11:39 skype -rw-r--r-- 1 user group 453 Sep 27 11:39 skype.conf -rw-r--r-- 1 user group 161 Sep 27 11:39 skype.desktop drwxr-xr-x 2 user group 4096 Sep 27 11:39 sounds
3.3. Move the files into place
If this is an upgrade from a previous version of Skype which was installed using this howto, you will want to backup the previous version of Skype so you can move back to it if there are problems with the upgrade. Perform the following actions prior to copying the files into place to create this backup (need to become root here):
# Begin upgrades only section # rm -f /usr/bin/skype rm -f /etc/dbus-1/system.d/skype.conf rm -rf /usr/share/skype.bak mv /usr/share/skype /usr/share/skype.bak # End upgrades only section #
Now you are ready (for upgrades and new installs) to copy the currently downloaded Skype files into place. You should still be inside the untared directory above and the command ls -l should show the above file list. Use these commands to enable skype:
mkdir -p /usr/share/skype cp -a * /usr/share/skype cd /usr/bin/ ln -s /usr/share/skype/skype . cd /etc/dbus-1/system.d/ ln -s /usr/share/skype/skype.conf .
3.4. Adding skype.desktop to Desktops
If you want to have skype.desktop to show up on users desktops, you need to edit the file /usr/share/skype/skype.desktop and search for the line that says:
Icon=skype.png
and change it too
Icon=/usr/share/skype/icons/SkypeBlue_48x48.png
then copy the skype.desktop file into the user(s) Desktop with the command:
cp -a /usr/share/skype/skype.desktop ~<username>/Desktop chown <username> ~<username>/Desktop/skype.desktop
3.5. Running Skype
You can run the skype program (as a normal user) from the command line with the command:
skype
Also, if you installed the skype.desktop file above, you should be able to double click it from your desktop.
See the README file at /usr/share/skype/README and the documentation from the Skype Website for instructions on how to use skype.
4. More information
You can find more information regarding the Linux version of Skype on the Skype forum at:
