Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installing Postman on CentOS 7
https://www.getpostman.com/
First part from https://blog.bluematador.com/posts/postman-how-to-install-on-ubuntu-1604/
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
sudo tar -xzf postman.tar.gz -C /opt
rm postman.tar.gz
sudo ln -s /opt/Postman/Postman /usr/bin/postman
But when launching postman from command prompt got an error:
[root@localhost Downloads]# postman
postman: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
Found a solution at: https://www.centos.org/forums/viewtopic.php?t=61219
yum install libXScrnSaver-1.2.2-6.1.el7.x86_64
Then launch postman from command prompt and it will bring up the Postman GUI
Killing the open terminal will terminate Postman
You can also create a postman.desktop file to add Postman to the list of Applications in the Gnome desktop
cd /usr/share/applications
create postman.desktop as follows
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development
Once postman has been made available to the Applications Menu on the Gnome Desktop, it can be added to the Applications/Favorites menu
* Select the "Applications/Activities Overview" menu item
* Select the "Show Applications" icon
* Make sure the "All" button is selected then right click the Postman application and from the context menu, select the "Add to Favorites" menu item
* Postman is now available from the "Applications/Favorites" menu item.
@agmt5989

This comment has been minimized.

Copy link

@agmt5989 agmt5989 commented Jan 6, 2019

Thanks. Really.

@liposo

This comment has been minimized.

Copy link

@liposo liposo commented Feb 4, 2019

Thanks, it was very helpful.
I'm my case the icon was located in /opt/Postman/app/resources/app/assets/icon.png

@elicoten

This comment has been minimized.

Copy link

@elicoten elicoten commented Feb 25, 2019

Does installing to /opt under sudo prevent postman's auto-updater from working since under normal usage it will have insufficient permissions to update itself?

@WanjohiWanjohi

This comment has been minimized.

Copy link

@WanjohiWanjohi WanjohiWanjohi commented Mar 22, 2019

This is solid gold. Thank you

@Gichia

This comment has been minimized.

Copy link

@Gichia Gichia commented May 10, 2019

This is truly helpful, thanks a lot.

@chrisdoberman

This comment has been minimized.

Copy link

@chrisdoberman chrisdoberman commented May 16, 2019

Exactly what I was looking for. Thanks!!

@ouzaamedali

This comment has been minimized.

Copy link

@ouzaamedali ouzaamedali commented Jul 23, 2019

Thank you a lot (Merci)

@roommen

This comment has been minimized.

Copy link

@roommen roommen commented Dec 10, 2019

Thanks a ton!

@HemilTheRebel

This comment has been minimized.

Copy link

@HemilTheRebel HemilTheRebel commented Dec 26, 2019

In postman 7.14.0, the icon is at /opt/Postman/app/resources/app/assets/icon.png

@ale13jo

This comment has been minimized.

Copy link

@ale13jo ale13jo commented Apr 10, 2020

/opt/Postman/app/resources/app/assets/
Thanks, very usefull

@abhipalsingh

This comment has been minimized.

Copy link

@abhipalsingh abhipalsingh commented Jun 3, 2020

Thanks! Below worked for me:

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=Postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development

@shylosa

This comment has been minimized.

Copy link

@shylosa shylosa commented Feb 10, 2021

Thanks, very well! It works!

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