How to Install Postman REST Client in Debian 11

Pinterest LinkedIn Tumblr

In this guide, we are going to explore how to install Postman Client on Debian 11.

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.

Related content:


To follow along, ensure you have the following:

  • An updated Debian 11 server
  • Conenction to the internet
  • Root access to the server or user with sudo access

Table of content

  1. Ensuring that the server is updated
  2. Installing using snap package manager
  3. Downloading the Postman Desktop app

Ensuring that the server is updated

Before proceeding, let us make sure that our server packages are updated. Use this command to update the repos then upgrade server packages:

sudo apt update
sudo apt -y upgrade

Let us also install common packages:

sudo apt install -y vim

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

Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.

After this, install the core snap in order to get the latest snapd.

$ sudo snap install core
2021-10-25T09:30:45+03:00 INFO Waiting for automatic snapd restart...
core 16-2.52.1 from Canonical✓ installed

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
postman (v8/stable) 8.12.4 from Postman, Inc. (postman-inc✓) installed

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 -xzf Postman-linux-x86_64-8.12.4.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.

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

I am a Devops Engineer, but I would describe myself as a Tech Enthusiast who is a fan of Open Source, Linux, Automations, Cloud and Virtualization. I love learning and exploring new things so I blog in my free time about Devops related stuff, Linux, Automations and Open Source software. I can also code in Python and Golang.


  1. Pingback: How to Install Postman REST Client in Fedora 34

Write A Comment