Wine Cellar

How to: Create a new wine prefix or bottle

When running Windows apps under Linux via wine, it’s always a good idea to have each app in it’s own sandbox or wine bottle if you will. After you get an app running with wine, you can store the bottle and grab it from the cellar when you need it.

A wine bottle, is similar to a clean windows install. When creating it, you can specify if the architecture should be 32 or 64bit, which basically emulates a 32 or 64bit machine with windows. You can also keep for each bottle individual settings via winecfg.

Here is how you can create one:

winearch=win32 WINEPREFIX="/opt/cellar/civ5" winecfg

This will create a clean 32bit wine prefix, stores everything in the “/opt/cellar/civ5” folder and opens the winecfg app for that prefix. Note that in order to use that prefix, you must always make sure you specify it:

winearch=win32 WINEPREFIX="/opt/cellar/civ5" wine notepad

I keep all my wine bottles on an external HDD mounted under /opt/cellar. As long as the correct wine version is installed on each machine for that bottle, i can take the HDD and use the apps on any Linux machine.

Wine Cellar

How to: Install latest wine in Ubuntu

The wine version that comes with Ubuntu by default is often old so a good idea is to add the official wine repo to the apt sources and install from there:

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

Install Google Chrome on Linux using wine

Google launched a few days ago a new web browser, that has some interesting features which might give FF 3, Safari and IE8 a run for their money. Although not yet for Linux, i’ve put together (following some ubuntuforms posts) a detailed tutorial to help you Install Google Chrome on Linux using wine >= 1.1.3.

1. install wine (follow the official instructions

2. make sure wine >= 1.1.3 is installed by entering the following in the terminal
wine –version

3. Download winetricks and install it
wget cp winetricks /usr/sbin

4. Install some dependencies for Chrome (Flash is not mandatory but will allow you to play youtube videos :-))winetricks riched20 riched30 flash
4.1 Install allfonts (this is optional)
winetricks allfonts

5. Download the Chrome installer

6. Install Chrome (just follow the onscreen instructions and make sure you create a desktop icon)
wine chrome_installer.exe

7. After the install is finished, you won’t be able to use Chrome as it needs a bit more hacking. Just close it and opent with your favorite editor the Google Chrome.desktop icon created on your Desktop. Make sure your add “–new-http –in-process-plugins”, without the quotes at the end of this line:

Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\windows\profiles\mimir\Local Settings\Application Data\Google\Chrome\Application\chrome.exe”

to make it look like this:
Exec=env WINEPREFIX=”/home/mimir/.wine” wine “C:\windows\profiles\mimir\Local Settings\Application Data\Google\Chrome\Application\chrome.exe” –new-http –in-process-plugins

Save the file!

NOTE: mimir is my username, you will have something like /home/yourusername/.wine

8. Go to desktop and start Google Chrome


Checking some youtube videos 🙂


HTTPS Note: it seems that the https is not working due to the fact that wine is missing TSL/SSL features, the dlls that should handle that being just stubs at the moment. If you have any information regarding this, please share.

Wine appdb page for Chrome
Install Google Chrome On Mac OS X using wine