Skip to content

Instantly share code, notes, and snippets.

@Khip01
Forked from Akhil-Suresh/postman_installation.md
Last active September 6, 2025 07:50
Show Gist options
  • Save Khip01/ed37e6256ecd1bdb69d7810eabefe5c4 to your computer and use it in GitHub Desktop.
Save Khip01/ed37e6256ecd1bdb69d7810eabefe5c4 to your computer and use it in GitHub Desktop.
Installing Postman on Ubuntu/Debian/OpenSUSE

Installing Postman

Install Postman with xdg-utils on Linux to fix the authentication redirect error

- Unable to create KIO worker. Unknown protocol '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

Step 4

Rebuild the KIO cache:

kbuildsycoca5 --noincremental

Tested on:

  • KDE Neon
  • OpenSUSE RC Leap 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment