不灭的焱

革命尚未成功,同志仍须努力下载JDK17

作者:Albert.Wen  添加时间:2018-11-03 23:32:42  修改时间:2024-04-28 23:53:08  分类:电脑/软件使用  编辑

1、官网下载Linux软件包:

https://www.getpostman.com/apps

2、解压安装

sudo tar -xzvf Postman-linux-x64-6.4.4.tar.gz

3、进入解压后的 Postman文件夹打开终端,启动 Postman

./Postman/Postman

4、建立软链接,创建解压后的 Postman 文件中的 Postman 到 /usr/bin/ 目录下

sudo ln -s /alidata/server/Postman/Postman /usr/bin/

5、创建启动图标,便于快速启动

sudo vim  /usr/share/applications/Postman.desktop

添加内容:

[Desktop Entry]
Name=Postman
GenericName=Postman
Exec=/usr/bin/Postman
Terminal=false
Icon=/alidata/server/Postman/app/resources/app/assets/icon.png
Type=Application
Categories=Network;

 

注意

解压 Postman-linux-x64-6.4.4.tar.gz 的时候,一定要通过上面的 命令行模式 去解压,而不要使用 系统自带的可视化的解压软件去解压,有可能会破坏 压缩包中的“软链接”文件。例如,会报如下错误:

error while loading shared libraries: libnode.so.0: cannot open shared object file: No such file or directory