Install Postman
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/home/USERNAME/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
WARNING! WARNING! WARNING! I no longer use Postman and don't test these instructions.
WARNING: this gist is only for installation and should not be used to update Postman. Please use auto-update feature.
WARNING: script was updated to use ~
instead of /opt
. Make sure that you have write permissions for location, because otherwise it can cause some problems
How to:
install-postman.sh
. Make sure that it has execute permissions =)chmod +x install-postman.sh
./install-postman.sh`
Postman.desktop
file, so that you could see it the laucher.touch ~/.local/share/applications/Postman.desktop
And copy-paste data from Postman.desktop
. Don't forget to replace USERNAME
with your user for Icon:
line (it can't expand ~
:( )
#!/bin/bash
cd /tmp || exit
echo "Downloading Postman ..."
wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz
tar -xzf postman.tar.gz
rm postman.tar.gz
echo "Installing to opt..."
if [ -d "~/Postman" ];then
rm -rf ~/Postman
fi
mv Postman ~/Postman
echo "Creating symbolic link..."
if [ -L "/usr/bin/postman" ];then
sudo rm -f /usr/bin/postman
fi
sudo ln -s ~/Postman/Postman /usr/bin/postman
echo "Installation completed successfully."
echo "You can use Postman!"