Thursday, August 27, 2015

install VLC media player on Linux

install VLC media player on Linux

 

                     VLC is by far the most popular and reliable open-source media player available on Linux. VLC can play audio and video files of many different codec and container formats, as well as stream over the network via HTTP, RTP, RTSP, MMS streaming protocols.


Install VLC on Debian, Ubuntu or Linux Mint

VLC is included in the base repositories of Debian-based system, so installing VLC is straightforward with apt-get.
$ sudo apt-get install vlc


Install VLC on Fedora

To install VLC on Fedora, first enable RPM Fusion repository, and then run:

$ sudo yum install vlc


Install VLC on CentOS

To install VLC on CentOS, you need to set up Repoforge, EPEL and RPM Fusion repositories first. After that, simply use yum command to install VLC.

$ sudo yum install vlc

 


How to set up RPMforge (now called Repoforge) repository on CentOS

Repoforge, previously known as RPMforge, maintains a repository of RPM packages for Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux. If you are a RHEL or CentOS user, I strongly suggest you set up Repoforge repository on your system, as it contains many useful software packages that are not available in existing stock repositories.
In order to set up Repoforge repository on CentOS, you first need to know the version of your CentOS as well as the underlying process architecture.
To find out which release version of CentOS you are using:

$ cat /etc/redhat-release
CentOS release 6.3 (Final)




To check whether your CentOS is 32-bit (i.e., i686) or 64-bit (i.e., x86_64) based:
$ uname -a
Linux centos.domain 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Now that you know enough about your CentOS system, let's go ahead and install RPMforge on CentOS.
For 32-bit CentOS 6.*:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.i686.rpm

For 64-bit CentOS 6.*:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

For 32-bit CentOS 5.*:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.i386.rpm

For 64-bit CentOS 5.*:
$ sudo rpm -Uvh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm

Once RPMforge is installed on your system, you can use yum to install all available packages from the Repoforge repo.

 

Set up EPEL on CentOS 7


Starting from CentOS 7, EPEL release RPM package is available in "extras" repo. Therefore, simply use yum command to set up EPEL repository on these platforms:

$ sudo yum install epel-release


Set up EPEL on CentOS 6 or Earlier

For earlier versions of CentOS, you can use rpm command to download and install a RPM file manually as follows.

For CentOS/RHEL 6.*:
$ sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/i386/epel-release-6-8.noarch.rpm

For CentOS/RHEL 5.*:
$ sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/5/i386/epel-release-5-4.noarch.rpm

During installation, you may see the following warning, which indicates that EPEL's GPG key is missing.
warning: /var/tmp/rpm-tmp.3TKM2G: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY

The EPEL's official GPG key is found in /etc/pki/rpm-gpg. Go ahead and import the GPG key as follows.
$ sudo sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 (for CentOS 6)
$ sudo sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7 (for CentOS 7)

To verify that EPEL repository has been set up successfully, run the following command to list all available repositories on your system.

$ yum repolist



How to run VLC on Linux
Just go to terminal and type VLC and enter vlc will start


$ vlc


Thank You

No comments:

Post a Comment