2

When I try to install VLC using apt-get, I get the following error:

parameswaran@parameswaran-Compaq-Presario-CQ61-Notebook-PC:~$ sudo apt-get install vlc
[sudo] password for parameswaran: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package vlc

It's happening in my Ubuntu i386 Compaq Presario cq61, and I'm new Ubuntu user.

Somebody please tell me how to solve this issue and install packages in my laptop?

rusty
  • 16,917

2 Answers2

2

vlc is in universe repository. Most probably that's not enabled. You can either go to software center to add it run

 sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

(copied from How do I enable the "Universe" repository?)

After that, run

 sudo apt-get update
 sudo apt-get install vlc
Olli
  • 9,129
-2

Open up the terminal and run software-properties-gtk, change server to main server then run:

sudo apt-get update
sudo apt-get install vlc
Parto
  • 15,647