Photoshop CS4 on Ubuntu 9.04
Yes, it is possible! To my own suprise, I was able to install Photoshop CS4 on Ubuntu.
I did it on a fresh install of Ubuntu 9.04 RC. It has known to work on Ubuntu 8.10, but it gave me a segmentation fault, probably because I had been messing around
. I tested it with the trial version downloaded from adobe.com.
To do so, you need Wine. I will take you through the steps that I’ve taken:
1. If you have used wine before, please start of with a clean .wine folder. Or bottle you Photoshop by doing every action with a specific wineprefix.
2. Install Wine 1.1.16 from here.
3. Download winetricks and install necessary libraries. Also make sure you have a decent driver for your graphics card installed.
wget http://www.kegel.com/wine/winetricks sh winetricks msxml6 gdiplus gecko vcrun2005 sudo apt-get install msttcorefonts
3. If you have a non-english Ubuntu installed please put LANG=C before the following command like this:
LANG=C wine Setup.exe4. Install Wine 1.1.19 from here, to fix the menu bar bug.
5. To fix the text-layer bug, put atmlib.dll in “~/.wine/drive_c/windows/system 32″. You can download it from several places if you search it on google.
6. Run it!
It was tested on an amd64 and i386.
The reason why you have to set the “LANG” variable, is that Photoshop searches for files in “Program files”, if you don’t set it, wine installs it into a local translation of Program files.
Very happy that Wine made such a big progress over the last years. But there are a lot of regressions in the last versions. That is the reason you sometimes have to try other versions of wine for the installer. But 1.1.16 and 1.1.19 are not stable versions, so I forgive them. Last version that was declared stable till today was 1.0.1.
I also got Ableton 7 and MS Office Excel, Word and Powerpoint 2007 working with wine!
Big thanks to Quitte for helping me out.

Thanks for the great post. I’ve just installed Ubuntu 9.04 and this post will be a great help.
It’s a pleasure! Could someone confirm this method?
Installing now….
Will post the results when finished
OS: Ubuntu 9.04
Looks like the installation is fine but I can get it to work. It hangs on the splash.
Here’s the console output:
fixme:win:EnumDisplayDevicesW ((null),0,0×32e7a4,0×00000000), stub!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0×1003c 0×00000000
wine: Unhandled page fault on read access to 0×00000048 at address 0×39875b8a (thread 0009), starting debugger…
Unhandled exception: page fault on read access to 0×00000048 in 32-bit code (0×39875b8a).
Thanks for putting it to the test!
On what does the splash hang? Initializing or loading something? Could you specify?
But I have to say that I’m not an expert at this. What wine version do you have installed? Have you killed all wine processes?
Look for “ps -e | grep wine” and “ps -e | grep exe”. I tried installing and running it again, and again it worked. Note that I did it on a clean wine prefix.
Contact me by using the form and I can take a look if you’d like.
The installation was done with wine 1.1.16.I run Photoshop with 1.1.19. It just shows the blue spash and doesn’t even load any files. I’ve uploaded the screenshot here: http://www.pc-geek.info/screen.png
Do I have to install IE6?
Also, the photoshop installation was done on a clean wine install.
I’m terribly sorry, but I never experienced this bug before. I have been stuck while loading certain modules, but that was caused by previous wine processes running.
I didn’t need to install IE6. It actually sounds a little like a hardware problem… Have you tried rebooting? So it clears out memory.
Contact me by using the form.
I gave up… I’m running Windows XP on Virtualbox. I believe it’s hardware problem so thanks anyway..
No problem. Wine is still experimental, but it’s improving. You can use Photoshop CS2 perfectly with Wine. Never tried CS3.
cs4 works great in virtual box in xp sp3 performance edition. its awsome installing onone products now…sweet!!!
Brilliant! Thanks to this I know have the one program I missed the most from windows.
From what I’ve tried out it works perfectly (on amd64), thank you for this how-to
hmm I’ve just noticed that the type tool doesn’t work. When you click on it everything freezes. Any idea what could cause this?
Thanks.
Hey, I followed the steps but step (3) installation failed.
When set-up checking system profile, there was an error mesage “Critical errors were found in the setup. Please see setup log files for details.” from “Wine Internet Explorer”. Btw, using CS4 on 9.04 with 1.1.16 for 8.10. Help greatly appreciated! :O
Hi Ben, thanks for the comments!
There are two possible causes imo:
1. This is normally solved by the fifth step (including the atmlib.dll). Did you do this? Did you change anything in winecfg? Normally you should not have edited the winecfg.
2. Also, make sure you have msttcorefonts installed.
Hope this helps you out.
I’m not sure if I can help you with this. If it is IE-related, then it sounds like the gecko engine didn’t install correctly…
Maybe try to run
winetricks ie6This will (re)install ie6.
Although not really sure about this, without viewing your errors.
If you have time, you should report this bug to wineHQ:
http://appdb.winehq.org/objectManager.php?sClass=version&iId=14318
BTW: It’s nice to notice a back-reference from WineHQ to this article
ruben thank you that was the problem! I had mistakenly copied amtlib.dll instead of atmlib.dll
@Ben
Haha, no problem, I’m happy things work for you
Hello, when I put in: “LANG=C wine Setup.exe”, I habe a long list with errors… e.g.
[code]err:shell:SHCoCreateInstance failed (0x800401f0) to create CLSID:{a07034fd-6caa-4954-ac3f-97a27216f98a} (Query file associations) IID:{c46ca590-3c3f-11d2-bee6-0000f805ca57} (unknown)
err:shell:SHCoCreateInstance class not found in registry[/code]
And another Question:
Why know Wine where is the setup.exe? – I learned that I have to write
[code]cd [/code]
Please give me the reason :’(…
I choose Ubuntu now cause I thought that Photoshop works on it…
Yannick (Yvier6 on Twitter)
thanks a lot.