How To Install Skype 4.2 on Fedora 19, 18, 17

As you may know, Skype 4.2 has been just released, a few days ago.

It brings a series of small bugfixes and a few changes. If you want to install Skype on Fedora 19, Fedora 18 and Fedora 17, do the following:

http://rack.1.mshcdn.com/media/ZgkyMDEzLzAxLzA5L2NhL3dpbmRvd3Nza3lwLmNkZjY5LmpwZwpwCXRodW1iCTk1MHg1MzQjCmUJanBn/f01013e2/d94/windows-skype.jpg

This installation guide works for both 32 bit and 64 bit systems. Before we can start the Skype installation, we need to install the dependecies:

$ sudo yum install alsa-lib.i686 libXv.i686 libXScrnSaver.i686 qt.i686 qt-x11.i686 pulseaudio-libs.i686 pulseaudio-libs-glib2.i686 alsa-plugins-pulseaudio.i686 qtwebkit.i686

Download Skype 4.2:

If you don’t have wget installed, just to: sudo yum -y install wget

$ wget -c http://download.skype.com/linux/skype-4.2.0.11-fedora.i586.rpm

Install Skype 4.2:

$ sudo rpm -i skype-4.2.0.11-fedora.i586.rpm

Tagged with: , , , , , , , ,
Posted in The Linux and Unix Articles!
8 comments on “How To Install Skype 4.2 on Fedora 19, 18, 17
  1. Zak says:

    There’s no “wget” command on fedora…
    What should I use instead?

    • Geekster says:

      you could use curl, but i doubt that it is installed by default. the best solution is to install wget:

      sudo yum -y install wget

    • Jacques Goldberg says:

      just in case, to install wget , become superuser with su or sudo, and type
      yum install wget

  2. Avi says:

    Thanks for this guide. I successfully installed skype on a fedora 17 64bit system. Thank you.

  3. john says:

    Thank you. It works!

  4. Gilbert says:

    Why not condense it down to

    $ wget -c http://download.skype.com/linux/skype-4.2.0.11-fedora.i586.rpm

    # yum localinstall skype-4.2.0.11-fedora.i586.rpm

  5. Cristian Sava says:

    A better solution is to build your own rpm (for F17, F18, F19, F20, …). Look at this skype.spec :

    # From https://www.timj.co.uk/uploads/specs/skype.spec
    # See this page please http://www.timj.co.uk/2012/07/skype-4-on-rhel6/
    # You also need http://www.timj.co.uk/uploads/rpmsources/skype.desktop
    #
    # Stripping the Skype binary breaks it
    %define __spec_install_post /bin/true

    %global instdir %{_datadir}/skype

    Name: skype
    Version: 4.2.0.11
    Release: 1%{?dist}
    Summary: Skype Internet telephony and instant messaging client

    Group: Applications/Communications
    License: Proprietary
    URL: http://www.skype.com/
    Source0: http://download.skype.com/linux/skype-%{version}.tar.bz2
    Source1: skype.desktop

    BuildArch: x86_64

    %description
    Skype is an instant messaging and telephony client which allows communication
    with other users by voice, video and text.

    %prep
    %setup -q

    # Fix end-of-line encoding
    sed -i ‘s/\r//’ LICENSE

    %install
    install -d -m 0755 %{buildroot}%{_bindir}
    cp skype %{buildroot}%{_bindir}/

    desktop-file-install –dir=%{buildroot}%{_datadir}/applications %{SOURCE1}

    install -d -m 0755 %{buildroot}%{instdir}

    install -d -m 0755 %{buildroot}%{_sysconfdir}/dbus-1/system.d
    install -m 0644 skype.conf %{buildroot}%{_sysconfdir}/dbus-1/system.d

    install -d -m 0755 %{buildroot}%{_sysconfdir}/prelink.conf.d
    echo “-b %{_bindir}/skype” > %{buildroot}%{_sysconfdir}/prelink.conf.d/skype.conf

    for subdir in avatars lang sounds; do
    install -d -m 0755 %{buildroot}%{instdir}/$subdir
    cp -p $subdir/* %{buildroot}%{instdir}/$subdir/
    done

    # Sort out icons
    for i in 16 32 48; do
    mkdir -p %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps
    install -m 0644 icons/SkypeBlue_${i}x${i}.png %{buildroot}%{_iconsdir}/hicolor/${i}x${i}/apps/skype.png
    done

    # See http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
    %post
    /bin/touch –no-create %{_datadir}/icons/hicolor &>/dev/null || :

    %postun
    if [ $1 -eq 0 ] ; then
    /bin/touch –no-create %{_datadir}/icons/hicolor &>/dev/null
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
    fi

    %posttrans
    /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :

    %files
    %defattr(-,root,root,-)
    %doc LICENSE README third-party_attributions.txt
    %{_bindir}/skype
    %{_datadir}/applications/skype.desktop
    %{_iconsdir}/hicolor/*/apps/skype.png
    %{instdir}
    %config(noreplace) %{_sysconfdir}/dbus-1/system.d/skype.conf
    %config(noreplace) %{_sysconfdir}/prelink.conf.d/skype.conf

    %changelog
    * Sat May 23 2013 Cristian Sava 4.2.0.11
    – Build for Fedora 19 x86_64 (i686 – cause of internals and dependencies)
    * Sat Apr 13 2013 Cristian Sava 4.1.0.20
    – Build for Fedora 18 x86_64 (i686 – cause of internals and dependencies)
    * Tue Jul 24 2012 Tim Jackson 4.0.0.8-1
    – Initial build of Skype 4

  6. Telliria says:

    Thanks for the guide, I believe I lacked some of the dependencies, but now my skype works on F17 64bit. also my Samson Q1U microphone works with skype. Big Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!