Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem with installing wine into my netbook running ubuntu 12.04, it says that I need to insert the installation CD, but i installed ubuntu through my USB pendrive. How can I do for installing it?

share|improve this question
How are you trying to install wine? "sudo apt-get install wine" right? – harisibrahimkv May 21 '12 at 11:03

You need to edit gksu gedit /etc/apt/source.list

and remove any lines that start with deb cdrom: like so

deb cdrom:[Ubuntu 12.04 LTS Precise Pangolin - Alpha amd64 (20120321)]/ dists/precise/restricted/binary-i386/

then save that file and then run sudo apt-get update (you may have to close software center for this command to run correctly)

and then try again

share|improve this answer

If you use sudo apt-get install wine, you may get the old version of wine.

It is recommended to use the sources at PPA.

The try sudo add-apt-repository ppa:ubuntu-wine/ppa.

sudo apt-get update

sudo apt-get install wine

May this would help you.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.