├── Images
├── photoshop.svg
└── screenshot.png
├── README.md
├── installer.sh
└── uninstaller.sh
/Images/photoshop.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
74 |
--------------------------------------------------------------------------------
/Images/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/albakhtari/Linux-PhotoshopCC-v22/4331e6af108e8435aee069a465171898dbc121ac/Images/screenshot.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # **MIGRATED TO [NEW REPO](https://github.com/YoungFellow-le/Ps-22-Linux)**
2 |
3 |
4 |
5 | # Photoshop CC 2021 on Linux!
6 |
7 | 
8 |
9 | **DISCLAIMER :**
10 | **Please use this software only if you have an active Photoshop subscription. I'm not responsible for any illegal use of this product.**
11 |
12 | I forked this repo and adjusted the script to keep the files that are downloaded, so that they don't have to be re-downloaded every time you want to reinstall.
13 |
14 | Also, installing `vdk3d proton` gave me some problems with my GPU, so I made it optional.
15 |
16 | ## Requirements
17 | - An internet connection
18 | - wine >=6.1 (Avoid 6.20 to 6.22)
19 | - appmenu-gtk-module
20 | - tar
21 | - wget
22 | - curl
23 | - All R/W rights on your home folder and the installer folder
24 | - Vulkan capable GPU or APU (optional)
25 |
26 |
27 | ## How to install:
28 |
29 | >_**NOTE:** The total download size, is about 1.6GB_
30 |
31 | >_**NOTE 2:** CLONE THIS REPO TO THE FOLDER YOU WANT TO KEEP PHOTOSHOP IN, EVERYTHING TO DO WITH THE PHTOTOSHOP INSTALLATION WILL HAPPEN IN HERE_
32 |
33 | >_**NOTE 3:** THE ONLY FILE THAT WILL BE INSTALLED OUTSIDE THE CLONED FOLDER IS THE DESKTOP ENTRY: ~/.local/share/applications/photoshop.desktop_
34 |
35 | Open your terminal and:
36 |
37 | ```bash
38 | # Clone the repo
39 |
40 | git clone https://github.com/YoungFellow-le/Linux-PhotoshopCC-v22.git
41 | cd Linux-PhotoshopCC-v22
42 |
43 | # To install:
44 |
45 | bash installer.sh
46 |
47 | # The installer will ask you if you want to install the Adobe Camera Raw Plugin (that is yes in most cases)
48 | # If you don't want to install it the enter '0', otherwise enter '1' e.g.
49 |
50 | "Would you like to install Adobe Camera Raw at the end?
51 | (1 - Yes, 0 - No): 1"
52 |
53 | # The installer will also ask you weather you want to install vdk3d proton,
54 | # this utility allows you to use your GPU with wine.
55 |
56 | "Would you like to install vdk3d proton?
57 | (1 - Yes, 0 - No): 0"
58 |
59 | # However, it can be a bit buggy. There for it's up to you weather to install it or not.
60 | # You can always install it afterwards by running the following command in the "Linux-PhotoshopCC-v22" folder:
61 |
62 | WINEPREFIX=$PWD/PS-Prefix/ sh Installers/allredist/setup_vkd3d_proton.sh install
63 |
64 | # And to uninstall:
65 |
66 | WINEPREFIX=$PWD/PS-Prefix/ sh Installers/allredist/setup_vkd3d_proton.sh uninstall
67 |
68 |
69 | # To uninstall Photoshop:
70 |
71 | bash uninstaller.sh
72 |
73 | # If you want to completely remove this installer, then delete the cloned folder after running the uninstaller.
74 | ```
75 | ## Configure Photoshop:
76 |
77 |
78 | **1-** Launch Photoshop and go to: `Edit -> preferences -> tools`, and uncheck "_Show Tooltips_" (You will not be able to use any plugins otherwise).
79 |
80 |
81 | **2-** **ONLY IF YOU INSTALLED VKD3D PROTON**: Go to: `Edit -> preferences -> Camera raw... -> performance` and set "_Use graphic processor_" to "_Off_"
82 |
83 | ## To change the wine theme to light Windows 10:
84 | ```bash
85 | # Navigate to the Photoshop clone folder e.g.
86 |
87 | cd ~/Documents/Linux-PhotoshopCC-v22
88 |
89 | # Open winecfg
90 |
91 | WINEPREFIX=$PWD/PS-Prefix winecfg
92 |
93 | # Now navigate to the "Desktop integration" tab and change the theme to "Light"
94 |
95 | ```
96 | ## How to run Photoshop:
97 |
98 | After you run the installer, open your application menu, and search for "Photoshop CC", and click on it. As simple as that!
99 |
100 | 
101 |
102 | >_**NOTE:** If you do not find the desktop entry, or if it doesn't work, then run the command that is in the `launcher.sh` file. This command should launch Photoshop for you, or it will at least tell you what the error is. (This command is also printed at the end of the installation)_
103 |
104 |
105 |
106 |
--------------------------------------------------------------------------------
/installer.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | echo -e "**************\nStarting PS installer...\n"
4 | sleep 1
5 |
6 | cameraraw=1
7 | echo -e "**************\nWould you like to install Adobe Camera Raw at the end?"
8 | read -p "(1 - Yes, 0 - No): " cameraraw
9 | sleep 1
10 |
11 | vdk3d=1
12 | echo -e "**************\nWould you like to install vdk3d proton?"
13 | read -p "(1 - Yes, 0 - No): " vdk3d
14 | sleep 1
15 |
16 | echo -e "**************\nMaking PS prefix...\n"
17 | sleep 1
18 | rm -rf $PWD/PS-Prefix
19 | mkdir $PWD/PS-Prefix/
20 | sleep 1
21 |
22 | echo -e "**************\nDownloading winetricks and making executable if not already so...\n"
23 | sleep 1
24 | wget -nc https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
25 | chmod +x winetricks
26 | sleep 1
27 |
28 | echo -e "**************\nDownloading Photoshop, CameraRaw, and allredist files if not already downloaded...\n"
29 | sleep 1
30 |
31 | mkdir -p Installers
32 |
33 | if ! [ -f Installers/allredist.tar.xz ]; then
34 | if [ $cameraraw = 1 ]; then
35 | curl -L "https://drive.google.com/uc?export=download&id=1qcmyHzWerZ39OhW0y4VQ-hOy7639bJPO" > Installers/allredist.tar.xz
36 | fi
37 | else
38 | echo -e "The file allredist.tar.xz exists"
39 | fi
40 |
41 | if ! [ -f Installers/AdobePhotoshop2021.tar.xz ]; then
42 | curl -L "https://lulucloud.mywire.org/FileHosting/GithubProjects/AdobePhotoshop2021.tar.xz" > Installers/AdobePhotoshop2021.tar.xz
43 | else
44 | echo -e "The file AdobePhotoshop2021.tar.xz exists"
45 | fi
46 |
47 | if ! [ -f Installers/CameraRaw_12_2_1.exe ]; then
48 | curl -L "https://download.adobe.com/pub/adobe/photoshop/cameraraw/win/12.x/CameraRaw_12_2_1.exe" > Installers/CameraRaw_12_2_1.exe
49 | else
50 | echo -e "The file CameraRaw_12_2_1.exe exists\n"
51 | fi
52 |
53 | sleep 1
54 |
55 | echo -e "**************\nExtracting files...\n"
56 | sleep 1
57 | rm -fr Installers/allredist
58 | rm -fr "Installers/Adobe Photoshop 2021"
59 | tar -xvf Installers/AdobePhotoshop2021.tar.xz -C Installers/
60 | mkdir Installers/allredist
61 | tar -xvf Installers/allredist.tar.xz -C Installers/
62 | sleep 1
63 |
64 |
65 | echo -e "**************\nBooting & creating new prefix\n"
66 | sleep 1
67 | WINEPREFIX=$PWD/PS-Prefix/ wineboot
68 | sleep 1
69 |
70 | echo -e "**************\nSetting win version to win10\n"
71 | sleep 1
72 | WINEPREFIX=$PWD/PS-Prefix/ ./winetricks win10
73 | sleep 1
74 |
75 | echo -e "**************\nInstalling & configuring winetricks components...\n"
76 | WINEPREFIX=$PWD/PS-Prefix/ ./winetricks fontsmooth=rgb gdiplus msxml3 msxml6 atmlib corefonts dxvk
77 | sleep 1
78 |
79 | echo -e "**************\nInstalling redist components...\n"
80 | sleep 1
81 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2010/vcredist_x64.exe /q /norestart
82 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2010/vcredist_x86.exe /q /norestart
83 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2012/vcredist_x86.exe /install /quiet /norestart
84 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2012/vcredist_x64.exe /install /quiet /norestart
85 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2013/vcredist_x86.exe /install /quiet /norestart
86 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2013/vcredist_x64.exe /install /quiet /norestart
87 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2019/VC_redist.x64.exe /install /quiet /norestart
88 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/allredist/redist/2019/VC_redist.x86.exe /install /quiet /norestart
89 | sleep 1
90 |
91 |
92 | if [ $vdk3d = "1" ]; then
93 | echo -e "**************\nInstalling vdk3d proton...\n"
94 | sleep 1
95 | WINEPREFIX=$PWD/PS-Prefix/ sh Installers/allredist/setup_vkd3d_proton.sh install
96 | sleep 1
97 | fi
98 |
99 | echo -e "**************\nMaking PS directory and copying files...\n"
100 | sleep 1
101 | mkdir $PWD/PS-Prefix/drive_c/Program\ Files/Adobe
102 | mv Installers/Adobe\ Photoshop\ 2021 $PWD/PS-Prefix/drive_c/Program\ Files/Adobe/Adobe\ Photoshop\ 2021
103 | sleep 1
104 |
105 | echo -e "**************\nCopying launcher files...\n"
106 |
107 | sleep 1
108 | prefix=$PWD/PS-Prefix
109 | pwd=$PWD
110 | rm -f launcher.sh
111 | echo -e "#\!/bin/bash\ncd \"$PWD/PS-Prefix/drive_c/Program Files/Adobe/Adobe Photoshop 2021/\" && WINEPREFIX=\"$prefix\" wine photoshop.exe" >> launcher.sh
112 | chmod +x launcher.sh
113 | rm -f photoshop.desktop
114 | echo -e "[Desktop Entry]\nName=Photoshop CC\nExec=cd \"$PWD/PS-Prefix/drive_c/Program Files/Adobe/Adobe Photoshop 2021/\" && WINEPREFIX=\"$prefix\" wine photoshop.exe\nType=Application\nComment=Photoshop CC 2021\nCategories=Graphics;2DGraphics;RasterGraphics;GTK;\nIcon=$PWD/Images/photoshop.svg\nStartupWMClass=photoshop.exe\nMimeType=image/png;image/psd;image;" >> photoshop.desktop
115 | chmod +x photoshop.desktop
116 | mv photoshop.desktop ~/.local/share/applications/photoshop.desktop
117 | rm -rf Installers/allredist
118 | rm winetricks
119 | sleep 1
120 |
121 | if [ $cameraraw = "1" ]; then
122 | echo -e "**************\nInstalling Adobe Camera Raw, please follow the instructions on the installer...\n"
123 | sleep 1
124 | WINEPREFIX=$PWD/PS-Prefix/ wine Installers/CameraRaw_12_2_1.exe
125 | sleep 1
126 | fi
127 |
128 | echo -e "**************\nAdobe Photoshop CC 2021 Installed!\n"
129 | echo -e "Use this command to run Photoshop if the launcher and desktop files don't work, then make your own desktop entry:\n\ncd \"$PWD/PS-Prefix/drive_c/Program Files/Adobe/Adobe Photoshop 2021/\" && WINEPREFIX=\"$prefix\" wine photoshop.exe"
130 |
--------------------------------------------------------------------------------
/uninstaller.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | rm -rf $PWD/PS-prefix
3 | rm -rf ~/.local/share/applications/photoshop.desktop
4 |
5 | echo "Photoshop uninstalled."
6 |
--------------------------------------------------------------------------------