Skip to content

Instantly share code, notes, and snippets.

@developeryashraj
Forked from ba11b0y/installing-postman.md
Last active December 7, 2019 06:09
Show Gist options
  • Save developeryashraj/64b680b5dbb914c5ffe2e64274e076cb to your computer and use it in GitHub Desktop.
Save developeryashraj/64b680b5dbb914c5ffe2e64274e076cb to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu/Gnome

Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux

Go to Download folder -> "right click" -> "Open in Terminal"

Installing Postman (Verify your version of file in below command)

tar -xzf Postman-linux-x64-7.13.0.tar.gz

If any version is installed before, remove it.

sudo rm -rf /opt/Postman

Move Postman

sudo mv Postman /opt/Postman

Create a desktop file

cat > postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Comment=Version Control Tool
Exec=/opt/Postman/Postman
Terminal=false
Type=Application
# Before v6.1.2
# Icon=/opt/Postman/resources/app/assets/icon.png
Icon=/opt/Postman/app/resources/app/assets/icon.png
MimeType=application/vnd.mysql-workbench-model;
Categories=GTK;Database;Development;
EOL

Move Desktop file:

sudo mv postman.desktop /usr/share/applications/

Remove the tar:

rm Postman-linux-x64-7.13.0.tar.gz

You're Done !

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