Installing Postman Ubuntu
Installing Postman Ubuntu
Introduction
Postman an API platform for building and using APIs. It is used to test my API/endpoints.
Advantages of using postman:
- User friendly, Postman has a simple interface which easy to use.
- Accessibility, postman is easily accessible, you can easily login to your account and access all your endpoints saved to your account.
- Request tracking capabilities, it supports several status codes for users to verify the response. They are Successful requests, Empty response, Bad request, and Unauthorized access, to mention but a few.
these are just but a few examples of it’s advantages.
Postman offers many endpoint connection methods. The following are some of the most used, including their functions:
- GET: Obtain information
- POST: Add information
- PUT: Replace information
- PATCH: Update certain information
- DELETE: Delete information
With that little introduction let’s dive into into the installation
Install using snap
install snap
sudo apt update
sudo apt install snapd
install postman
sudo snap install postman
Downloading from the official site
- Navigate to postman official site to download the package
- Navigate to your downloads folder/directory.
cd Downloads/
3.Extract the file. Check your postman version it may be different from mine
tar -xzf postman-9.15.2-linux-x64.tar.gz
4.Create a directory using mkdir.
-p: A flag which enables the command to create parent directories as necessary. If the directories exist, no error is specified.
sudo mkdir -p /opt/apps/
5. Move postman to the newly created directory
sudo mv Postman /opt/apps/
6.Execute the following commands to open the application
sudo ln -s /opt/apps/Postman/Postman /usr/local/bin/postman
you will open postman using this command
postman
N.B if you close the terminal you used to open postman,postman you can create a shot cut to open postman.