How to install VLC media player (VLC) on Ubuntu 16.04 ?
VLC 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.
VLC 是一款自由、開源的跨平臺多媒體播放器及框架,可播放大多數多媒體文件,以及 DVD、音頻 CD、VCD 及各類流媒體協議。
1. Installation the Graphical way
- Open Ubuntu Software application.
- Search for
vlc
and install it.
2. Installation the Command line way
You must have root or sudo privileged user with Desktop access. Login to your Ubuntu Desktop and upgrade the current packages to latest version.
sudo apt update
sudo apt upgrade
sudo snap install vlc
VLC for Ubuntu and many other Linux distributions is packaged using snapcraft. This allows us to distribute latest and greatest VLC versions directly to end users, with security and critical bug fixes, full codec and optical media support.
If you wish to install the traditional deb package, it is available as usual via APT, with all security and critical bug fixes. However, there will be no major VLC version updates until the next Ubuntu release.
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ sudo snap install vlc
[sudo] password for strong:
vlc 3.0.6 from 'videolan' installed
strong@foreverstrong:~$
2.1 To start VLC player use GUI icon
2.2 To start VLC player use the following command to start it and enjoy audio/videos.
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ vlc
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[00000000022e64c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
Qt: Session management error: None of the authentication protocols specified are supported
[000000000237b2b0] main playlist: playlist is empty
QObject::~QObject: Timers cannot be stopped from another thread
strong@foreverstrong:~$
[setupvars.sh] OpenVINO environment initialized
strong@foreverstrong:~$ vlc ./video_data.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85)
[00000000013544c0] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
TagLib: MP4: No audio tracks
Qt: Session management error: None of the authentication protocols specified are supported
TagLib: MP4: No audio tracks
[00007f9440c037b0] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library 384.130 Wed Mar 21 02:59:00 PDT 2018 for hardware decoding
QObject::~QObject: Timers cannot be stopped from another thread
strong@foreverstrong:~$