在 Ubuntu 上运行 Postman 有几种常见方式,下面按最推荐 → 备选给你说明。
Postman 官方提供了 Snap 包,适合大多数 Ubuntu 用户。
sudo apt update
sudo apt install snapd
sudo snap install postman
postman
前往官网: https://www.postman.com/downloads/
选择 Linux → 64-bit
chmod +x Postman-linux-x64-*.AppImage
./Postman-linux-x64-*.AppImage
适合不想污染系统的用户,可直接放 U 盘或 ~/Applications
cd ~/Downloads
tar -xvf postman-linux-x64-*.tar.gz
sudo mv Postman /opt/
sudo ln -s /opt/Postman/Postman /usr/local/bin/postman
postman
尝试:
postman --disable-gpu
或安装依赖:
sudo apt install libnss3 libgtk-3-0 libgbm1
确保软链接存在:
which postman
| 方式 | 推荐度 | 说明 |
|---|---|---|
| Snap | ⭐⭐⭐⭐⭐ | 官方支持,省心 |
| AppImage | ⭐⭐⭐⭐ | 便携 |
| tar 手动 | ⭐⭐⭐ | 可控但麻烦 |
如果你告诉我:
我可以给你更精确的指导。