Created
November 3, 2017 16:36
-
-
Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
Postman Install Ubuntu 17.10
This file contains hidden or 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
#!/usr/bash | |
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
sudo tar -xzf postman.tar.gz -C /opt | |
sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
#Create a Desktop Entry | |
cat > ~/.local/share/applications/postman.desktop <<EOL | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
Exec=postman | |
Icon=/opt/Postman/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; | |
EOL |
The icon was located in /opt/Postman/app/resources/app/assets/icon.png
instead of /opt/Postman/resources/app/assets/icon.png
after instaling by using the script on Ubuntu 18.04. Other than that the script works perfectly!
Just perfect ! Thank you :)
@bluuman just edit the first line and change "usr" to "bin"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works perfectly in Unbuntu 18.04. Thanks @ariv3ra