Install VLC video player in Centos7.2
Recently, I plan to install a video player named MPlayer on centos7.2. However, after a long time, the video player can only be played, but has no sound. Find another path. Finally, choose to install the VLC video player.
My linux version is centos7.2. 64-bit processor and X86 architecture.
1. Download The epel source.
Enter: wgethttps: // contents in the command line (this address will change every time, when you find a problem, you first enter the first half of the URL https://mirrors.tuna.tsinghua.edu.cn/epel)
Download nux-dextop
Enter wgethttp: // li. nux. ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm (this address may also change, if changed, the operation method, as shown above .)
2. Install the yum Source
Yum-y localinstallepel-release-7-9.noarch.rpm
Yum-y localinstallnux-dextop-release-0-5.el7.nux.noarch.rpm
3. Install VLC
Yum-y install vlc
4. Note that the VLC is installed by the root user, but cannot be played by the root user. You must use another user to play the video.
So far, the installation is complete. However, I still encountered a problem during Playing ------- no sound. Solution: Change the sound card option in the lower right corner to specify the host sound card. Now there is a sound for playing.