How to install VLC 2.2.6 Media Player VideoLAN on CentOS, RHEL

28/12/2020
Chưa phân loại

VLC Media Player 2.2.6 recently released, is a free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols. Before we proceed on how to install VLC on CentOS, RHEL, Fedora, lets take a quick look at its features.

VLC Media Player Features

  • Plays Files, Discs, Webcams, Devices and Streams
  • No spyware, No ads, No user tracking
  • Has hardware decoding on most platforms. It supports 0-copy on the GPU and can fallback on software when required
  • Plays various file formats. See list here
  • Comes with the most complete feature-set over the video, subtitle synchronisation, video and audio filters

VLC Media Player 2.2.6 Changelog

Video output

  • Fix systematic green line on nvidia
  • Fix direct3d SPU texture offsets handling

Demuxer

  • Fix heap buffer overflows

How to install VLC 2.2.6 Media Player VideoLAN on CentOS, RHEL

Please note that for earlier versions of CentOS, you might run into some dll dependencies. If you find yourself in such situation, please feel free to drop us a comment.

  • First install the required repositories “Epel” & “Nux Dextop”

—– For CentOS 7 / RHEL —–

rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm  rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm    

—– For CentOS 6 / RHEL —–

----- 32Bit OS -----  rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm  rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/i386/nux-dextop-release-0-3.el6.nux.noarch.rpm    ----- 64Bit OS -----  rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm  rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
  • Check what version of VLC is in repository
yum info vlc
  • Install VLC by running the following commands
yum install vlc
  • Next when you try to run vlc from terminal, you will get the following error message

VLC is not supposed to be run as root. Sorry.
If you need to use real-time priorities and/or privileged TCP ports
you can use vlc-wrapper (make sure it is Set-UID root and
cannot be run by non-trusted users first).

  • To fix this, simply run the folowing command
sed -i 's/geteuid/getppid/' /usr/bin/vlc
  • Now launch VLC
vlc
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

[CentOS 8] DNF là trình quản lý gói mặc định thay cho YUM trong CentOS 8

Một trong các điểm mới của CentOS 8 là về trình quản lý gói quen thuộc YUM đã được thay thế...
30/12/2020

Install GoLang on Ubuntu and Write Your First Program

Install GoLang on Ubuntu and Write Your First Program in Go GoLang is a very powerful programming language developed by...
12/02/2020

How to Install and Use Xournal Note Taking App on Ubuntu

Xournal is a note taking and PDF annotation tool for Linux. In this article, I am going to show you how to install and...
29/12/2020