Skip to content

Instantly share code, notes, and snippets.

@programmerShinobi
Last active October 24, 2024 15:25
Show Gist options
  • Save programmerShinobi/2d7ba89d451304e10f6c1ae42864d414 to your computer and use it in GitHub Desktop.
Save programmerShinobi/2d7ba89d451304e10f6c1ae42864d414 to your computer and use it in GitHub Desktop.
Postman Installation Via Snap (Linux OS | Ubuntu | Debian)

Postman Installation

Postman Installation Via Snap (Linux OS | Ubuntu | Debian) :

  • Postman recommends installing using Snap because it includes all the libraries the app needs and they're bundled with the app itself.
  • The support of certain Linux distributions depends on if they're supported by Electron.
  1. Install Electron
    $ sudo apt-get install build-essential clang libdbus-1-dev libgtk-3-dev \
                       libnotify-dev libasound2-dev libcap-dev \
                       libcups2-dev libxtst-dev \
                       libxss1 libnss3-dev gcc-multilib g++-multilib curl \
                       gperf bison python3-dbusmock openjdk-8-jre
  2. Install xdelta3 (support to install postman)
    $ sudo apt update
    $ sudo apt upgrade
    $ sudo apt install xdelta3
  3. Install snap
    $ sudo apt install snapd
  4. Install postman via snap
    $ sudo snap install postman
  5. Login to postman, before opening the postman app with the same account
    $ postman login

When running postman, it often causes "forced quit", so run :

  1. Purge snap
    $ sudo apt purge snapd
  2. Reinstall snap
    $ sudo apt install snapd
  3. Restart the system
    $ sudo reboot
  4. Install postman via snap
    $ sudo snap refresh
    $ sudo systemctl restart snapd
    $ sudo snap install postman
  5. Login to postman, before opening the postman app with the same account
    $ postman login

Source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment