In this post, I will show you different ways of installing Wine on Ubuntu, and in my tutorial, I’m using Ubuntu 15.10.
A. Installing in the simplest and most common way
- Using the command line
In Ubuntu, open a Terminal using the shortcut Ctrl + Alt + T then type the following command:
sudo apt-get install wine
You can also press the [Tab] key to see more options, like this:
You can change the “wine” parameter in the command above to “wine1.4” or “wine1.6”. It depends on which version of Wine you want to install.
By default, just leave it “wine” and hit [Enter]. You will then be asked to provide your password, just type it (it is not visible) and hit [Enter] one more time to start the installation.
2. Using the Ubuntu Software Center
Firstly, search for the Ubuntu Software Center
Then, search for Wine
Click on the Install button as shown in the picture above. Then, you’ll be asked to provide your password. Type in in the box and hit [Enter] to start the installation.
B. Installing using a PPA Repository
There are two main steps to install Wine in this way. I’ll guide you through them.
- Adding the PPA Repository
- Using the command line
Open the Terminal and type the following command:
sudo add-apt-repository ppa:ubuntu-wine/ppa
You will be asked for your password and your confirmation of adding the repository. Type your password and hit [Enter] to continue.
After adding the repo, you need to update the APT package information:
sudo apt-get update
- Using the User Interface
Search for the Software and Updates
Navigate to the Other Sofwares tab:
Click on the Add.. button and then paste the line below to the box:
ppa:ubuntu-wine/ppa
Click Add Source and close the window. You will be prompted to update the APT package information.
Click Reload and… wait for it 😀
Now, you’ve done adding the PPA repository. Let’s move on to the next step.
2. Installing Wine using command line
Open a Terminal window and type the following command:
sudo apt-get install wine
This time, let’s press [Tab] to see if there’s any difference:
Notice the differences? We now have even more options than before. Here we’ve got the newest version – wine1.8. And this means that using a PPA Repository provides you the lastest version of Wine.
This time, I replaced “wine” in the command by “wine1.8”
I didn’t encountered any errors during the installation:
And done!
The first time you run Wine, you will be asked to install Wine-mono and Wine-gecko. Just click Install and everything will be okay.
Hope you find my tutorial useful. If you encounter any problems during the installation, let me know in the comments.