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

前端 未结 13 614
隐瞒了意图╮
隐瞒了意图╮ 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:56

    This is works for me on Ubuntu 18.04 with Postman v7.1.1 which is released on 20 May, 2019.

    Download the latest version of Postman.

    • For Linux 32-bit
    • For Linux 64-bit

    Most probably your downloaded file should be in Downloads folder.

    # Postman-linux-x64-7.1.1.tar.gz is my downloaded file
    
    cd /home/YOUR_USERNAME/Downloads/
    tar -xzf Postman-linux-x64-7.1.1.tar.gz Postman/
    sudo mv Postman /usr/share/postman
    sudo ln -s /usr/share/postman/Postman /usr/bin/postman
    

    If you get an error like this,

    /usr/share/postman/Postman: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
    

    please install libgconf-2-4.

    sudo apt install libgconf-2-4
    

    Just type postman in your terminal and hit enter to run latest version of Postman. Now we have to create an Unity desktop file for your launcher. For create postman.desktop file run the below command.

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

    Then paste below lines into the postman.desktop file.

    [Desktop Entry]
    Encoding=UTF-8
    Name=Postman
    Exec=postman
    Icon=/usr/share/postman/app/resources/app/assets/icon.png
    Terminal=false
    Type=Application
    Categories=Development;
    

    Now you can see the "Postman" icon in your Unity launcher. If you miss any point please go through this video or comment below.

提交回复
热议问题