this is obsolete doc -- see http://doc.nethence.com/ instead
Configuring Centos 6 for Wine
Installing and configuring the base system
Install the system (eventually press TAB and add 'text' to the line...)
Get access to the network, connect with your favorite ssh client and proceed,
yum install system-config-network-tui -y
system-config-network-tui
vi /etc/sysconfig/network-scripts/ifcfg-eth0 (ONBOOT=yes)
yum install screen wget mlocate -y
yum install xterm -y
yum install twm -y
yum groupinstall "X Window System" -y
yum groupinstall "Development tools" -y
#yum groupinstall "Additional Development" -y
Configure X,
cd /etc/X11/
X -configure
mv /root/xorg.conf.new .
cp xorg.conf.new xorg.conf
Note. if you're running this system as guest you'll have to install the 'tools' or 'guest additions' first.
Note. on virtualbox you should either restart the hal daemon or restart the system to get the mouse and the keyboard working with X.
Add some user to use X,
useradd -g users -m USERNAME
passwd USERNAME
Login as user and start X,
startx
Ok at this point you should have TWM running.
Requirements
You'll need the EPEL repository for both, Qvwm's dependencies and to install Wine,
wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm
rpm -ivh epel-release-6-5.noarch.rpm
Installing and configuring Qvwm
Install dependencies for Qvwm (provided by EPEL),
yum install imlib-devel -y
yum install libXScrnSaver-devel -y
yum install esound-devel esound-libs esound-tools -y
#yum groupinstall "Legacy X Window System compatibility"
Fix some shared object files for Qvwm to start,
cd /usr/lib/
ln -s libImlib.so.11.0.0 libImlib.so.1
Fetch and compile Qvwm,
wget http://prdownloads.sourceforge.net/qvwm/qvwm-base-30042007.tar.gz
tar xzf qvwm-base-30042007.tar.gz
cd qvwm/source/qvwm/
./configure
make
make install
wget http://prdownloads.sourceforge.net/qvwm/qvwm-utils-30042007.tar.gz
tar xzf qvwm-utils-30042007.tar.gz
cd qvwm-utils/
cd qvwm-background/
ln -sf /usr/share/automake-1.11/install-sh
ln -sf /usr/share/automake-1.11/depcomp
ln -sf /usr/share/automake-1.11/missing
./configure
make
make install
#wget http://www.csg.is.titech.ac.jp/~kourai/qvwm/archive/qvwm/qvwm-1.1.12.tar.gz
#tar xzf qvwm-1.1.12.tar.gz
#cd qvwm-1.1.12/
cat > .xinitrc <<EOF9
#!/bin/sh
exec qvwm
EOF9
Installing and configuring Wine
Install Wine (provided by EPEL),
yum install wine wine-openal
Prepare for wine-geko installation,
wget http://downloads.sourceforge.net/wine/wine_gecko-1.5-x86.msi
mkdir -p /usr/share/wine/gecko
mv wine_gecko-1.5-x86.msi /usr/share/wine/gecko/
Install Winetricks,
yum install cabextract
wget http://winetricks.org/winetricks
chmod +x winetricks
sh winetricks corefonts vcrun6
Additional notes
If you need UnRAR,
wget http://rarlab.com/rar/rarlinux-4.1.1.tar.gz
tar xzf rarlinux-4.1.1.tar.gz
cd rar/
make install
Note. to use it (eventually as user),
#unrar x archive.rar
References
http://ubuntuforums.org/showthread.php?t=777759
https://forums.virtualbox.org/viewtopic.php?t=15679
http://wiki.winehq.org/Gecko
http://wiki.winehq.org/winetricks