Skip to content

How to Install Postman on Ubuntu 24.04

Advertisement

Postman is one of the most popular tools for building and testing APIs. It gives you a clean graphical interface for sending HTTP requests, inspecting responses, organizing requests into collections, writing tests and sharing your work with a team, all without typing long curl commands.

This guide shows three ways to install Postman on Ubuntu 24.04 LTS (Noble Numbat): the Snap package (quickest), Flatpak from Flathub, and the official tarball from Postman’s website. You will also learn how to create a desktop launcher for the tarball version, keep Postman up to date, and remove it if you no longer need it.

Prerequisites

  • A system running Ubuntu 24.04 desktop.
  • A user account with sudo privileges.
  • An internet connection.

Open a terminal with Ctrl + Alt + T and refresh the package index before you begin:

sudo apt update

Which Installation Method Should You Choose?

MethodBest forUpdates
SnapMost users. Snap is already installed on Ubuntu 24.04.Automatic
FlatpakUsers who prefer Flathub or already use Flatpak appsflatpak update
TarballUsers who want the official build without Snap or FlatpakBuilt-in updater

Pick one method. Installing Postman more than one way gives you several copies in the applications menu.

Postman publishes an official Snap package, and Ubuntu 24.04 ships with the snapd service already installed. A single command installs it:

sudo snap install postman

When the download finishes, you’ll see a message such as postman (v11/stable) … installed. Snap packages update automatically in the background, so you don’t need to do anything else to stay on the latest version.

To check the installed version at any time, run:

snap list postman

Method 2: Install Postman Using Flatpak

Flatpak isn’t installed by default on Ubuntu 24.04. Install it first, then add the Flathub repository:

sudo apt install flatpak -y
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

If this is the first time you’ve set up Flatpak on this machine, log out and back in (or reboot) so Postman shows up in the applications menu. Then install Postman from Flathub:

flatpak install flathub com.getpostman.Postman -y

You can now start it from the applications menu, or from the terminal:

flatpak run com.getpostman.Postman

Method 3: Install Postman from the Official Tarball

Postman also offers a standalone Linux build as a compressed archive. Download the latest 64-bit version:

wget https://dl.pstmn.io/download/latest/linux_64 -O postman-linux-x64.tar.gz

On an ARM64 machine, use https://dl.pstmn.io/download/latest/linux_arm64 instead.

Extract the archive to /opt, which creates the /opt/Postman directory:

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

Create a symbolic link so you can start Postman by typing postman in any terminal:

sudo ln -sf /opt/Postman/Postman /usr/local/bin/postman

Create a Desktop Launcher

The tarball doesn’t add Postman to the applications menu on its own. Create a desktop entry for it:

nano ~/.local/share/applications/postman.desktop

Paste the following lines, then save the file with Ctrl + O and exit with Ctrl + X:

[Desktop Entry]
Type=Application
Name=Postman
Comment=API development and testing platform
Exec=/opt/Postman/Postman %U
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Categories=Development;

Postman now shows up when you search for it in the applications menu. Once it’s running, the tarball build updates itself from inside the app.

Note for Ubuntu 24.04: Ubuntu 24.04 restricts unprivileged user namespaces through AppArmor. Some Electron apps that are run straight from a tarball, Postman included, can fail to start because of it. If you start Postman from a terminal and it exits with a sandbox error, use the Snap or Flatpak method instead. Both run Postman inside their own confinement and aren’t affected.

Launch Postman

Press the Super key, type Postman and click the icon. On first launch, Postman asks you to sign in or create a free account. An account syncs your collections, environments and history across devices. If you just want to send a few requests, you can skip signing in and use Postman’s lightweight API client instead.

To check that everything works, create a new request, enter a public test URL such as https://postman-echo.com/get, and click Send. Postman shows the JSON response, status code and response time in the lower pane.

Uninstall Postman

Use the command that matches how you installed it.

Snap:

sudo snap remove postman

Flatpak:

flatpak uninstall com.getpostman.Postman -y

Tarball:

sudo rm -rf /opt/Postman
sudo rm -f /usr/local/bin/postman
rm -f ~/.local/share/applications/postman.desktop

Conclusion

You now have Postman installed on Ubuntu 24.04 LTS. For most users the Snap package is the easiest option, because it installs with a single command and updates itself. Flatpak is a good alternative if you prefer Flathub. The official tarball gives you Postman’s own build without either packaging system. Whichever method you chose, you’re ready to start building and testing APIs from your Ubuntu desktop.

Rahul

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Leave a Reply

Your email address will not be published. Required fields are marked *


Back to top