2021-12-22 13:51:22 +00:00
|
|
|
#!/bin/bash
|
2022-01-09 08:49:08 +00:00
|
|
|
echo
|
|
|
|
echo "==============================================="
|
|
|
|
echo "Installing postman (latest)..."
|
|
|
|
echo "==============================================="
|
|
|
|
echo
|
2021-12-22 13:51:22 +00:00
|
|
|
|
|
|
|
wget "https://dl.pstmn.io/download/latest/linux64" -O /tmp/postman.tar.gz
|
|
|
|
# sudo tar -xvzf /tmp/postman.tar.gz -C /usr/local/bin
|
2022-01-09 08:49:08 +00:00
|
|
|
sudo tar -xzf /tmp/postman.tar.gz -C /usr/local
|
2021-12-22 13:51:22 +00:00
|
|
|
rm /tmp/postman.tar.gz
|
2022-01-09 08:49:08 +00:00
|
|
|
sudo ln -s /usr/local/Postman/Postman /usr/local/bin/postman
|
2021-12-22 13:51:22 +00:00
|
|
|
|
|
|
|
echo "#!/usr/bin/env xdg-open
|
|
|
|
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=Postman
|
|
|
|
Exec=/usr/local/bin/postman
|
2022-01-09 08:49:08 +00:00
|
|
|
Icon=/usr/local/Postman/app/icons/icon_128x128.png
|
2021-12-22 13:51:22 +00:00
|
|
|
Categories=Utility,Network
|
|
|
|
Terminal=false
|
|
|
|
Type=Application
|
|
|
|
Encoding=UTF-8
|
|
|
|
" > /home/anthony/.local/share/applications/Postman.desktop
|
|
|
|
sudo update-desktop-database
|