Scott's Weblog The weblog of an IT pro focusing on cloud computing, Kubernetes, Linux, containers, and networking

Installing Postman on Fedora 27

I recently had a need to install the Postman native app on Fedora 27. The Postman site itself only provides a link to the download and a rather generic set of instructions for installing the Postman native app (a link to these instructions for Ubuntu 16.04 is also provided). There were not, however, any directions for Fedora. Hence, I’m posting the steps I took to set up the Postman native app on my Fedora 27 laptop.

(Note that these instructions will probably work with other versions of Fedora as well, but I’ve only used them on Fedora 27.)

Here are the steps I followed:

  1. Download the installation tarball, either via your browser of choice or via the command line. If you’d prefer to use the command line, this command should take care of you:

     curl -L -O postman-linux-x64.tar.gz
  2. Unpack the tarball into the directory of your choice. I prefer to put third-party applications such as this into the /opt directory; you can (obviously) put it wherever you prefer. This command should do the trick:

     sudo tar xvzf postman-linux-x64.tar.gz -C /opt

    If you prefer a directory other than /opt, specify the appropriate directory in the command above.

  3. In my particular case, tar created a directory with an uppercase character (/opt/Postman) and some odd permissions (a strange user and group for ownership). I fixed those with mv and chown, respectively. You may or may not need to do anything.

  4. Create a symbolic link in a directory included in your PATH. In this example, I’m creating the symbolic link in /usr/local/bin, but you could use any directory included in your PATH:

     sudo ln -s /opt/postman/Postman /usr/local/bin/postman
  5. At this point, you should be able to launch Postman by just running postman from the terminal. However, ideally you’ll want to be able to use a graphical launcher. To do that, you need to create a “desktop launcher.” Create a file named postman.desktop in ~/.local/share/applications with these contents:

     [Desktop Entry]
     GenericName=API Client
     X-GNOME-FullName=Postman API Client
     Comment=Make and view REST API calls and responses
  6. Log out and log back in, and after a few minutes you should be able to see a Postman icon in your list of applications. You can now launch Postman either by using the graphical launcher or by running postman in the terminal.


UPDATE: Newer versions of Postman apparently change some of the paths inside the tarball. Check out this post on installing Postman 6.7.1 on Fedora 29 for some updated information. Credit to Jose Barahona for the post. Thanks Jose!

Metadata and Navigation

Be social and share this post!