在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,解决。