Difference between revisions of "Membersihkan (purge & clean) paket Debian yang pernah di install"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) (New page: #apt-get remove --purge package #apt-get clean ==Pranala Menarik== * Linux Howto) |
Onnowpurbo (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Install | ||
+ | |||
+ | # apt-get install deborphan debfoster | ||
+ | |||
+ | Buang paket | ||
#apt-get remove --purge package | #apt-get remove --purge package | ||
#apt-get clean | #apt-get clean | ||
+ | |||
+ | the later will clean the /var | ||
+ | |||
+ | #debfoster | ||
+ | |||
+ | will show files and libraries still left after the apt-get remove --purge, if you don't recognize a library, keep it, later on, deborphan will give you a list of 'orphaned' libraries that are hanging with no use, and are safe to nuke. | ||
+ | |||
+ | if you make a mistake with debfoster, type 'u' and will ask you again if you want to keep it. When you are thru with it, invoke deborphan. | ||
+ | |||
+ | #deborphan | ||
+ | |||
+ | will give a list of libraries that are hanging just taking space, to get rid of them: | ||
+ | |||
+ | #deborphan | xargs apt-get -y remove purge | ||
+ | |||
+ | when thru with that: | ||
+ | |||
+ | #apt-get clean | ||
+ | |||
Revision as of 15:47, 5 August 2009
Install
# apt-get install deborphan debfoster
Buang paket
#apt-get remove --purge package #apt-get clean
the later will clean the /var
#debfoster
will show files and libraries still left after the apt-get remove --purge, if you don't recognize a library, keep it, later on, deborphan will give you a list of 'orphaned' libraries that are hanging with no use, and are safe to nuke.
if you make a mistake with debfoster, type 'u' and will ask you again if you want to keep it. When you are thru with it, invoke deborphan.
#deborphan
will give a list of libraries that are hanging just taking space, to get rid of them:
#deborphan | xargs apt-get -y remove purge
when thru with that:
#apt-get clean