-
-
Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
#!/usr/bash | |
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz | |
sudo tar -xzf postman.tar.gz -C /opt | |
sudo ln -s /opt/Postman/Postman /usr/bin/postman | |
#Create a Desktop Entry | |
cat > ~/.local/share/applications/postman.desktop <<EOL | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Postman | |
Exec=postman | |
Icon=/opt/Postman/resources/app/assets/icon.png | |
Terminal=false | |
Type=Application | |
Categories=Development; | |
EOL |
This works perfect for me - thanks @ariv3ra.
Thx.. worked on ubuntu 17.10
thank you
is recomendable install: sudo apt install libgconf2-4
This worked for me also, after I installed libgconf2-4 as @RuanHerculano suggested. I am on Pop!_OS 17.10, which is System76's distribution based on Ubuntu.
Without the libgconf2-4, I was getting an error: postman: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
Thanks! I hope this helps somebody else.
awesome, worked perfect
Perfect Man
Nice !!
thanks worked nice
That worked so good for me !
Especially the note of @RuanHerculano for installing libgconf 2-4 first
/home/rachit/.local/share/applications/postman.desktop: No such file or directory
This error occured when i ran the cat command. Please help
Nice script. It has these instructions put in a bash script file: postman-how-to-install-on-ubuntu-1604
If you are in Ubuntu 18.04, you must also execute:
sudo apt install libgconf2-4
If you don't do this, when clicking on the app icon, it won't start.
https://askubuntu.com/questions/1031534/postman-not-launching-anymore-in-18-04
thanks @nicolasmartinezullan
I get bash: ./install.sh: /usr/bash: bad interpreter: No such file or directory
. Fixed by changing interpreter to /bin/bash from /usr/bash.
Works perfectly in Unbuntu 18.04. Thanks @ariv3ra
The icon was located in /opt/Postman/app/resources/app/assets/icon.png
instead of /opt/Postman/resources/app/assets/icon.png
after instaling by using the script on Ubuntu 18.04. Other than that the script works perfectly!
Just perfect ! Thank you :)
@bluuman just edit the first line and change "usr" to "bin"
thank you