centso7.5 安装postman(实测)

# 下载安装包
wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz

# 解压安装包到/usr/local/postman目录
sudo mkdir /usr/local/postman
sudo tar zxvf postman.tar.gz -C /usr/local/postman
rm -rf postman.tar.gz

# 建立软链接
sudo ln -s /usr/local/postman/Postman/Postman /usr/bin/postman

如果出现如下情况

[ntsyai@DESKTOP-2T8A4KQ ~]$ postman
postman: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory

则执行下面这步

sudo yum install libXScrnSaver

就解决问题了

参考

https://blog.csdn.net/Star_CSU/article/details/82217136?utm_source=blogxgwz7

http://www.feihu1996.cn/?id=287

猜你喜欢

转载自blog.csdn.net/qq_36401512/article/details/84762488