How to install VLC Player in Ubuntu Linux

Learn how to install VLC Payer in Ubuntu Linux step by step. VLC Player can be installed in Ubuntu Linux in two ways; from Ubuntu Software Center and from command line through apt-get command. This tutorial explains both methods in detail with examples including how to solve unmet dependency error for VLC.


VLC is a open source project. VLC player can play most multimedia files as well as DVD, Audio CD, VCD, and various streaming protocol. VLC is absolutely free, it comes without any spyware, Ads or User Tracking code or malware.

Installing VLC from Ubuntu Software Center.

Open Ubuntu Software center

ubuntu open software center

Type VLC in search box and press enter

ubuntu install vlc search

Select VLC from list and click on install.

ubuntu install vlc list

Type your super user password. Super user is the user which we create during the installation.

ubuntu install vlc ath

Wow! We have installed VLC in three easy clicks. We recommended you to use always this method as long as possible. Because it would install VLC from official repository. But for some reason it fails you can use other PPA from command line.

Installing VLC from command line.


Press ALT+CTRL+T to open the terminal. Run following command to add VLC repository.

sudo add-apt-repository ppa:videolan/stable-daily

ubuntu install vlc add repo

Run following command to update the repositories

sudo apt-get update

ubuntu install vlc update

Run following command to install VLC

sudo apt-get install vlc

ubuntu install vlc command

Confirm when it asks

If it returns without any error congratulation we have successfully installed VLC.

To launch VLC click on Ubuntu button and search for VLC. Click on VLC icon

ubuntu install vlc in lancher

For first time it would show privacy policy.

ubuntu install vlc network

VLC player is ready to use.

ubuntu install vlc play

In some circumstances we may get unmet dependency error for VLC.

From software center installation fails with following error

ubuntu install vlc graphic dependencies

From command line installation fails with following error

ubuntu install vlc command dependencies

Troubleshooting unmet dependency error for VLC

Open software center.

ubuntu open software center

From edit click on software source

ubuntu edit software source

Under Ubuntu Software tab, enable all the repositories except source code and click on download from

ubuntu software source ubuntu software default

Select other from download drop down

ubuntu software source ubuntu software download from

Now click on select best server

ubuntu software source ubuntu software best server

You need to authenticate this with super user password.

ubuntu software source ubuntu software auth

Ubuntu will perform several testing to select best server for your location.

ubuntu software source ubuntu software download testing

Once Ubuntu select best server for you click on chose server

ubuntu software source ubuntu software chose server

Now click on other software tab.

One of the most common causes of unmet dependencies is PPAs, especially when used to upgrade the existing package in Ubuntu repositories. Remove any entry if you found for VLC. And click on close.

ubuntu software source other software

That all setting we need to in software center.

Now press ALT + CTRL+T key combination to open the terminal and run following command

 sudo apt-get clean

This command would clears out the local repository of retrieved package files (the .deb files). It removes everything but the lock file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/. This is very helpful especially when you are facing unmet dependency errors.

Now run following command.

sudo apt-get -f install

The -f here stands for "fix broken". Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencies, if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.

ubuntu clean install command

Now run following command

sudo apt-get update

This command would update the repository. Any change which you have made in software source from Ubuntu software center will also take place.

Now run following command

sudo apt-get upgrade

This command would update the Ubuntu. This will ensure that you will get the latest Ubuntu. During the upgrading process you need to confirm several actions.

ubuntu update and upgrade comand

After upgrading reboot the system.

After reboot try again to install VLC from command line method.

sudo add-apt-repository ppa:videolan/stable-daily
sudo apt-get update
sudo apt-get install vlc

If you still have issue submit your issue to official Ubuntu forum [].


ComputerNetworkingNotes Ubuntu Linux Tutorials How to install VLC Player in Ubuntu Linux