API improvement or integration will not be a straightforward activity and takes lots of effort, particularly when creating/integrating bigger APIs. Many steps are concerned within the improvement course of, like designing, virtualizing, documenting, and so forth. Probably the most troublesome activity is to check out the APIs, however fortunately, there’s lots of software program that may prevent time. One such software program is Postman.
Postman is a platform that makes the API improvement course of a lot simpler by its API Shopper, Automated Testing, and documentation. On this article, let’s have a look at the way to set up Postman on Linux.
Set up Postman On Linux Utilizing CLI
Ubuntu-based Distributions
- To put in Postman on Ubuntu-based distros, you’ll first want to put in snap package manager utilizing the next command.
sudo apt set up snapd
2. After snap is efficiently put in, set up Postman.
sudo apt replace
sudo snap set up postman
3. Give it a while and voila! You’ve gotten efficiently put in Postman in your Linux PC.
Fedora/CentOS
- First set up snap utilizing the next command.
sudo dnf set up snapd
2. Then, create a comfortable/symbolic hyperlink between /var/lib/snapd/snap and snap utilizing the command.
sudo ln -s /var/lib/snapd/snap /snap
3. Set up Postman.
sudo snap set up postman
Arch-Primarily based Distros
- Set up snap from the Arch Consumer Repository utilizing the next instructions.
git clone https://aur.archlinux.org/snapd.git
cd snapd
makepkg -si
2. After it’s put in, we have to allow the systemd unit that manages the primary communication socket.
sudo systemctl allow --now snapd.socket
3. Enter the next command to allow the basic snap assist.
sudo ln -s /var/lib/snapd/snap /snap
4. Set up Postman.
sudo snap set up postman
Utilizing Postman From A Browser
Certainly one of Postman’s nice issues is that you simply solely want an internet browser and an account to begin utilizing it. Nevertheless, you will have to obtain the Postman Desktop Agent to make use of the net app to its most potential.
- Head over to the Postman website.
2. For those who don’t have an account but, create one or use the Signal Up With Google possibility.
3. After signing in, you can be requested to obtain the Desktop Agent. Click on on obtain, await it to finish, and set up it.
Additionally Learn: 10 Best Web Browsers (2020)
Putting in Postman Utilizing Simply One Command
Because of the consumer SanderTheDragon, now you can set up Postman with only one command. It will obtain the Postman tarball, extract it, and set up Postman for you.
wget -O - https://gist.githubusercontent.com/SanderTheDragon/1331397932abaa1d6fbbf63baed5f043/uncooked/postman-deb.sh | sh
Putting in Postman Utilizing The Binary
1. Head over to downloads page and obtain the binary.
2. Open the terminal and cd into the listing the place the binary resides which, in my case, is the Downloads/ listing.
cd Downloads/
3. Then extract the binary utilizing the command.
tar -xvzf Postman-linux-x64-7.36.0.tar.gz
Make certain to exchange the model “7.36.0” with the model of that you simply downloaded.
4. cd into the Postman listing.
cd Postman
5. Run Postman.
./Postman
The draw back of this methodology is, everytime you wish to run Postman, you will have to fireplace u[ the terminal and enter the command which is not at all great but, there’s a solution for that.
- Download a Postman logo from the internet.
2. Create a postman.desktop file in ~/.local/share/applications/.
3. Open the file through your desired text editor and add the following data.
[Desktop Entry]
Model=1.0
Title=Postman
Remark=Postman Desktop
Exec=/dwelling/<your-username>/<path-to-postman-executable>
Path=/dwelling/<your-username>/<path-to-postman-executable-directory>
Icon=/dwelling/<your-username>/<path-to-postman-logo>
Terminal=false
Kind=Utility
Classes=Improvement;
4. Save the file and now it’s best to see the Postman icon within the checklist of apps.
5. For those who don’t see it, execute the next command.
sudo update-desktop-database
What do you consider Postman? Have you ever used different API testing software program that you simply assume are higher than Postman? Tell us within the feedback part beneath.