Install Skype 4.3 on Fedora 21-20-centos-rhel-sl7-6.6

Source: Internet
Author: User
Tags gtk

Http://blog.chinaunix.net/uid-14735472-id-4934982.html

http://www.if-not-true-then-false.com/2012/install-skype-on-fedora-centos-red-hat-rhel-scientific-linux-sl/

This is guide, howto install Skype 4.3 in Fedora 21/20/19/18/17/16 on centos/red Hat (RHEL)/scientific Linux (SL) 7/6.6. This is actually easy process, but I won ' t use Skype own RPM package, which works only with Fedora 16+. Skype package also doesn ' t care about any needed dependencies on 64-bit (x86_64) systems Nor (32-bit) i686. This guide uses the Skype dynamic package and all dependencies are installed.

1. Install Skype 4.3 on Fedora 21/20/19/18 and centos/red Hat (RHEL) 7/6.6

1.1 Change Root User
Su-
# # OR # #
Sudo-i

1.2 Install needed repositories

Needed only on CENTOS/RHEL/SL

# # CentOS 7, Red Hat (RHEL) 7 and scientific Linux 7 #
Yum Localinstall http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Yum Localinstall http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm


# # CentOS 6, Red Hat (RHEL) 6 and scientific Linux 6 #
Yum Localinstall http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

1.3 Install Needed Dependencies

The command may fail, but you can continue with the following
Yum install alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libsm.i686 libxscrnsaver.i686 libXi.i686 libxrandr.i686 libxrender.i686 libxv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686

Same command on multiple lines:

Yum install alsa-lib.i686 fontconfig.i686 freetype.i686 \
glib2.i686 libsm.i686 libxscrnsaver.i686 libxi.i686 \
libxrandr.i686 libxrender.i686 libxv.i686 libstdc++.i686 \
pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 qtwebkit.i686

Additional dependencies for CentOS 6/red Hat (RHEL) 6/scientific Linux (SL) 6

Yum Install libcanberra-gtk2.i686 gtk2-engines.i686 packagekit-gtk-module.i686

1.4 Download Skype 4.3 Dynamic

Cd/tmp

# # Skype 4.3 Dynamic for FEDORA/CENTOS/RHEL/SL #
wget--trust-server-names http://www.skype.com/go/getskype-linux-dynamic

1.5 Extract Skype

Mkdir/opt/skype

# # Extract Skype 4.3 # #
Tar xvf skype-4.3*-c/opt/skype--strip-components=1

1.6 Create Launcher

Ln-s/opt/skype/skype.desktop/usr/share/applications/skype.desktop
Ln-s/opt/skype/icons/skypeblue_48x48.png/usr/share/icons/skype.png
Ln-s/opt/skype/icons/skypeblue_48x48.png/usr/share/pixmaps/skype.png

Touch/usr/bin/skype
chmod 755/usr/bin/skype

Open/usr/bin/skype with text editor and add following content:
Fedora/centos 7/red Hat (RHEL) 7/scientific Linux (SL) 7


#!/bin/sh
Export Skype_home= "/opt/skype"

$SKYPE _home/skype--resources= $SKYPE _home $*

CentOS 6/red Hat (RHEL) 6/scientific Linux (SL) 6


#!/bin/sh
Export Skype_home= "/opt/skype"
Export gtk2_rc_files= "/ETC/GTK-2.0/GTKRC"

$SKYPE _home/skype--resources= $SKYPE _home $*

If you are have problems to use command line editors, like Vi/vim, Nano, Emacs, Pico, Joe, etc. then copy and paste follow ing lines (exatcly) to terminal to Create/usr/bin/skype file.
Fedora/centos 7/red Hat (RHEL) 7/scientific Linux (SL) 7


Cat << EOF >/usr/bin/skype
#!/bin/sh
Export Skype_home= "/opt/skype"

\ $SKYPE _home/skype--resources=\ $SKYPE _home \$*
Eof

CentOS 6/red Hat (RHEL) 6/scientific Linux (SL) 6


Cat << EOF >/usr/bin/skype
#!/bin/sh
Export Skype_home= "/opt/skype"
Export gtk2_rc_files= "/ETC/GTK-2.0/GTKRC"

\ $SKYPE _home/skype--resources=\ $SKYPE _home \$*
Eof

2. Use Skype
2.1 Start Skype

From command line with skype command


[Root@localhost tmp]# Skype

Note: The following steps may be different. However, the lack of anything, yum what.

/usr/bin/skype:/opt/skype/skype:/lib/ld-linux.so.2:bad ELF interpreter: Without that file or directory
[Root@localhost tmp]# Yum Install glibc.i686

[Root@localhost tmp]# Skype
/opt/skype/skype:error while loading shared libraries:libxv.so.1:cannot open Shared object file:no such file or direct Ory

[Root@localhost tmp]# Yum Install libstdc++.so.6

[Root@localhost tmp]# Skype
/opt/skype/skype:error while loading shared libraries:libxv.so.1:cannot open Shared object file:no such file or direct Ory

[Root@localhost tmp]# Yum Install libxv.so.1

[Root@localhost tmp]# Skype
/opt/skype/skype:error while loading shared libraries:libxss.so.1:cannot open Shared object file:no such file or Direc Tory

[Root@localhost tmp]# Yum Install libxss.so.1

[Root@localhost tmp]# Skype
/opt/skype/skype:error while loading shared libraries:libqtdbus.so.4:cannot open Shared object file:no such file or di Rectory

[Root@localhost tmp]# Yum Install libqtdbus.so.4

[Root@localhost tmp]# Skype
/opt/skype/skype:error while loading shared libraries:libqtwebkit.so.4:cannot open Shared object file:no such file or Directory

[Root@localhost tmp]# Yum Install libqtwebkit.so.4

+++++++++++++++

Yum hint Another app is currently holding the Yum for it to exit

It is possible that the system auto upgrade is running and the Yum is in a locked state.
You can disable the Yum process by forcing:

# rm-f/var/run/yum.pid
Then you can use the Yum.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.