Created
December 24, 2018 17:00
-
-
Save udomsak/9a1cc4c58f0f419092e25999010aff62 to your computer and use it in GitHub Desktop.
Install postman on Fedora core 29 - Dec 2018
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
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
It's better to use /usr/local/share/applications/ instead of ~/.local/share/applications/