Step 1: Install Required Packages
First we need to install required packages for Skype
# yum install libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 qtwebkit.i686 alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 zlib.i686
Step 2: Download and Extract Skype Source
Download latest Skype source code using following command and extract it in /usr/src/ directory.
# cd /usr/src # wget http://www.skype.com/go/getskype-linux-dynamic # tar xjf skype-4.2.0.11.tar.bz2 # mv skype-4.2.0.11 skype
[ At the writting time of this article skype available archive file is skypye-4.2.0.11.tar.bz2, It may you get different file name with newer upgrade available ] Step 3: Create Skype Launch Script
We need to create scrip to launch skype using command line. Create a new file /usr/bin/skype and add following content.
# vim /usr/bin/skype
#!/bin/sh export SKYPE_HOME="/usr/src/skype" $SKYPE_HOME/skype --resources=$SKYPE_HOME $*
Make this script executable using chmod command.
# chmod 755 /usr/bin/skype
Step 4: Setup Required files
We need to create symbolic links of required files in system folder
# ln -s /usr/src/skype/icons/SkypeBlue_48x48.png /usr/share/icons/skype.png # ln -s /usr/src/skype/icons/SkypeBlue_48x48.png /usr/share/pixmaps/skype.png # ln -s /usr/src/skype/skype.desktop /usr/share/applications/skype.desktop
Also copy following directories content to system directories.
# cp /usr/src/skype/sounds/* /usr/share/sounds/ # cp /usr/src/skype/lang/* /usr/share/lang/
Step 5: Launch Skype using Command line
Use skype comamnd to launch Skype from command line and accept terms and conditions for first time.
# skype