[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: used vs. unused packages installed



 Mike McClain writes:
> Is there any way to determine which packages are used of the many that
> come with an install?  My Raspberry Pi install of bookworm has some
> 1800 packages installed many of which I know I don't use, many others
> I suspect I don't use but don't know if some program I do use depends
> on them at some point in its life.

When you remove a package using apt it removes packges that depend on
it.

Run

apt -s remove <package> | grep Remv

This will list all the packages that depend on <package> and therefor
would also be removed. "apt -s" simulates the action without actually
changing anything.  It needn't be run as root.
-- 
John Hasler 
john@sugarbit.com
Elmwood, WI USA


Reply to: