Skip to content

Instantly share code, notes, and snippets.

@punkdata
Created November 3, 2017 16:36
Show Gist options
  • Select an option

  • Save punkdata/1a0cd18b22a2d3c17d603f9b4a274e5b to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

thank you

@zideano

zideano commented Mar 18, 2018

Copy link
Copy Markdown

This works perfect for me - thanks @ariv3ra.

@peterquiel

Copy link
Copy Markdown

Thx.. worked on ubuntu 17.10

@ruannawe

Copy link
Copy Markdown

thank you

@ruannawe

Copy link
Copy Markdown

is recomendable install: sudo apt install libgconf2-4

@ekortright

Copy link
Copy Markdown

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
Copy Markdown

awesome, worked perfect

@danielleeas

Copy link
Copy Markdown

Perfect Man

@garricknorthover

Copy link
Copy Markdown

Nice !!

@arcanoix

Copy link
Copy Markdown

thanks worked nice

@AhmedEweed

Copy link
Copy Markdown

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

@rachit-gupta95

Copy link
Copy Markdown

/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
Copy Markdown

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

ghost commented May 14, 2018

Copy link
Copy Markdown

thanks @nicolasmartinezullan

@jalius

jalius commented May 17, 2018

Copy link
Copy Markdown

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
Copy Markdown

Works perfectly in Unbuntu 18.04. Thanks @ariv3ra

@Jimver

Jimver commented May 19, 2018

Copy link
Copy Markdown

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

momilc commented May 21, 2018

Copy link
Copy Markdown

Just perfect ! Thank you :)

@ulayera

ulayera commented Jun 2, 2018

Copy link
Copy Markdown

@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