Adding the WineHQ Repository:
Open the Software Sources menu by going to System->Administration->Software Sources. Then select the Other Software tab and click Add.
Then, copy and paste the line below.
Click close to finish, and then reload the package information when prompted. If you have Wine installed already, update manager will offer to upgrade you to the stable Wine 1.2. To get the most recent Wine 1.3 beta, you must install the wine1.3 package or click this link.
Upgrading to a new version of Ubuntu
If you are upgrading the entire system, such as going from Ubuntu 10.04 to 10.10, you will need to come back to this page and add the repository again. The built in update manager will not switch the Wine repository automatically.
Alternative Command Line Instructions for Installing Wine:
It is also possible to add the Wine PPA and install via the terminal. This may be useful on Kubuntu, Xubuntu, and other Ubuntu derivatives.
sudo add-apt-repository ppa:ubuntu-wine/ppa
Then update APT’s package information by running ‘sudo apt-get update‘. You can now install Wine by typing ‘sudo apt-get install wine1.3‘.