Ubuntu学习笔记131-FullCircle第111期摘要

1、安装deb文件命令
sudo dpkg -i app-filename.deb

2、卸载deb(dpkg只卸载主包,不卸载依赖包。)
sudo dpkg -r packagename

3、列出所有已安装的包
dpkg -l

dpkg -l | less

4、下载安装
sudo apt-get install package_name

5、下载更新
sudo apt-get –only-upgrade install package_name

6、更新安装包列表
sudo apt-get update

7、更新所有已安装的包
sudo apt-get upgrade

8、卸载包(只卸载来自包的所有文件,不卸载配置文件或依赖包。)
sudo apt-get remove package_name

9、卸载包的所有文件
sudo apt-get purge package_name

10、删除依赖包
apt-get autoremove

11、解压缩
tar xvzf package_name.tar.gz
tar xvjf package_name.tar.bz2
tar -xvf package_name.tar
unzip package_name.zip

12、编译前配置
cd package_name
./configure

13、查看配置帮助
./configure –help

14、编译
make

15、编译后安装
make install

16、卸载编译安装的软件
make uninstall

17、删除所有编译安装产生的文件(#16如果不行的话)
make clean

18、Crosh: Chrome OS command line

Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d 博主赞过: