Wine is a program that you can make Windows programs run in Linux,you may want to play games like War3,CS in your ubuntu or run Internet Explorer and all will be done by wine.

To install the latest version of wine,first open software sources at System–>Administration–>Software Sources,select Third-Party Software tab.


Click Add to add following

For ubuntu 9.04:

deb jaunty main #WineHQ - Ubuntu 9.04 "Jaunty Jackalope"

For ubuntu 8.10:

deb intrepid main #WineHQ - Ubuntu 8.10 "Intrepid Ibex"

For ubuntu 8.04:

deb hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"

Close it and reload when prompted to.

Now,open a terminal window (Applications->Accessaries->Terminal)and add GPG key by this command:

wget -q -O- | sudo apt-key add -

Update and install latest wine in terminal:

sudo apt-get update
sudo apt-get install wine