Skip to content

Instantly share code, notes, and snippets.

@Akhil-Suresh
Last active June 4, 2026 06:48
Show Gist options
  • Select an option

  • Save Akhil-Suresh/e036a52bd00104ab21e9891224157809 to your computer and use it in GitHub Desktop.

Select an option

Save Akhil-Suresh/e036a52bd00104ab21e9891224157809 to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

This will install postman to /tmp directory and move it to /opt/ directory.

tar -C /tmp/ -xzf <(curl -L https://dl.pstmn.io/download/latest/linux64) && sudo mv /tmp/Postman /opt/

Step 3

Create a desktop file

sudo tee -a /usr/share/applications/postman.desktop << END
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/opt/Postman/Postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
END
@adam993

adam993 commented Jun 7, 2024

Copy link
Copy Markdown

Thanks for teaching me how to create a desktop file! Worked on Fedora workstation 40 as well, if anyone's wondering.

@Sanjan1000

Copy link
Copy Markdown

how to uninstall it?

@Fundvida

Copy link
Copy Markdown

Thanks, i was about to give up.

@itsAkky

itsAkky commented Jun 26, 2024

Copy link
Copy Markdown

Thanks it worked on Debian 18.

@lohaniprateek

Copy link
Copy Markdown

Thanks, it worked on fedora 40, Gnome46

@dowmar

dowmar commented Jul 29, 2024

Copy link
Copy Markdown

worked on nobara 40 (gnome), thank you

@charlitoro

Copy link
Copy Markdown

Works, thanks a lot man (Fedora 40) 👍

@pjobsina

Copy link
Copy Markdown

Thank you it works!

@mofaruk

mofaruk commented Sep 18, 2024

Copy link
Copy Markdown

Great

@estiven-lg

Copy link
Copy Markdown

Thanks you <3 , you are amazing :D again

@AleksandrIvanovFLS

Copy link
Copy Markdown

Thanks! It's easy than say tru la la =)

@onensensy

onensensy commented May 27, 2025

Copy link
Copy Markdown

Flawless....
Ubuntu 25.04

@karimou5

karimou5 commented Jun 7, 2025

Copy link
Copy Markdown

Wonderful, works on debian

@el1s7

el1s7 commented Jun 17, 2025

Copy link
Copy Markdown

In ChromeOS, I had to install this package to make the requests work as well: sudo apt install libsecret-1-dev

@Khip01

Khip01 commented Jun 22, 2025

Copy link
Copy Markdown

I was looking for this solution because I was having trouble with KIO worker during sign in, and this solution worked great! Thank you!
KDE Neon

@Dovvahkiin

Copy link
Copy Markdown

Works perfectly! Thanks mate!

@Khip01

Khip01 commented Sep 6, 2025

Copy link
Copy Markdown

Works well on OpenSUSE 16 Leap RC, but requires running kbuildsycoca5 --noincremental to rebuild the KIO cache after creating desktop files.

@karelbondan

Copy link
Copy Markdown

Thanks! Works well on Debian 13

@EduardMayer-IT

Copy link
Copy Markdown

Thank you!

@alanmugiwara

Copy link
Copy Markdown

thanks, man!

@guransh-chaudhary

Copy link
Copy Markdown

It works! Fedora 43.

@hervekom37

Copy link
Copy Markdown

Gnome 46 can be a bit picky with desktop entries. Running update-desktop-database and reloading the shell usually fixes icon issues. For what it’s worth, some people avoid these setup steps entirely by using tools like Apidog that work out of the box on Linux.

@Nieto2018

Copy link
Copy Markdown

Thank you!

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