Downloading and Installing tar.gz always seems like a daunting task. I have spent hours to figure out the right way to properly install Postman on my system. And now, I've done it, and I would like to share with you. If your system is based on x64 (64 bit) architecture, just follow the steps below and you can install and run the software within few minutes.
Step 1: Downloading the Postman Installation File
To get started, download the Postman application. We’ll grab the tarball directly from the Postman website.
Open your terminal
Use the
wget
command to download the tarball file
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
This command downloads the latest version of Postman and saves it as postman.tar.gz
.
Step 2: Extracting the Postman Archive
Once the download is complete, we’ll extract the tarball and move the extracted tarball into /opt
directory for system wide access.
tar -xzf postman.tar.gz
sudo mv Postman /opt
Step 3: Set Up a Symlink
To make it easier to open Postman from the terminal, you can set up a symbolic link to the executable.
Run this following command:
sudo ln -s /opt/Postman/Postman /usr/local/bin/postman
Now, you can launch Postman simply by typing postman in the terminal.
Step 4: Create a Desktop Entry
Adding a desktop entry will allow you to launch Postman from the application menu like other programs.
- Open a new file with:
sudo nano /usr/share/applications/postman.desktop
- Paste the following configuration into the file:
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
- Save and close the file by pressing Ctrl + X, then hit Enter key.
This desktop entry should now show Postman in your applications menu.
Step 5: Launching Postman
You can now open Postman in either of the following ways:
- Type postman in the terminal.
- Open it from the applications menu (if you created the desktop entry).
And that’s it! 🎉 You’ve successfully installed Postman on Fedora. Now you can start testing APIs, exploring collections, and using Postman’s powerful features.
Top comments (0)