unzip Pharo.zip
sudo mv Pharo /opt/
[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
mv pharo.desktop ~/.local/share/applications/
mkdir ~/.icons
sudo cp /opt/pharo6.1-64/icons/Pharo.png ~/.icons
Happy Coding!
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/'