TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheCpanelLinuxPHP

How to install Postman in Linux Mint 18

Postman is a tool when trying to test and verify APIs directly. Troubleshooting of different APIs are easier in Postman.

This article explains the detailed steps to install Postman in a Linux Mint 18 machine.

Step1: Access the terminal as root.

Step2: Download the package.

#wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

Step3: Extract the downloaded archive.

#tar -xzf postman.tar.gz -C /opt

Step4: Create a binary link.

#ln -s /opt/Postman/Postman /usr/bin/postman

Now we can run it using the command 'postman'.

Step5: Create desktop shortcut if needed.

#cat > /usr/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

Please note that for the newer versions of postman, the icon location changed to '/opt/Postman/app/resources/app/assets/icon.png'. So the command to generate shortcut should be as follows.

#cat > /usr/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL

That's all…

Leave a Reply