Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #264005

Re: used vs. unused packages installed

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: used vs. unused packages installed
Date 2023-12-01 00:50 +0100
Message-ID <HFYX8-ab4X-3@gated-at.bofh.it> (permalink)
References <HFXHH-a9LH-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Mike McClain wrote: 
>     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.
>     $ apropos editor | wc   reports 23 hits
> Six of which are various versions of VI which I don't use but pico,
> nano, mcedit, mousepad and mu-editor are also included. I only use jed
> but don't know what would break if I purged the others and am loathe
> to break a working system.
>     There are 259 packages whose name starts with 'python', admittedly I
> could purge one a week and see if anything breaks, that would only take
> 5 years but I'm not quite that patient.
> 
>     Suggestions?

Pick a suspect package and run

apt-cache rdepends --installed PACKAGE

That shows you all the packages which are installed and depend
on this PACKAGE.

That saves you from the uninstall-and-see-what-breaks dance.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

used vs. unused packages installed Mike McClain <mike.junk.46@att.net> - 2023-11-30 23:30 +0100
  Re: used vs. unused packages installed Dan Ritter <dsr@randomstring.org> - 2023-12-01 00:50 +0100
  Re: used vs. unused packages installed Greg Wooledge <greg@wooledge.org> - 2023-12-01 01:00 +0100
    Re: used vs. unused packages installed Michel Verdier <mv524@free.fr> - 2023-12-01 10:50 +0100
  Re: used vs. unused packages installed John Hasler <john@sugarbit.com> - 2023-12-01 02:10 +0100
  Re: used vs. unused packages installed David Wright <deblis@lionunicorn.co.uk> - 2023-12-01 02:50 +0100
    Re: used vs. unused packages installed Michel Verdier <mv524@free.fr> - 2023-12-01 12:20 +0100
  Re: used vs. unused packages installed Nate Bargmann <n0nb@n0nb.us> - 2023-12-01 17:20 +0100

csiph-web