Can someone please explain how I can install wine in the following ways?
- By using the package manager?
- By downloading and installing a pre-built package?
You can 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.
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.
You can install it through Synaptic or from the command line:
sudo apt-get install wine
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.
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.