Linux系统centos7安装Python3和Postman
2022/7/21 5:25:02
本文主要是介绍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 ...]是操作的对象。
这篇关于Linux系统centos7安装Python3和Postman的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-03-30[译]漫画SELinux概念
- 2024-03-29linux 移动文件
- 2024-03-28linux .so file
- 2024-03-28Linux 磁盘管理
- 2024-03-28Linux学习笔记(十三)磁盘管理(一):磁盘分区
- 2024-03-26linux 创建 文件
- 2024-03-25使用SecureCRT对Linux vim进行颜色设置
- 2024-03-202019-2020-12 20199317 《Linux内核原理与分析》 第十二周作业
- 2024-03-20Linux运维的第二周总结
- 2024-03-13how to count number of directories in linux