1.第一種方式 snap install
sudo snap install postman
由於snap安裝方式是最新,雖然是以後的趨勢,但是目前,有的應用安裝或多或少存在問題。
2第二種方式 傳統安裝包
a. 下載安裝包,根據你的系統
https://www.getpostman.com/downloads/
b. 打開終端,到下載包所在目錄執行以下命令(具體版本號根據自己下載的做相應修改):
sudo tar -xzf Postman-linux-x64-7.11.0.tar.gz -C /opt
sudo ln -s /opt/Postman/Postman /usr/bin/postman
c. 添加桌面圖標
nano ~/.local/share/applications/postman.desktop
寫入以下內容,後保存文件。
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
大功告成。