ptnega's technical blog

Installing Wine on Ubuntu 15.10

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

  1. 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:

Screenshot from 2015-12-25 23-54-13

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.

Screenshot from 2015-12-26 00-48-46

2. Using the Ubuntu Software Center

Firstly, search for the Ubuntu Software Center

Screenshot from 2015-12-26 00-11-10

Then, search for Wine

Screenshot from 2015-12-26 00-12-01

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.

  1. 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.

Screenshot from 2015-12-26 01-25-48

After adding the repo, you need to update the APT package information:

sudo apt-get update

Screenshot from 2015-12-26 01-28-29

  • Using the User Interface

Search for the Software and UpdatesScreenshot from 2015-12-26 00-11-10

Navigate to the Other Sofwares tab:

Screenshot from 2015-12-26 00-13-05

Click on the Add.. button and then paste the line below to the box:

ppa:ubuntu-wine/ppa

Screenshot from 2015-12-26 00-12-55

Click Add Source and close the window. You will be prompted to update the APT package information.

Screenshot from 2015-12-26 00-13-09

Click Reload and… wait for it 😀

Screenshot from 2015-12-26 00-13-12

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:

Screenshot from 2015-12-25 23-55-56

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:

Screenshot from 2015-12-26 00-04-34

Screenshot from 2015-12-26 00-07-37

And done!

Screenshot from 2015-12-26 00-08-08

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.

Screenshot from 2015-12-26 00-09-00

Hope you find my tutorial useful. If you encounter any problems during the installation, let me know in the comments.

Leave a comment »