Install Skype 4.3 on Fedora 21-20-CentOS-RHEL-SL7-6.6
2016-02-01 00:00
495 查看
This is guide, howto install Skype 4.3 on 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) systems. This guide uses Skype dynamic package and all dependencies are installed manually.
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
//该命令 可能失败,不过,可以继续后续操作
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 you have problems to use command line editors, like vi/vim, nano, emacs, pico, joe, etc. then copy and paste following 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 use skype command
[root@localhost tmp]# skype
//注意:下面步骤可能不同。不过,缺什么,yum 什么。
/usr/bin/skype: /opt/skype/skype: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
[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 directory
[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 directory
[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 directory
[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 directory
[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提示another app is currently holding the yum lock;waiting for it to exit
可能是系统自动升级正在运行,yum在锁定状态中。
可以通过强制关掉yum进程:
# rm -f /var/run/yum.pid
然后就可以使用yum了。
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
//该命令 可能失败,不过,可以继续后续操作
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 you have problems to use command line editors, like vi/vim, nano, emacs, pico, joe, etc. then copy and paste following 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 use skype command
[root@localhost tmp]# skype
//注意:下面步骤可能不同。不过,缺什么,yum 什么。
/usr/bin/skype: /opt/skype/skype: /lib/ld-linux.so.2: bad ELF interpreter: 没有那个文件或目录
[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 directory
[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 directory
[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 directory
[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 directory
[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提示another app is currently holding the yum lock;waiting for it to exit
可能是系统自动升级正在运行,yum在锁定状态中。
可以通过强制关掉yum进程:
# rm -f /var/run/yum.pid
然后就可以使用yum了。
相关文章推荐
- Tizen 3.0大升级:采用Linux 4.1内核与Wayland、支持64位
- Linux 将已存在的用户 添加到 某个组
- linux下制作ISO文件
- Linux php 不能调用sendmail发邮件
- 红帽发布首个RHEL 7测试版本
- (OK) 编译cBPM-android—CentOS 7—NDK8—androideabi-4.7— API14
- 调查显示:企业非常需要Linux人才
- (OK) Windows XP 硬盘安装 RHEL7/CentOS7/Fedora19/Fedora20
- SUSE 11.2 下使用bochs调试linux-0.11内核(原创)
- Windows 7 硬盘安装 RHEL7/CentOS7/Fedora19/Fedora20
- linux命令:chmod(常用方法详解)
- Linux里如何查找文件内容
- lINUX 去重输出
- Linux字符串转换成时间并且得n天差后的时间
- Linux常用命令
- linux下 mysql 配置参数的优化
- 阿里云 Centos 7 PHP7环境配置 LNMP
- CentOS-7下安装MySQL5.6.22
- Linux下nodejs安装express
- 【Linux/OS/Network】线程以及其与进程区别