[IT] SAMSUNG Galaxy Chromebook #6 在 Chromebook Linux安装 Postman

in hive-101145 •  4 years ago 

pixabay

不知何时postman上线web版,但目前有局限性,居然无法调用API?、
https://web.postman.co/

image.png
算了,web版本耐心等候,还是装上桌面版吧。今天就来安装linux版Postman到Chromebook。、

网上说可以用linux的snap包方便安装,可惜,它好像不支持Chromebook,安装失败。


$ sudo apt install snapd
$ sudo snap install postman

没办法,只能手动安装了。
首先在 https://www.postman.com/downloads/ 下载文件??啊?有俩版本??应该下载64位吧?

image.png


以防万一,用 $ getconf LONG_BIT 命令确认我的 Chromebook Linux 是64位。

image.png


ls命令确认下载完的文件。

image.png


之后用以下四行命令安装。最后用postman 命令运行,简单简单。

$ tar -xzf Postman-linux-x64-7.36.1.tar.gz
$ sudo mkdir -p /opt/apps/
$ sudo mv Postman /opt/apps/
$ sudo ln -s /opt/apps/Postman/Postman /usr/local/bin/postman
$ postman

image.png


话说用命令运行程序比较酷,但我还是喜欢用快捷方式。
用vi编辑器创建一个desktop文件...
$ sudo vi /usr/share/applications/postman.desktop

输入如下内容保存即可创建快捷方式。

[Desktop Entry]
Type=Application
Name=Postman
Icon=/opt/apps/Postman/app/resources/app/assets/icon.png
Exec="/opt/apps/Postman/Postman"
Comment=Postman Desktop App
Categories=Development;Code;

image.png

image.png


[Cookie 😅]

1. 参考文章:

https://www.tecmint.com/install-postman-on-linux-desktop/

2. 删除 postman
$ sudo rm -rf /opt/apps/Postman
$ sudo rm /usr/local/bin/postman
$ sudo rm /usr/share/applications/postman.desktop
3. Linux OS 版本命令
ethan@penguin:~$ cat /etc/*release*
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

[US$18.50](▼39%)[Xiaomi]🚨2020 최신 항바이러스 필터 입고!!🚨 샤오미 공기청정기 필터 / 미에어 필터 / 고효율 정화 / 활성탄 필터 / 포름알데히드 제거 / 고밀도 헤파필터 / 무료배송

WWW.QOO10.COM

@june0620 transfered 1.0 KRWP to @krwp.burn. voting percent : 0.41%, voting power : 59.98%, steem power : 2022763.10, STU KRW : 1200.
@june0620 staking status : 50 KRWP
@june0620 limit for KRWP voting service : 0.05 KRWP (rate : 0.001)
What you sent : 1.0 KRWP
Refund balance : 0.95 KRWP [50606069 - 6cd3fe907ce7df04bee4633df18adfbeff3642b0]