Wine is a free and open source implementation of the Windows API which allows you to run Windows applications on Ubuntu (and other Linux distros, Mac OS, Solaris, etc.) In this post you will see how to install the latest version of Wine.
Before installation, get the PGP key for the WineHQ APT repository. This key will be used by your system as a mean to authenticate the repository. You can get the PGP key from here (right-click and save to your desktop).
Then go to System -> Administration -> Software Sources. Enter your password and select the “Third-Party Software” tab. Click Add, copy the following line of code in the box that appears and click Add Source:
deb http://wine.budgetdedicated.com/apt intrepid main #WineHQ – Ubuntu 8.10 “Intrepid Ibex”
After the repository has been added, select the “Authentication” tab, click on the Import Key File button and select the PGP file that you downloaded earlier. Then press the Close button.
Now you can install Wine by opening a new Terminal window (Applications -> Accessories -> Terminal) and executing the following command:
sudo apt-get install wine
Alternativel, if you don’t want to use wine, you can use Add/Remove. Go to Applications -> Add/Remove, and search for Wine. After you find it, select it and click the Apply Changes button. This will begin the installation.
Once the installation is complete, you can install and run Windows applications on Ubuntu. You can find Wine in the Applications menu.
The newest versions of Wine available are usually in beta stages, but they do work fine. If you want to install an older (but stable) version, you can download the .deb files from here and install by double-clicking on them.