ubuntu安裝postman遇到問題

@ubuntupc:~/Postman/app$ sudo ./Postman
./Postman: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

需要安裝 libgconf-2-4

@ubuntupc:~$ sudo apt-get install libgconf-2-4

@ubuntupc:~/Postman/app$ sudo ./Postman

 

可以對postman進行別名處理,如命令:ubuntupc:~$ vi ~/.bashrc

加入語句alias postman="sudo $HOME/Postman/Postman"

保存退出,執行命令

ubuntupc:~$ source ~/.bashrc

ubuntupc:~$ postman
Gtk-Message: 11:29:02.840: Failed to load module "canberra-gtk-module"
安裝canberra-gtk-module模塊

ubuntupc:~$ sudo apt install libcanberra-gtk-module

ubuntupc:~$ postman

正常

posted @ 2019-07-01 11:23  浮生如梦--心猿  阅读(351)  评论(0编辑  收藏  举报