Photoshop CC 2015 on Ubuntu 16.04 “Xenial”
Photoshop CC 2015 is listed with a “Gold” rating at WineHQ which is great news. I can confirm that it runs under Ubuntu Xenial 16.04.
In addition there are a lot of other apps and games that can be installed. Below I give examples for installing Kindle and Notepad++.
We are going to be installing the latest development version of Wine from the official WineHQ PPA. We will also need the most recent development version of winetricks. See below for complete installation instructions.
Here is the page at WineHQ for Photoshop CC 2015 (there are also pages for other versions).
Here’s the entire process in a nutshell:
Install very latest Wine from the official Wine PPA:
sudo dpkg --add-architecture i386; sudo add-apt-repository ppa:wine/wine-builds; sudo apt-get update; sudo apt-get install --install-recommends winehq-devel mono-complete
Install the very latest winetricks:
(Make sure you have a ~/bin directory. Also check your ~/.profile, it should be set to include ~/bin in $PATH although it is not strictly required in the steps below.)
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks; chmod +x winetricks; mv winetricks ~/bin
Create 32-bit prefix exclusively for Photoshop:
WINEARCH=win32 WINEPREFIX=~/.photoshop32 ~/bin/winetricks
Select Install an application but once the list of available applications show, click Cancel.
In the next window that appears select Install a Windows DLL or Component. In the list of available components select and install the following:
atmlib gdiplus msxml3 msxml6 vcrun2005 vcrun2005sp1 vcrun2008
Back at the previous screen select Install a font and select and install the following:
corefonts lucida tahoma unifont
Back at the previous screen select Change settings. Select the following and click OK:
Note that the list of above components reported to work by different people at the WineHQ site varies but for certain you need atmlib and gdiplus and you must set the Windows version to win7. You may want to try changing or removing other components.
As noted on the WineHQ page for Photoshop CC 2015 there may font rendering issues related to the gdiplus library. In winetricks select Run winecfg and then in the winecfg Libraries tab select *gdiplus and press the Edit button. Change it from Native (Windows) to Builtin (Wine).
Install Photoshop (32-bit):
WINEPREFIX=~/.photoshop32 WINEARCH=win32 wine Set-up.exe
The installer will open and you can run a normal install.
IMPORTANT: On my system at about 25% into the installation it appears to fail and says “Installation Failed. Your installation encountered errors.” However the installation is still running in the background. Its important to wait several minutes and allow the installation to complete. Wait for all hard disk activity to cease.
Once it is installed there will be an entry in
~/.local/share/applications/wine/Programs/ named Adobe Photoshop CC 2015 (32 Bit).desktop
In the Plasma menu under Applications -> Wine -> Programs there is an entry for Adobe Photoshop CC 2015 (32 Bit) and it does run.
If you need to wipe everything and try again
rm -rf ~/.photoshop32 ~/.local/share/applications/wine*
This wipes everything and gives you a completely clean slate. Obviously use with caution if you have other Wine apps installed.
Installing other apps (optional):
I recommend installing apps to their own directory, and using 32-bit over 64. To install Kindle just run:
WINEARCH=win32 WINEPREFIX=~/.kindle32 ~/bin/winetricks
Choose Install an application and you will find Kindle in the list of available applications.
To install Notepad++ you would do something like:
WINEARCH=win32 WINEPREFIX=~/.npp ~/bin/winetricks
then select Notepad++ from the list of applications.
You get the idea. Just remember the key things: you may need to install fonts and should usually set the Windows version to win7 in the Change settings section. You may also need to install Windows components or DLL’s which is beyond the scope of this article.
When you run winetricks you’ll see there’s a good list of applications and games readily available.
You could also create a generic container for 32-bit applications:
WINEPREFIX=~/.wine32 WINEARCH=win32 ~/bin/winetricks
And you can also install an app directly with:
WINEPREFIX=~/.wine32 WINEARCH=win32 wine 32bit_app.exe
And for 64-bit use:
WINEPREFIX=~/.wine64 WINEARCH= ~/bin/winetricks
Or to install a 64-bit app directly:
WINEPREFIX=~/.wine64 WINEARCH= wine 64bit_app.exe
I hope this will inspire people en masse to ditch Windows permanently, choose to use Linux, and be more involved with free software. Please see my other guide KDE Plasma with Kubuntu – Setup, notes, ideas.
Credits, Thanks & Help:
askubuntu.com: How do I create a 32-bit WINE prefix?