Skip to content

Instantly share code, notes, and snippets.

@ba11b0y
Last active August 31, 2023 19:21
Show Gist options
  • Save ba11b0y/ecc1c6e32b581b68932ac7452f4c911c to your computer and use it in GitHub Desktop.
Save ba11b0y/ecc1c6e32b581b68932ac7452f4c911c 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

Although I highly recommend using a snap

sudo snap install postman

Installing Postman

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

If any version is installed before, remove it.

sudo rm -rf /opt/Postman

Move Postman

sudo mv Postman /opt/Postman

Create a symbolic link

sudo ln -s /opt/Postman/Postman /usr/bin/postman

Create a desktop file

cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
# Before v6.1.2
# Icon=/opt/Postman/resources/app/assets/icon.png
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL

Remove the tar:

rm Postman-linux-x64-5.3.2.tar.gz
@jbl31
Copy link

jbl31 commented Oct 20, 2020

If you still have trouble with icon like I had, please check in the end of Icon=/opt/Postman/app/resources/app/assets/icon.png line and delete it)

wow that's a nice observation & thanks for the help

What exactly is to be done.
My Icon isn't showing too

just delete space on end of line)

Aha, thanks you very much for this one !! :-D

@ba11b0y
Copy link
Author

ba11b0y commented Oct 21, 2020

If you still have trouble with icon like I had, please check "space" in the end of Icon=/opt/Postman/app/resources/app/assets/icon.png line and delete it)

Thanks!
I have updated the gist accordingly

@debbysa
Copy link

debbysa commented Nov 19, 2020

thank you

@KyunKyuu
Copy link

thanks

@abbasshams
Copy link

ممنون از راهنماییت

@WahidinAji
Copy link

Thanks

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