Ubuntu update/upgrade command
来源:互联网 发布:sql书籍推荐 知乎 编辑:程序博客网 时间:2024/05/16 02:47
http://blog.csdn.net/zhongkeli/article/details/7039356
1. update the system
apt-cache search package 搜索包
apt-cache show package 获取包的相关信息,如说明、大小、版本等
sudo apt-get install package 安装包
sudo apt-get install package - - reinstall 重新安装包
sudo apt-get -f install 修复安装"-f = ——fix-missing"
sudo apt-get remove package 删除包
sudo apt-get remove package - - purge 删除包,包括删除配置文件等
sudo apt-get update 更新源
sudo apt-get upgrade 更新已安装的包
sudo apt-get dist-upgrade 升级系统
sudo apt-get dselect-upgrade 使用 dselect 升级
apt-cache depends package 了解使用依赖
apt-cache rdepends package 是查看该包被哪些包依赖
sudo apt-get build-dep package 安装相关的编译环境
apt-get source package 下载该包的源代码
sudo apt-get clean && sudo apt-get autoclean 清理无用的包
sudo apt-get check 检查是否有损坏的依赖
2. 在Ubuntu应用程序菜单中自行增加程序菜单项
1. At the start icon, there is "Startup Application" action located the right-up corner.
2. Another way with the configuration file:
http://www.soft6.com/news/201111/22/205211.html
http://www.360doc.com/content/09/0408/16/61497_3061232.shtml
3. ubuntu下查看当前网络流量工具
http://hi.baidu.com/gluce/item/8ff2e70524378dd41ff046d5
linux下查看当前网络流量工具有很多,多的不知道用哪个好。今天找了一个好用的,解决了我的流量异常问题。
这两天室友说网络不行,有点卡,我就查了一下。进入路由里看看了,发现是我的机器有问题,这个头大了,我的机器怎么可能出问题,平时都是他们的xp系统中毒,恶意上传。我的ubuntu linux不应该中毒的,这个问题大了。
找了一圈,找到了nethogs,安装命令
sudo apt-get install nethogs
在使用前有个操作,找到自己的网卡
ifconfig
我的机器eth0是有线,eth1是无线,目前正在用无线上网。
操作命令
sudo nethogs eth1
效果如下图:
它的主要特点就是,他可以查看进程占用的带宽信息。通过它找到了是的我Thunderbird,频繁读取我的gmail里的较大附件,占用了带宽。在Thunderbird设置了一下,不读取信息较大的邮件,这样就好了。
- Ubuntu update/upgrade command
- ubuntu update , upgrade, dist-upgrade 的区别
- ubuntu安装 update 和 upgrade
- ubuntu update command
- ubuntu 的upgrade 和 update 安装git
- update/upgrade
- ubuntu-10.04.4系统update以及upgrade失败解决办法
- linux中ubuntu sudo update与upgrade区别
- ubuntu sudo update与upgrade的作用及区别
- ubuntu sudo update与upgrade的作用及区别
- ubuntu sudo update与upgrade的作用及区别
- ubuntu 中sudo update与upgrade的作用及区别
- ubuntu 中sudo update与upgrade的作用及区别
- ubuntu sudo update与upgrade的作用及区别
- ubuntu sudo update与upgrade的作用及区别
- Ubuntu 中apt update和upgrade 的区别
- ubuntu sudo update跟upgrade的作用和区别
- ubuntu sudo update与upgrade的作用及区别
- 校园招聘--网易笔试
- 详解构造函数,包括机制、作用、种类、用法以及延伸思考
- MongoDB数据库
- 《Windows核心编程系列》二十谈谈DLL高级技术
- SCU 4320: File Recover
- Ubuntu update/upgrade command
- c# 获取远程用户ip,z真实ip
- 《windows核心编程系列》二十一谈谈基址重定位和模块绑定
- adb pull/push 文件夹
- 《windows核心编程系列》二十二谈谈修改导入段拦截API。
- IT 圈里经常被读错的英文单词
- 《Windows核心编程系列》十异步IO之IO完成端口
- 强化记忆
- CODE 80: Maximum Subarray