[问题]apt-get下载的东西怎么删除

上网、浏览、聊天、下载等
回复
头像
dustin.xu
帖子: 75
注册时间: 2007-10-14 11:51

[问题]apt-get下载的东西怎么删除

#1

帖子 dustin.xu » 2008-02-05 16:17

apt-get下载过一个软件以后,可以再安装好像就不用下了,那么这个"安装程序"应该就在我的系统里面了吧,那么怎么删掉呢?autoclean吗?好像没用嘛

我要删除的是“安装程序”,不是程序安装好以后,再删除这个程序
上次由 dustin.xu 在 2008-02-05 16:35,总共编辑 1 次。
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#2

帖子 skyx » 2008-02-05 16:19

安装软件:

sudo apt-get install xxx

删除:

sudo apt-get remove xxx

也可在图形界面的新立得中进行,效果完全一样
no security measure is worth anything if an attacker has physical access to the machine
头像
dustin.xu
帖子: 75
注册时间: 2007-10-14 11:51

#3

帖子 dustin.xu » 2008-02-05 16:34

skyx 写了:安装软件:

sudo apt-get install xxx

删除:

sudo apt-get remove xxx

也可在图形界面的新立得中进行,效果完全一样
不是这个意思……
我的意思是删除安装程序,而不是安装以后“的”程序
头像
skyx
论坛版主
帖子: 9202
注册时间: 2006-12-23 13:46
来自: Azores Islands
联系:

#4

帖子 skyx » 2008-02-05 16:48

dustin.xu 写了:
不是这个意思……
我的意思是删除安装程序,而不是安装以后“的”程序
sudo apt-get clean

实在空间不够,或网速快,可以这样做,如果下次重装,那就要重新从源中下载了,这样有可能会浪费时间,或加重源的网络负载。
no security measure is worth anything if an attacker has physical access to the machine
erikchang
帖子: 14
注册时间: 2008-01-13 0:48

#5

帖子 erikchang » 2008-02-05 17:00

apt-get remove xxxx删除程序不干净
建议执行下
dpkg -l |grep "^rc"|awk '{print $2}' |xargs aptitude -y purge
连程序的配置文件一块扫掉
头像
bwchaos
帖子: 416
注册时间: 2006-10-19 14:08
来自: 西夏

#6

帖子 bwchaos » 2008-02-05 19:26

aotoclean
autoremove

ps 没有这个必要
回复