I should rename the title to “Install Postman in POP OS” as recently I have been working on a POP OS. This thing is sleek. I love the workflow. It comes with default FLATPAK and no SNAP. I did not want to use snap.
So here I am, installing Postman from their binary compressed file.
Here is the script I have used to install postman.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# C: Fahad Ahammed | |
# Purpose: Install POSTMAN in linux Desktop | |
# D: 2022-11-11 14-36 | |
# | |
if [ -z "$1" ] | |
then | |
read -p "Give the install directory:" INSTALL_DIRECTORY | |
else | |
INSTALL_DIRECTORY="$1" | |
fi | |
CURDIR=$(pwd) | |
curl -s https://dl.pstmn.io/download/latest/linux64 –output $INSTALL_DIRECTORY/postman.tar.gz | |
cd $INSTALL_DIRECTORY; | |
tar -zxvf postman.tar.gz | |
chmod a+x -R $INSTALL_DIRECTORY/* | |
POSTMAN_EXEC="$INSTALL_DIRECTORY/Postman/Postman" | |
POSTMAN_ICON="$INSTALL_DIRECTORY/Postman/app/icons/icon_128x128.png" | |
cat <<EOF >>$INSTALL_DIRECTORY/postman.desktop | |
[Desktop Entry] | |
Type=Application | |
Name=Postman | |
Icon=$POSTMAN_ICON | |
Exec="$POSTMAN_EXEC" | |
Comment=Postman Desktop App | |
Categories=Development;Code; | |
EOF | |
ln -s $INSTALL_DIRECTORY/postman.desktop /usr/share/applications/postman.desktop |
After running this script, You should be able to find POSTMAN searching on application menu.
Share this:
- Click to share on Twitter (Opens in new window)
- Click to share on Facebook (Opens in new window)
- Click to share on LinkedIn (Opens in new window)
- Click to share on Pinterest (Opens in new window)
- Click to share on Tumblr (Opens in new window)
- Click to share on Pocket (Opens in new window)
- Click to share on Reddit (Opens in new window)
- Click to share on Telegram (Opens in new window)
- Click to share on WhatsApp (Opens in new window)
- Click to print (Opens in new window)
- Click to email a link to a friend (Opens in new window)