Skip to content

Instantly share code, notes, and snippets.

@ba11b0y
Last active September 27, 2025 02:40
Show Gist options
  • Select an option

  • Save ba11b0y/ecc1c6e32b581b68932ac7452f4c911c to your computer and use it in GitHub Desktop.

Select an option

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
@morjuax

morjuax commented Feb 3, 2020

Copy link
Copy Markdown

thank you bro

@LuisReyes98

Copy link
Copy Markdown

thanks a lot

@ishanajmeri

Copy link
Copy Markdown

It works !!!. Thank you :)

@giallon

giallon commented Mar 23, 2020

Copy link
Copy Markdown

Thanks. Can you remove white space at the end of Icon line in postman.desktop

@tioguil

tioguil commented Mar 26, 2020

Copy link
Copy Markdown

Thanks

@adovbos

adovbos commented Mar 28, 2020

Copy link
Copy Markdown

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)

@kosalamoon

Copy link
Copy Markdown

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

@koofng

koofng commented Apr 12, 2020

Copy link
Copy Markdown

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

@adovbos

adovbos commented Apr 12, 2020

Copy link
Copy Markdown

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)

@koofng

koofng commented Apr 12, 2020

Copy link
Copy Markdown

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)

I deleted it, yet it didn't come on.
Probably when I restart my PC it would be fine.
But POSTMAN does work

@koofng

koofng commented Apr 12, 2020

Copy link
Copy Markdown

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)

I deleted it, yet it didn't come on.
Probably when I restart my PC it would be fine.
But POSTMAN does work

Thanks it worked after restarting the PC

@Jihane1992

Copy link
Copy Markdown

thanks

@XxBatfaIla7

Copy link
Copy Markdown

Thanks ${buddy}

ghost commented Jul 6, 2020

Copy link
Copy Markdown

thanks bro

@AyeMiSan

AyeMiSan commented Sep 3, 2020

Copy link
Copy Markdown

@invinciblycool
invinciblycool
Hey....
Thanks a lot, that is helpful for me?!

ghost commented Sep 16, 2020

Copy link
Copy Markdown

@invinciblycool Can you update your gist to

  1. Use some other directory than /opt/, since we have seen people having permission issues in this location. Because there is no write permission, auto-updates does not work when installed in this directory. Here's the link to the issue that people are facing because of this postmanlabs/postman-app-support#5039
  2. Include the information that Postman now supports auto-updates, and people should be using that instead of manually updating the app

More details:
The problem with using the command sudo tar -xzf postman.tar.gz -C /opt is that it does not remove the old files, just put the new files over the old. Doing this might make the Postman end up in an inconsistent state leading issues which are very difficult to debug and fix

Here's a link to a similar popular gist file, which has been updated accordingly https://gist.github.com/aviskase/e642248c35e400b56e2489430952369f

Postman tries to download new update every time the app is open and due to permission issues it fails and retries.

@jbl31

jbl31 commented Oct 20, 2020

Copy link
Copy Markdown

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

ba11b0y commented Oct 21, 2020

Copy link
Copy Markdown
Author

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

debbysa commented Nov 19, 2020

Copy link
Copy Markdown

thank you

@KyunKyuu

Copy link
Copy Markdown

thanks

@abbasshams

Copy link
Copy Markdown

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

@WahidinAji

Copy link
Copy Markdown

Thanks

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