在Ubuntu中安裝軟件
1在線安裝
sudo apt-get install **
2離線安裝第三方
以安裝teamviewer爲例,To install:
Download the official image from http://www.teamviewer.com/en/download/linux.aspx
Open a console
Run command cd ~/Downloads/
Run command sudo dpkg -i teamviewer_linux.deb
Run command sudo apt-get -f install to install any missing dependencies
Follow whatever steps it needs you to take.
You do not need (or want) the 64bit package, as Ubuntu has a “multiarch” feature, allowing a 64bit OS to natively run 32bit programs.
3安裝庫
/usr/bin/ld: cannot find -lz
sudo apt-get install libz-dev OK,解決。