How To Install Wine 2.6 on Ubuntu

How To Install Wine 2.6 on Ubuntu
WINE is an excellent compatibility software which is used to run Windows-based applications on POSIX-compliant OS like Macintosh, Linux and BSD Linux.The biggest advantage Wine offers is its performance for memory and speed. Instead of emulating a complete Windows environment internally, Wine just translates the API calls into POSIX calls at runtime.

WINE stands for Wine Is Not an Emulator.

Wine Features

Wine has a great set of features which makes it an excellent companion when it comes to compatible softwares to run other OS applications on POSIX-based systems. Some of these features are:

  • Excellent User-interface, just like MacOS and Android
  • OpenGL based games and applications are supported
  • Desktop-in-a-box or mixable windows
  • Enhanced Metafile (EMF) and Windows Metafile (WMF) driver
  • Modems, serial devices supported

Read a lot more features supported by Wine here.

Installing Wine

Let’s get started by installing Wine on an Ubuntu-based machine.

Adding Wine to APT repository

Before we can start installing wine using the apt tool, we need to add wine repository to the Ubuntu ppa:

sudo add-apt-repository ppa:wine/wine-builds

We can see the following output once this command is used:

Updating repositories

We can now update the apt repository so that it contains the latest version of the libraries we need to install for wine:

sudo apt-get update

Installing Wine

We can install the wine tool simply by a single command:

sudo apt-get install –install-recommends wine-staging

This can take a while as wine has many packages which are needed to be installed.

As a final step, we install the winehq staging build:

sudo apt-get install winehq-staging

Output will be:

Wine Configuration

Once the installation for wine has completed, we can configure it and use our own properties. To start the config process, run the following command:

winecfg

Once we run this command, you might face issues of some missing packages. Just follow along with the installation presented by Wine and eventually, you will see:

Notice how you can even select the Windows version in this configuration window. Although no changes are needed in any config for now, feel free to play with the configuration of your choice.

Removing WINE

Removing Wine completely is also possible using just a few commands. Start with purging the apt-get repository:

sudo apt-get install ppa-purge

Finally, we can remove wine builds from ppa:

sudo ppa-purge ppa:wine/wine-builds

This will be a quick command and will take only seconds to execute and all wine libraries will be removed once this command is done executing.

Related Posts
Leave a Reply

Your email address will not be published.Required fields are marked *