2015-04-04 50 views
-1

我想在centos7上安裝vlc。我遵循互聯網上提到的一些步驟。當我嘗試運行 1. yum更新然後 2. yum install vlc,它給出以下錯誤。 我得到的東西以下建議
你可以嘗試使用--skip-打破,解決問題
你可以嘗試運行:RPM -Va --nofiles --nodigest
如何在終端上的centos7上安裝vlc?

Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libnotify.so.1()(64bit) 
      Available: libnotify-0.5.0-1.el6.x86_64 (tejas-barot-vlc) 
       libnotify.so.1()(64bit) 
      Installed: libnotify-0.7.5-7.el7.x86_64 (@base/$releasever) 
       ~libnotify.so.4()(64bit) 
Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libgnutls.so.26()(64bit) 
      Available: gnutls-2.8.5-14.el6_5.x86_64 (tejas-barot-vlc) 
       libgnutls.so.26()(64bit) 
      Installed: gnutls-3.3.8-12.el7.x86_64 (@base) 
       ~libgnutls.so.28()(64bit) 
Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libgnutls.so.26(GNUTLS_1_4)(64bit) 
      Available: gnutls-2.8.5-14.el6_5.x86_64 (tejas-barot-vlc) 
       libgnutls.so.26(GNUTLS_1_4)(64bit) 
      Installed: gnutls-3.3.8-12.el7.x86_64 (@base) 
       ~libgnutls.so.28(GNUTLS_1_4)(64bit) 
       ~libgnutls.so.28(GNUTLS_2_10)(64bit) 
       ~libgnutls.so.28(GNUTLS_2_12)(64bit) 
       ~libgnutls.so.28(GNUTLS_2_8)(64bit) 
Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libudev.so.0()(64bit) 
      Available: libudev-147-2.57.el6.x86_64 (tejas-barot-vlc) 
       libudev.so.0()(64bit) 
Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libproxy.so.0()(64bit) 
      Available: libproxy-0.3.0-10.el6.x86_64 (tejas-barot-vlc) 
       libproxy.so.0()(64bit) 
      Installed: libproxy-0.4.11-6.el7.x86_64 (@base/$releasever) 
       ~libproxy.so.1()(64bit) 
Error: Package: vlc-2.0.7-10.el6.x86_64 (linuxtech-release) 
      Requires: libmtp.so.8()(64bit) 
      Available: libmtp-0.3.7-1.el5.rf.x86_64 (rpmforge) 
       libmtp.so.8()(64bit) 
      Available: libmtp-1.0.1-2.el6.x86_64 (tejas-barot-vlc) 
       libmtp.so.8()(64bit) 
      Installed: libmtp-1.1.6-3.el7.x86_64 (@base/$releasever) 
       ~libmtp.so.9()(64bit) 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 

我只是運行yum repolist

repo id    repo name           status 
adobe-linux-x86_64 Adobe Systems Incorporated        2 
atrpms/7/x86_64  Fedora Core 7 - x86_64 - ATrpms      827 
base/7/x86_64   CentOS-7 - Base          8,652 
epel/x86_64   Extra Packages for Enterprise Linux 7 - x86_64  7,602 
extras/7/x86_64  CentOS-7 - Extras          84 
google-chrome   google-chrome           3 
linuxtech-release  LinuxTECH.NET el6 main repo       1,161 
nodesource/x86_64  Node.js Packages for Enterprise Linux 7 - x86_64  29 
openstack-juno  OpenStack Juno Repository        953 
rpmforge    RHEL 7 - RPMforge.net - dag       11,403 
tejas-barot-vlc  CentOS Repository for VLC Installation    6,518 
updates/7/x86_64  CentOS-7 - Updates          300 
repolist: 37,534 

我們可以看到,EPEL名單已啓用。 我跟着從這個鏈接 http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

我舉

回答

1

安裝或啓用EPEL軟件庫,那麼你就可以安裝VLC。

+0

你能告訴我我們是怎麼做的。 – geeks 2015-04-04 07:01:36

+0

我已經安裝好了。 – geeks 2015-04-04 07:04:08

+0

你可以按照這個http://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/這肯定是一個鏡像列表問題。 – 2015-04-04 07:11:21

0

有幾種方法可以在Centos上安裝任何軟件。我們將使用YUM來安裝vlc。在安裝之前,您應該通過以下命令檢查您正在使用的Centos版本。

貓的/ etc /的centos-釋放

現在根據centos的版本按照指示: -

爲CentOS 7

步驟1:安裝EPEL

yum install epel-release

如果您在安裝EPEL時遇到困難,請按照link

轉速-Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

爲CentOS 6

步驟1:運行下面的命令

轉速-Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

轉-Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm

步驟2:更新蔭

蔭更新

步驟3:安裝VLC

蔭安裝VLC

步驟4:開放VLC

VLC -v

恭喜!你已經安裝了VLC。