How to install/start Postman native v4.10.3 on Ubuntu 16.04 LTS 64-bit?

前端 未结 13 609
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 02:26

I downloaded Postman for Linux (from https://www.getpostman.com/apps), unpacked .tar.gz file into ~/bin/postman and then tried to execute ~/bin/postman/Postma

相关标签:
13条回答
  • 2021-01-30 02:45

    Yes, there is awesome simple bash script I found, which allows you to update the Postman Linux app, straight from the terminal, called postman-updater-linux.

    Just install it using NPM:

    npm install -g postman-updater-linux
    

    Then check for updates:

    sudo postman-updater check
    

    Then install:

    sudo postman-updater install
    

    Or update:

    sudo postman-updater update
    

    All three last commands can be used with custom location by adding -l /your/custom/path to end of this command.

    0 讨论(0)
  • 2021-01-30 02:45

    Download latest version of postman from https://www.postman.com/downloads/ then after tar.gz file gets downloaded follow below commands

    $ tar -xvzf Postman-linux-x64-7.27.1.tar.gz
    $ cd Postman
    $ ./Postman
    
    0 讨论(0)
  • 2021-01-30 02:46

    Yes, you can install Postman using these commands:

    wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz
    sudo tar -xzf postman.tar.gz -C /opt
    rm postman.tar.gz
    sudo ln -s /opt/Postman/Postman /usr/bin/postman
    

    You can also get Postman to show up in the Unity Launcher:

    cat > ~/.local/share/applications/postman.desktop <<EOL
    [Desktop Entry]
    Encoding=UTF-8
    Name=Postman
    Exec=postman
    Icon=/opt/Postman/app/resources/app/assets/icon.png
    Terminal=false
    Type=Application
    Categories=Development;
    EOL
    

    You don't need node.js or any other dependencies with a standard Ubuntu dev install.

    See more at our blog post at https://blog.bluematador.com/posts/postman-how-to-install-on-ubuntu-1604/.

    EDIT: Changed icon.png location. Latest versions of Postman changed their directory structure slightly.

    0 讨论(0)
  • 2021-01-30 02:46

    also you need install nodejs:

    curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
    sudo apt-get install -y nodejs 
    
    0 讨论(0)
  • 2021-01-30 02:48

    Was having an issue getting the "Run in Postman" links to work with the browsers until I added this to the .desktop file

    MimeType=application/postman;x-scheme-handler/postman;
    
    0 讨论(0)
  • 2021-01-30 02:50

    As postman chrome app has deprecated so, Postman Native app is available to support native plateforms. You can install Postman on Linux/Ubuntu via the Snap store using the command in terminal.

    $ snap install postman

    After successful installation you can find this in your applications list.

    0 讨论(0)
提交回复
热议问题