Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Package management, depclean and new installs
Date: Tue, 05 Oct 2021 07:36:03
Message-Id: 20211005083542.01e3a5f8@digimed.co.uk
In Reply to: Re: [gentoo-user] Package management, depclean and new installs by coalml@tuta.io
1 On Tue, 5 Oct 2021 04:17:32 +0200 (CEST), coalml@××××.io wrote:
2
3 > > was significantly faster than
4 > >
5 > > emerge -C gentoo-sources-version
6 > > rm -fr /usr/src/linux-version
7 > >
8 > So what about other packages? Do you guys find it faster to
9 > rm -rf $(equary f PACKAGE) && emerge -C PACKAGE? Is that slower cuz
10 > equery is also called or could that cause unwanted files from other
11 > packages to be wiped?maybe filters?
12
13 Very few, if any, other packages install all their files in one
14 directory. Nor do they install the sheer number of files
15
16 % qlist \=sys-kernel/gentoo-sources-5.10.61 | wc -l
17 70655
18
19 But the real benefit is that you have to run rm -fr anyway to remove the
20 object files etc. you are running the same commands either way, it is
21 just the order that makes a difference.
22
23 For any other package, I just let portage do its job.
24
25
26 --
27 Neil Bothwick
28
29 Electrocution, n.:
30 Burning at the stake with all the modern improvements.