Skip to content

Instantly share code, notes, and snippets.

@simrat39
Last active February 3, 2024 06:51
Show Gist options
  • Save simrat39/6de179b32ae66ec27c5c0bd0b26936c5 to your computer and use it in GitHub Desktop.
Save simrat39/6de179b32ae66ec27c5c0bd0b26936c5 to your computer and use it in GitHub Desktop.
Photoshop CC 2018 on Pop!_OS/Ubuntu Installation Guide

Photoshop CC 2018 on Pop!_OS installation guide

1 . Install Wine

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

2 . Get WineTricks

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

3 . Create WinePrefix

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

3 . Get Photoshop

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

4 . Configure Wine

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

5 . Run Photoshop

/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

Finish (for now)

Credits/Thanks:

https://www.reddit.com/r/linux/comments/7ql4kl/the_screenshots_of_photoshop_cc_2018_64bit_on/

https://wiki.winehq.org/FAQ

https://wiki.winehq.org/Winetricks

https://wiki.winehq.org/Ubuntu

@henrywhitaker3
Copy link

For anyone wanting to add this as an icon to the desktop/dock/etc., here is how to do that:

  1. [Optional] Make a .bin directory:
mkdir $HOME/.bin
  1. Make a bash script that runs your photoshop.exe:
vim $HOME/.bin/photoshop.sh

and enter the following script:

#!/bin/bash

WINEPREFIX=~/.wine wine64 /full/path/to/Photoshop.exe

Press Esc then type :wq to save this file.

  1. Create a 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 and Icon 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.

photoshop icon

Copy link

ghost commented Nov 27, 2021

THANKS!!!
Is this compatible with x64 version of photoshop? I got it working in the x32 portable, but not in x64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment