ubuntu安裝post遇到問題

@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

正常

猜你喜欢

转载自www.cnblogs.com/brucewen/p/11113056.html