Curufir
July 29th, 2005, 07:05 PM
A large number of folks in the web browsing world use this browser and strangely enough 'Make them use a standards compliant browser' doesn't seem to be a valid argument for not supporting it when designing websites :mad: . So it's handy to have a version of IE lying around to test pages against if you do any web design work. The problem is that IE6 REALLY does not like the version of Wine in CVS or the repositories (I may just have got a bad version of Wine from CVS).
Open up a terminal Applications->System Tools->Terminal
We're going to handle everything in a temporary directory, so make one.
cd ~/
mkdir temp
cd temp
Download the debs for the old version of Wine that we'll be using.
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/libwine_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/libwine-alsa_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/wine-utils_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/wine_0.0.20041019-1.3_i386.deb
Download the winetools utility.
wget http://ds80-237-203-29.dedicated.hosteurope.de/wt/winetools-212jo.tar.gz
Install the Wine debs we just downloaded.
sudo dpkg -i libwine_0.0.20041019-1.3_i386.deb
sudo dpkg -i wine_0.0.20041019-1.3_i386.deb
sudo dpkg -i libwine-alsa_0.0.20041019-1.3_i386.deb
sudo dpkg -i wine-utils_0.0.20041019-1.3_i386.deb
Synaptic and the Ubuntu updater will continuously complain about there being a new version of Wine available. We stop this happening by adding some rules to the end of the /etc/apt/preferences file.
cp /etc/apt/preferences ./preferences
cat >> preferences << "EOF"
Package: libwine
Pin: release o=now
Pin-Priority: 990
Package: libwine-alsa
Pin: release o=now
Pin-Priority: 990
Package: wine-utils
Pin: release o=now
Pin-Priority: 990
Package: wine
Pin: release o=now
Pin-Priority: 990
EOF
sudo cp /etc/apt/preferences /etc/apt/preferences.bak
sudo mv ./preferences /etc/apt/preferences
Decompress and install Winetools.
tar xvzf winetools-212jo.tar.gz
cd winetools-212jo
sudo sh ./install
Winetools uses the environment variable SFMIRROR to determine the sourceforge mirror from which it downloads various files. The default mirror is down, or otherwise unavailable, so we set it to one that works (You will need to do this every time you want to use wt2. If that annoys you then alter ~/.bashrc accordingly).
export SFMIRROR="http://kent.dl.sourceforge.net/sourceforge/"
Run the Winetools utility.
wt2
You will almost immediately get a dialogue from Wine saying this:
You have started Wine, but we cannot find a Wine
configuration file.
This is normal if you have never run Wine before.
If this is the case, select the 'Configure Wine'
option, below, to create a configuration file.
DO NOT CHOOSE THE CONFIGURE OPTION. Winetools will do the configuration for us, so just press 'Proceed'.
As you continue Wine will start showing you dialogue boxes. Some are indicating an application has been started (Dismiss these, or use the disable option to turn them off for good). Some indicate an application has exited badly "Wine has exited with a failure status of 1." (Hit Okay and ignore them).
Choose Base Setup from the Winetools menu. Work your through the options on the list from top to bottom (If the same option is available in multiple languages then choose one language only).
Wine experiences a huge error once Internet Explorer has finished installing. This brings up the wine debugger in the terminal (The prompt changes to wine-dbg>). Type "quit" to get rid of the debugger and pretend it didn't happen.
You may want to install other software using the Winetools utility (I advise installing at least the fonts).
Winetools creates a ~/bin directory containing small scripts to start the various applications (E.g. ~/bin/ie6 will start IE6). This directory doesn't appear in a normal Hoary PATH, so you have to type in ~/bin/<script_name> every time. If you would prefer to just type in <script_name> then alter ~/.bashrc to add ~/bin to your PATH.
cat >> ~/.bashrc << "EOF"
# Prepend ~/bin to PATH if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
EOF
Open a new terminal and type 'ie6' to begin the CSS debugging nightmare :grin: .
NOTE: The ie4linux script (http://www.tatanka.com.br/ies4linux/) will provide you with ie5, ie5.5 and ie6 separate from your default Wine drive. It is reported to work with current CVS, so that script may be more beneficial to some than this howto.
** Edited for clarity and to get away from the 90% debacle
Open up a terminal Applications->System Tools->Terminal
We're going to handle everything in a temporary directory, so make one.
cd ~/
mkdir temp
cd temp
Download the debs for the old version of Wine that we'll be using.
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/libwine_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/libwine-alsa_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/wine-utils_0.0.20041019-1.3_i386.deb
wget http://unc.dl.sourceforge.net/sourceforge/adambots-live/wine_0.0.20041019-1.3_i386.deb
Download the winetools utility.
wget http://ds80-237-203-29.dedicated.hosteurope.de/wt/winetools-212jo.tar.gz
Install the Wine debs we just downloaded.
sudo dpkg -i libwine_0.0.20041019-1.3_i386.deb
sudo dpkg -i wine_0.0.20041019-1.3_i386.deb
sudo dpkg -i libwine-alsa_0.0.20041019-1.3_i386.deb
sudo dpkg -i wine-utils_0.0.20041019-1.3_i386.deb
Synaptic and the Ubuntu updater will continuously complain about there being a new version of Wine available. We stop this happening by adding some rules to the end of the /etc/apt/preferences file.
cp /etc/apt/preferences ./preferences
cat >> preferences << "EOF"
Package: libwine
Pin: release o=now
Pin-Priority: 990
Package: libwine-alsa
Pin: release o=now
Pin-Priority: 990
Package: wine-utils
Pin: release o=now
Pin-Priority: 990
Package: wine
Pin: release o=now
Pin-Priority: 990
EOF
sudo cp /etc/apt/preferences /etc/apt/preferences.bak
sudo mv ./preferences /etc/apt/preferences
Decompress and install Winetools.
tar xvzf winetools-212jo.tar.gz
cd winetools-212jo
sudo sh ./install
Winetools uses the environment variable SFMIRROR to determine the sourceforge mirror from which it downloads various files. The default mirror is down, or otherwise unavailable, so we set it to one that works (You will need to do this every time you want to use wt2. If that annoys you then alter ~/.bashrc accordingly).
export SFMIRROR="http://kent.dl.sourceforge.net/sourceforge/"
Run the Winetools utility.
wt2
You will almost immediately get a dialogue from Wine saying this:
You have started Wine, but we cannot find a Wine
configuration file.
This is normal if you have never run Wine before.
If this is the case, select the 'Configure Wine'
option, below, to create a configuration file.
DO NOT CHOOSE THE CONFIGURE OPTION. Winetools will do the configuration for us, so just press 'Proceed'.
As you continue Wine will start showing you dialogue boxes. Some are indicating an application has been started (Dismiss these, or use the disable option to turn them off for good). Some indicate an application has exited badly "Wine has exited with a failure status of 1." (Hit Okay and ignore them).
Choose Base Setup from the Winetools menu. Work your through the options on the list from top to bottom (If the same option is available in multiple languages then choose one language only).
Wine experiences a huge error once Internet Explorer has finished installing. This brings up the wine debugger in the terminal (The prompt changes to wine-dbg>). Type "quit" to get rid of the debugger and pretend it didn't happen.
You may want to install other software using the Winetools utility (I advise installing at least the fonts).
Winetools creates a ~/bin directory containing small scripts to start the various applications (E.g. ~/bin/ie6 will start IE6). This directory doesn't appear in a normal Hoary PATH, so you have to type in ~/bin/<script_name> every time. If you would prefer to just type in <script_name> then alter ~/.bashrc to add ~/bin to your PATH.
cat >> ~/.bashrc << "EOF"
# Prepend ~/bin to PATH if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
EOF
Open a new terminal and type 'ie6' to begin the CSS debugging nightmare :grin: .
NOTE: The ie4linux script (http://www.tatanka.com.br/ies4linux/) will provide you with ie5, ie5.5 and ie6 separate from your default Wine drive. It is reported to work with current CVS, so that script may be more beneficial to some than this howto.
** Edited for clarity and to get away from the 90% debacle