系统相关
首页 > 系统相关> > Linux系统centos7安装Python3和Postman

Linux系统centos7安装Python3和Postman

作者:互联网

https://blog.csdn.net/lwlhqyh/article/details/81505685

1、Postman的安装:

1. 到官网下载:https://www.getpostman.com/apps,下载Linux版本64bit
2. 解压安装包到/usr/local/postman目录:tar zxvf postman.tar.gz -C /usr/local/postman
3. 建立软链接
sudo ln -s /usr/local/postman/Postman/Postman /usr/bin/postman
4. 创建postman应用程序启动器:
touch /usr/share/applications/postman.desktop
vim /usr/share/applications/postman.desktop
在/usr/share/applications/postman.desktop文件中添加如下内容:
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/usr/bin/postman
Terminal=false
Type=Application
Icon=/usr/local/postman/Postman/app/resources/app/assets/icon.png
StartupNotify=true
Categories=Development;
5. 若Postman不能运行,可以进入解压目录/usr/local/postman,执行./Postman/Postman
若出现 error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory的错误
则执行命令:yum install libXScrnSaver

二:缺少 libxkbcommon.so.0

yum install libxkbcommon -y

 

三。缺少libatk-bridge-2.0.so.0

则yum install at-spi2-atk

 

四:缺少libgtk-3.so.0

则yum install gtk3 -y

 

五:缺少libXss.so.1:

则 yum install libXScrnSaver

 

六:缺少 libatk-1.0.so.0

则yum  install atk 

 

七:缺少libatk-bridge-2_0-0

则yum install at-spi2-atk 

 

yum的命令形式一般是如下:    yum –选项命令包

其中选项是可选的,选项包括-h(帮助),-y(当安装过程提示选择全部为"yes"),-q(

不显示安装的过程)等等。[command]为所要进行的操作,[package ...]是操作的对象。

标签:postman,centos7,yum,usr,install,Linux,local,Postman
来源: https://www.cnblogs.com/xincha/p/16495110.html