在 Debian 上装 Postman,分两种情况:官方 AppImage / tar 包 和 Snap。下面把常见依赖和坑都列一下。
Postman 官方给的是:
Postman-linux-x64-*.tar.gzsudo apt update
sudo apt install -y \
libnss3 \
libnss3-dev \
libatk-bridge2.0-0 \
libgtk-3-0 \
libgbm1 \
libasound2 \
libxshmfence1 \
libx11-xcb1 \
libxcb-dri3-0
还需要:
sudo apt install -y fuse
然后:
chmod +x Postman-*.AppImage
./Postman-*.AppImage
sudo apt install snapd
sudo snap install postman
⚠️ 注意:
error while loading shared libraries一般是少了:
libnss3
libgbm1
尝试:
./Postman --no-sandbox
libnss3 libgtk-3-0 libgbm1 libasound2 libxshmfence1
如果你告诉我:
我可以给你精确到版本的命令。