Enable 32 bit architecture:
sudo dpkg --add-architecture i386
Download and add repository key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
Add repository:
Ubuntu 19.04 - sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
Ubuntu 18.10 - sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
Ubuntu 18.04 and
Linux Mint 19.x - sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
Ubuntu 16.04 and
Linux Mint 18.x - sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main'
Update packages:
sudo apt update
Install Wine:
sudo apt install --install-recommends winehq-stable
Install WineTricks:
cd "${HOME}/Downloads"
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
Run WineTricks
winetricks gdiplus vcrun2010 vcrun2012 vcrun2013 vcrun2015 msxml3 msxml6 atmlib corefonts
In the command below , there are two things to change
/full/path/to/prefix is the path to the wineprefix , which by default is ~/.wine , so just put ~/.wine in place of /full/path/to/prefix or if you have other wine apps depending on this prefix , you can make a new one and replace it here instead
Guide to make a new one - https://wiki.winehq.org/FAQ#Can_I_store_the_virtual_Windows_installation_somewhere_other_than_.7E.2F.wine.3F
/full/path/to/directory is just your home directory , so just put in ~/
WINEPREFIX=/full/path/to/prefix wineboot -u WINEARCH=win64 WINEPREFIX=/full/path/to/directory winetricks fontsmooth=rgb gdiplus vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2015 atmlib msxml3 msxml6 gdiplus corefonts
Easy copy paste for people who want the defaults
WINEPREFIX=~/.wine wineboot -u WINEARCH=win64 WINEPREFIX=~/ winetricks fontsmooth=rgb gdiplus vcrun2008 vcrun2010 vcrun2012 vcrun2013 vcrun2015 atmlib msxml3 msxml6 gdiplus corefonts
To get photoshop running , we need to have the extracted files on our drive , so install photoshop on a windows pc , and copy the installed files from c:/program files/adobe/photoshop to your linux drive
Or you can setup a virtual machine and do the same
Or get a patched portable build
WINEPREFIX=/full/path/to/prefix winecfg
Again , /full/path/to/prefix is to replaced by the location of your wine prefix , which is ~/.wine by default
Easy Copy Paste for people who have the default wineprefix
WINEPREFIX=~/.wine winecfg
Select Windows 8.1 from windows version on the bottom
/full/path/to/prefix - Path to prefix , ~/.wine by default
/full/path/to/Photoshop.exe - Pretty Self Explanatory , this should point to your photoshop.exe which you copied over earlier for eg - if my photoshop is copied to ~/apps/photoshop , then i would replace the line by ~/apps/photoshop/Photoshop.exe
WINEPREFIX=/full/path/to/prefix wine64 /full/path/to/Photoshop.exe
Easy copy paste for people with the defaults , still needs editing for path to photoshop.exe
WINEPREFIX=~/.wine wine64 /full/path/to/Photoshop.exe
Credits/Thanks:
https://www.reddit.com/r/linux/comments/7ql4kl/the_screenshots_of_photoshop_cc_2018_64bit_on/
For anyone wanting to add this as an icon to the desktop/dock/etc., here is how to do that:
.bin
directory:mkdir $HOME/.bin
vim $HOME/.bin/photoshop.sh
and enter the following script:
Press
Esc
then type:wq
to save this file.photoshop.desktop
file:This can be in either
/usr/share/applications
which makes this available to all users, or in$HOME/.local/share/applications
to have it only available to the current user. You can also add it to$HOME/Desktop
to have this appear as a shortcut on your desktop.[Desktop Entry] Name=Photoshop Comment=Adobe Photoshop CC 2018 Exec=/full/path/to/photoshop.sh Type=Application Icon=/full/path/to/icon Categories=Graphics; Terminal=false
Edit the
Exec
andIcon
lines in this file to point to wherever you stored these files. I use the Numix-Circle icon pack, so have used the icon at the end of this comment to fit better with the other icons on my dock.This will now show in Gnome search or on your desktop, depeneding on where you saved
photoshop.desktop
.