18

Can someone please explain how I can install wineInstall wine in the following ways?

  1. By using the package manager?
  2. By downloading and installing a pre-built package?
FOSS DIVERSER
  • 908
  • 1
  • 7
  • 19

4 Answers4

20
  1. You can install wine Install wine using the Ubuntu Software Centre and search for "wine", select the first one and press install. Also you can install PlayOnLinux which is a GUI for helping you install Windows Software into Ubuntu Linux.

    Software Center screenshot

  2. Usually there are no pre-downloaded files in Linux world because you also have to find and download all the dependencies!!! That is why it is better to install programs through Software Centre that will deal with any dependencies.

Salih Emin
  • 2,833
  • 18
  • 19
  • could you tell me to install it through pre- downloaded wine.tar file? – FOSS DIVERSER Nov 30 '10 at 14:29
  • if you want to try to compile the source code you can download it from here http://ibiblio.org/pub/linux/system/emulators/wine/wine-1.2.1.tar.bz2 Read the "Read Me" file that is included for details to how compile and install wine. – Salih Emin Nov 30 '10 at 14:35
  • @SalihEmin The first option that I have now (+2 years later) is the meta package. Should I install it or the first option of your screenshoot (Microsoft Windows Compatibility Layer (BE and lib))? – Lucio Mar 19 '13 at 19:17
  • @Lucio if the first option is available, then install it. If not the metapackage should pull the same packeges – Salih Emin Mar 20 '13 at 21:15
  • 1
    I didn't know if any option would install the same packages or not so I was very confused. But now I understand that [the meta-package will install all the package necessary](http://askubuntu.com/q/66257/62483). Thanks for your reply! – Lucio Mar 20 '13 at 21:18
  • This [no longer works as of Feb 2017](http://askubuntu.com/questions/879304/wine-2-0-says-it-supports-office-2013-how-do-i-actually-install-it). – Dan Dascalescu Feb 16 '17 at 07:25
9

You can install it through Synaptic or from the command line:

sudo apt-get install wine
Oli
  • 289,791
  • 117
  • 680
  • 835
FOSS DIVERSER
  • 908
  • 1
  • 7
  • 19
4

You can install it via the wine PPA. In the terminal type the following:

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine wine1.8

That should leave you with the latest 1.8.x version.

Now to have a working and enhanced Wine environment for your games, I suggest you use winetricks to install additional components to have better compatibility with games for example. Follow this links to have a better working system:

How do I install Half-Life 1 and 2? - Which covers winetricks usage.

Shader Model 3.0 not recognized in Wine - Which covers some information regarding Shader Model 3.0. At least until it is supported in Wine.

World of Warcraft on PlayOnLinux: graphics problem - Which checks to see if you have correct OpenGL support.

How do I install the Nvidia drivers? - Which covers driver installation to have better support for OpenGL

Adjusting resolution for individual Wine programs - Which covers special cases where you would want to edit the resolution or other settings related to Wine and multiple apps.

Luis Alvarado
  • 209,003
  • 167
  • 543
  • 707
  • 1
    This link is a much simpler way of doing the same thing: http://www.winehq.org/download/deb – Scott Ritchie Feb 01 '11 at 11:26
  • 1
    I can not agree more. Even more if you are THE Scott Ritchie hehe. Anybody read this, follow his method. It is the reason am using wine in the first place ;) On a side note: Do not know if you could add `sudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get update && sudo apt-get remove wine && apt-get install wine1.3` to your ppa, just like a small note to users that want to just type it. That way it makes sure the user has wine 1.3.x installed from your ppa – Luis Alvarado Feb 01 '11 at 13:46
  • 1
    Re *WAY 4*: I'm not 100% clear about the whys and wherefores, but `software-properties-gtk` is a graphical application... `sudo` is for command line apps, `gksu/gksudo` for graphical ones... [Why should I use gksudo for Gtk apps instead of sudo?](http://askubuntu.com/questions/51572/why-should-i-use-gksudo-for-gtk-apps-instead-of-sudo) ... Quoting from a link on that page: *Bottom line: most of the time when you use sudo for graphical applications, it's fine. Some of the time, though, it is not fine, and is, in fact, extremely bad.* – Peter.O Jul 09 '11 at 22:41
  • I removed the step 4 since is redoing the gksu part but from my own experience doing sudo for a gui app has always been fine and you would need to show me where the "extremely bad" part comes in. Both sudo and gksu are calling the same procedures to load the app as a semi-root for the time the app is opened. – Luis Alvarado Jul 10 '11 at 17:23
1

Here is an article. This will help you to install wine from source : http://tuxarena.blogspot.com/2009/06/3-ways-to-install-latest-wine-in-ubuntu.html

Check it out.

aneeshep
  • 29,975
  • 14
  • 64
  • 77