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