Skip to content

Instantly share code, notes, and snippets.

@udomsak
Created December 24, 2018 17:00
Show Gist options
  • Star 7 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save udomsak/9a1cc4c58f0f419092e25999010aff62 to your computer and use it in GitHub Desktop.
Save udomsak/9a1cc4c58f0f419092e25999010aff62 to your computer and use it in GitHub Desktop.
Install postman on Fedora core 29 - Dec 2018
#!/bin/bash
wget https://dl.pstmn.io/download/latest/linux64 -O postman-linux-x64.tar.gz
sudo tar xvzf postman-linux-x64.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
cat << EOF > ~/.local/share/applications/postman2.desktop
[Desktop Entry]
Name=Postman
GenericName=API Client
X-GNOME-FullName=Postman API Client
Comment=Make and view REST API calls and responses
Keywords=api;
Exec=/opt/Postman/Postman
Terminal=false
Type=Application
Icon=/opt/Postman/app/resources/app/assets/icon.png
Categories=Development;Utilities;
EOF
@5n00p4eg
Copy link

It's better to use /usr/local/share/applications/ instead of ~/.local/share/applications/

@davyngugi
Copy link

It's better to use /usr/local/share/applications/ instead of ~/.local/share/applications/

Came here to make this same suggestion.! +1

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