Skip to content

Instantly share code, notes, and snippets.

@punkdata
Created November 3, 2017 16:36
Show Gist options
  • Star 42 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
  • Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.
Postman Install Ubuntu 17.10
#!/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
@TeraouiAhmed
Copy link

thank you

@zideano
Copy link

zideano commented Mar 18, 2018

This works perfect for me - thanks @ariv3ra.

@peterquiel
Copy link

Thx.. worked on ubuntu 17.10

@ruannawe
Copy link

thank you

@ruannawe
Copy link

is recomendable install: sudo apt install libgconf2-4

@ekortright
Copy link

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.

@marv972228
Copy link

awesome, worked perfect

@webstarlee
Copy link

Perfect Man

@garricknorthover
Copy link

Nice !!

@arcanoix
Copy link

thanks worked nice

@AhmedEweed
Copy link

That worked so good for me !
Especially the note of @RuanHerculano for installing libgconf 2-4 first

@rachit-gupta95
Copy link

/home/rachit/.local/share/applications/postman.desktop: No such file or directory

This error occured when i ran the cat command. Please help

@nikkomullan
Copy link

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

Copy link

ghost commented May 14, 2018

thanks @nicolasmartinezullan

@jalius
Copy link

jalius commented May 17, 2018

I get bash: ./install.sh: /usr/bash: bad interpreter: No such file or directory. Fixed by changing interpreter to /bin/bash from /usr/bash.

@erickluan
Copy link

Works perfectly in Unbuntu 18.04. Thanks @ariv3ra

@Jimver
Copy link

Jimver commented May 19, 2018

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!

@momilc
Copy link

momilc commented May 21, 2018

Just perfect ! Thank you :)

@ulayera
Copy link

ulayera commented Jun 2, 2018

@bluuman just edit the first line and change "usr" to "bin"

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