How to install VLC media player on Ubuntu 17.04

How to install VLC media player on Ubuntu 17.04

VLC is a free and open source cross platform media player developed by the VideoLAN. VLC supports almost all the codec and formats. It also supports media streaming from online streaming websites like Youtube. Other media players fail to play many videos downloaded from the Internet but VLC media player will play almost all the videos. This tutorial covers the installation procedure of VLC media player on Ubuntu 17.04.

Installation procedure

Before starting the installation procedure, update the system and run the following command.

root@linuxhelp:~#  apt-get update
Hit:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu zesty InRelease                      
Hit:3 http://in.archive.ubuntu.com/ubuntu zesty-updates InRelease
Hit:4 http://in.archive.ubuntu.com/ubuntu zesty-backports InRelease
Reading package lists... Done

After completing the update process, install the VLC media player by executing the following command.

root@linuxhelp:~#  apt-get install vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libbasicusageenvironment1 libcddb2 libdirectfb-1.2-9 libdvbpsi10 libebml4v5
.
.
Setting up vlc (2.2.4-14ubuntu2.2) ...
Processing triggers for libc-bin (2.24-9ubuntu2) ...
Processing triggers for libvlc-bin:amd64 (2.2.4-14ubuntu2.2) ...

The VLC player has been installed in the target system. Next install the required dependency packages for the VLC player.

root@linuxhelp:~# apt-get install browser-plugin-vlc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  browser-plugin-vlc
.
.
Unpacking browser-plugin-vlc (2.0.6-4) ...
Setting up browser-plugin-vlc (2.0.6-4) ...

The installation of VLC application is complete. Type the application name in the Ubuntu dashboard and click on the icon to run the application.

The VLC media player is running successfully.

The installation of VLC media player is done without any glitches.

FAQ
Q
Where are the VLC screenshots get saved?
A
If you haven't changed the snapshot directory in your preferences, your screenshots should go to


linux/Unix: $(HOME)/.vlc/
Q
Where does VLC store its config file?
A
Config file of Vlc are found in

# $(HOME)/.config/vlc/vlcrc (v0.9.0 and above) # $(HOME)/.vlc/vlcrc (v0.8 and older)
Q
How can I take screenshots in VLC ?
A
To take a snapshot of the video displayed by VLC, you just need to press the pre-defined snapshot hotkey:



Windows/Linux/Unix: Ctrl + Alt + S
Q
How can I convert AVI to MP4 format using VLC?
A
In VLC, Click on the Media menu in VLC, and then click on Convert / Save-> Select the file name ->Select video format and convert.
Q
VLC is not supposed to be run as root?
A
After installing VLC media player you can't open it with your root user account, so you need to give the privilege for the root user in-order to open VLC media player. Now execute below command to resolve this issue.



#sed -i 's/geteuid/getppid/' /usr/bin/vlc