How to Install Postman REST Client in Fedora 34/35

Postman is an application used for API testing. Postman is the Complete API Development Environment with Integrated Tools for Every Stage of the API Lifecycle. It is an HTTP client that provides a graphical user interface through which you can tests HTTP requests while obtain different types of responses. Postman allows us to build, test and modify the API.

Postman can run PUT, PATCH, DELETE, and various other request methods as well, and also has utilities to help with developing APIs. Free and paid versions are available for Mac, Windows, Linux, and also as a Chrome app.

Postman is the most popular API testing platform, it is being used bu Over 15 million developers. Postman has rich documentation that can be found here.

This guide will show you a Step-by-Step process Install Postman REST Client in Fedora 34.

# Installing postman

There are two ways you can go about installing postman:

  1. Using Snap
  2. Downloading the Postman Desktop app

# 1. Using Snap

Snap is a software packaging and deployment system developed by Canonical for operating systems that use the Linux kernel.

Snaps are cross-distribution, dependency-free, and easy to install applications packaged with all their dependencies to run on all major Linux distributions. From a single build, a snap (application) will run on all supported Linux distributions on desktop, in the cloud, and IoT. Supported distributions include Ubuntu, Debian, Fedora, Arch Linux, Manjaro, and CentOS/RHEL.

Check mode about the snaps in their site here.

First ensure snapd (package providing support for snap) is installed:

sudo dnf install snapd

Then create a symbolic link to /var/lib/snapd/snap for /snap:

sudo ln -s /var/lib/snapd/snap /snap

Then install Postman:

sudo snap install postman

# 2. Downloading the Postman Desktop app

Head over to the Downloads page here and click on the Download the App button:

Download Postman
Download Postman

Once downloaded, open your terminal and move to the downloads directory:

$ cd ~/Downloads/

Check that the Postman file is downloaded:

$ ls

Now extract the file:

$ tar -xzvf Postman-linux-x86_64-8.11.1.tar.gz

Now move the extracted directory to the /opt directory:

$ sudo mv Postman /opt

Create a symlink for the executable /opt/Postman/Postman called /usr/local/bin/postman to access the Postman command:

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

To test that its working as expected, type postman in terminal:

$ postman

If all goes well, you should see Postman launch, the first page is the login page, skip that and you will see this:

Postman Launch page
Postman Launch page

# Adding a Postman Launcher

A more convenient way to launch Postman is to use the launcher.

To start the app from a launcher icon, you need to create a .desktop file in the system launcher location in this path /usr/share/applications/. The .desktop is
a shortcut that is used to launch an application in Linux. f

For Postman desktop app lets create the file with this command:

sudo vim /usr/share/applications/postman.desktop

Then let’s add the following content pointing to our Postman binary:

[Desktop Entry]
Name=Postman REST Client
Comment=Postman REST Client Desktop App

Save the file and close it.

You should now be able to access Postman by searching in the application launcher.

Postman In Launcher
Postman In Launcher

# Removing/Uninstalling Postman Rest Client

If for some reason you no longer want Postman in your machine, you can remove it.

If it was installed using snap, use this command to. uninstall:

sudo snap remove postman

If you installed it using the manual method, you can remove it by running the following commands:

Remove the Postman Installation in /opt/Postman and the symbolic link:

sudo rm -rf /opt/Postman && rm /usr/local/bin/postman

Remove the Launcher:

sudo rm /usr/share/applications/postman.desktop

That is all. You are now able to install Postman in your system and uninstall it if need be.

Checkout more info about Postman on their site

comments powered by Disqus
Citizix Ltd
Built with Hugo
Theme Stack designed by Jimmy