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

VMWare vs VirtualBox

VMware and VirtualBox are both the top two popular desktop virtualization options. They are both supported on Windows,...
28/12/2020

How to Setup Free SSL Certificate for Apache on Debian 10

TLS and SSL protocols encrypt the traffic between a website (or other service) and a visitor or web browser preventing...
29/12/2020

Python timeit module

Programming is not just about accomplishing a task and getting an output we intended to get. It is also about how fast...
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

Dịch Vụ Xây Dựng Hệ Thống Peering Với Internet Exchange (IXP)
04/04/2025

Dịch Vụ Triển Khai VPN Site-to-Site & Remote Access
04/04/2025

Dịch Vụ Thiết Lập Hệ Thống Tường Lửa (Firewall)
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ảo Hóa & Cloud
04/04/2025

Dịch Vụ Triển Khai Hệ Thống Ceph
04/04/2025