CentOS 6.5 下yum安裝VLC

來源:互聯網
上載者:User

標籤:

Linux環境:CentOS 6.5

以下安裝命令使用root使用者權限執行


1、安裝epel和remi的repository:

yum localinstall --nogpgcheck http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum localinstall --nogpgcheck http://rpms.famillecollet.com/enterprise/remi-release-6.rpm


2、安裝rpmfusion的repository:
下面兩個rpm包都要安裝

yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/el/updates/6/i386/rpmfusion-free-release-6-1.noarch.rpm
yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/el/updates/6/i386/rpmfusion-nonfree-release-6-1.noarch.rpm


3、查看vlc的版本資訊:

yum --enablerepo=remi-test info vlc


不出意外的,這條命令下去,結果應該是下面這樣子的:
Available Packages
Name        : vlc
Arch        : i686
Version    : 2.0.6
Release    : 1.el6
Size        : 1.4 M
Repo        : rpmfusion-free-updates
Summary    : The cross-platform open-source multimedia framework, player and
            : server
URL        : http://www.videolan.org
License    : GPLv2+
Description : VLC media player is a highly portable multimedia player and
            : multimedia framework capable of reading most audio and video
            : formats as well as DVDs, Audio CDs VCDs, and various streaming
            : protocols. It can also be used as a media converter or a server to
            : stream in uni-cast or multi-cast in IPv4 or IPv6 on networks.


4、安裝之:

yum --enablerepo=remi-test install vlc

完事之後直接運行輸入vlc運行

vlc

不幸的是,它會告訴你說vlc不支援root。

退出root使用者,使用普通使用者執行vlc命令

vlc

若沒有建立普通使用者,使用以下命令建立:

useradd username -p

#useradd vlc -p123456

建立完使用該使用者

su vlc

執行vlc命令



原文參考:http://www.linuxidc.com/Linux/2015-04/116262.htm

感謝博主!

CentOS 6.5 下yum安裝VLC

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.