Skip to content

Instantly share code, notes, and snippets.

@punkdata
Created November 3, 2017 16:36
Show Gist options
  • Star 42 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
Postman Install Ubuntu 17.10
#!/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
@Jimver
Copy link

Jimver commented May 19, 2018

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!

@momilc
Copy link

momilc commented May 21, 2018

Just perfect ! Thank you :)

@ulayera
Copy link

ulayera commented Jun 2, 2018

@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