Install Wine

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.wine.sh";
echo "wget $URL -O - | bash -";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

winetricks

sudo apt-get install -y winetricks
#sudo winetricks --self-update
 
# winetricks BASH completion
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks.bash-completion -O /etc/bash_completion.d/winetricks
source /etc/bash_completion.d/winetricks

Downgrade to Wine 1.2.x (64 bit)

sudo apt-get remove wine1.4
cd /tmp
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/w/wine1.2/wine1.2_1.2.3-0ubuntu1_amd64.deb
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/n/nss-mdns/lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
sudo dpkg -i wine1.2_1.2.3-0ubuntu1_amd64.deb lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
wine --version

OPTIONAL: fake ie6 installation

wget kegel.com/wine/winetricks -P /tmp; sh /tmp/winetricks fakeie6

Debug

wine --version

Compile wine (deprected)

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get build-dep wine1.3
sudo apt-get --build source wine1.3
./configure
make

Links
http://appdb.winehq.org/ - supported applicatinos
http://www.winehq.org/site/download-deb - Wine for Debian based distributions
http://wiki.winehq.org/AdobePhotoshop
http://wiki.winehq.org/AdobeAcrobatPro