首先到官网(https://www.getpostman.com/)上下载压缩包
然后解压到/opt中(sudo tar -xzf Postman-linux-x64-7.0.6.tar.gz -C /opt/)
然后链接一下,sudo ln -s /opt/Postman/Postman /usr/bin/postman
之后创建快捷方式,sudo vi ~/.local/share/applications/postman.desktop
在里面添加如下内容:
[Desktop Entry]
Encoding=UTF-8
Name=postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
之后测试快捷方式是否创建成功。