If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
Please do not use the CODE tag when pasting content that contains formatting (colored, bold, underline, italic, etc).
The CODE tag displays all content as plain text, including the formatting tags, making it difficult to read.
If you no longer want to use a package, you can remove it from your system using APT. To do this just type: apt-get remove package.
As you can see in the above example, APT also takes care of removing packages which depend on the package you have asked to remove. There is no way to remove a package using APT without also removing those packages that depend on it.
Running apt-get as above will cause the packages to be removed but their configuration files, if any, will remain intact on the system. For a complete removal of the package, run:
Use aptitude when you install instead of apt-get:
# sudo aptitude install <package>
To delete the program and all dependencies you go:
# sudo aptitude remove <package>
That will remove the program and all dependencies which are not needed by any other programs. You need to install with aptitude for this to work, otherwise it will be treated as apt-get when you delete.
This works similar to (but not identical to) aptitude...that is you have to have installed the package (and it's dependencies) with apt-get, adept or synaptic. AFAIK it's not compatible with the aptitude system, at least not yet.
You can also 'autoremove' depencies with synaptic in edgy, I don't think Adept has a similar feature yet.
This is a new feature in apt, so it isn't unfortunately available for dapper :P
Comment