Skip to content

Instantly share code, notes, and snippets.

@m13m
Last active April 20, 2021 06:11
Show Gist options
  • Save m13m/42a613e3642acac1c0582ee303083155 to your computer and use it in GitHub Desktop.
Save m13m/42a613e3642acac1c0582ee303083155 to your computer and use it in GitHub Desktop.
How to install Pharo on Linux

Install Pharo on Linux

Download Pharo 32 or 64 bit

Decompress the Pharo and move

unzip Pharo.zip 
sudo mv Pharo /opt/    

create pharo.desktop file and paste the following contents

[Desktop Entry]
Encoding=UTF-8
Name=Pharo
GenericName=Pharo
Exec=pharo
Icon=/opt/pharo6.1-64/icons/Pharo.png
Terminal=false
Type=Application
StartupNotify=false
Categories=Development;
Exec=/opt/pharo6.1-64/pharo


move .desktop file to ~/.local/share/applications/ dir

mv pharo.desktop ~/.local/share/applications/

create ~/.icons dir

mkdir ~/.icons
sudo cp /opt/pharo6.1-64/icons/Pharo.png ~/.icons

Happy Coding!

@MahiBegoug
Copy link

When you move '.desktop' file to '.local/share/applications/' doesn't work properly , you should add '~/' before '.local/share/applications/' ,so the command will be 'mv pharo.desktop ~/.local/share/applications/'

@m13m
Copy link
Author

m13m commented Apr 20, 2021

When you move '.desktop' file to '.local/share/applications/' doesn't work properly , you should add '~/' before '.local/share/applications/' ,so the command will be 'mv pharo.desktop ~/.local/share/applications/'

thanks updated.

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