How to Install Postman on Ubuntu 18.04 LTS - TechBeginner

Welcome to TechBeginner.in, Tech Beginner provides technical blog for Online Linux Tutorials, Ubuntu Tutorials, Redhat Tutorials and CentOS 7, Configuration of server like Web Server, Application server, Database server, Window server, networking, html, css, java script, php, wordpress, opencart, magento, joomla and etc.

How to Install Postman on Ubuntu 18.04 LTS

Share This

 


Postman is an adaptable API testing instrument that rapidly incorporates into CI/CD pipeline. It began in 2012 as a side task by Abhinav Asthana to improve on API work process in testing and advancement. Programming interface represents Application Programming Interface which permits programming applications to speak with one another by means of API calls.

 

In this post We will install postman on ubuntu 18.04 LTS

 

Installation using Bash Script.

 

#!/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 "/opt/Postman" ];then

sudo rm -rf /opt/Postman

fi

sudo mv Postman /opt/Postman


echo "Creating symbolic link..."

if [ -L "/usr/bin/postman" ];then

sudo rm -f /usr/bin/postman

fi

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


echo "Installation completed successfully."

echo "You can use Postman!"

 

Conclusion

 
We have successfully installed PostMan on ubuntu machine, Still you have any issue leave a comment.

 

 

No comments:

Post a Comment