Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Package management, depclean and new installs
Date: Mon, 04 Oct 2021 05:00:31
Message-Id: 57ed46f0-6de9-1c27-c2f0-be839aec10a5@iinet.net.au
In Reply to: [gentoo-user] Package management, depclean and new installs by coalml@tuta.io
1 On 4/10/21 11:30 am, coalml@××××.io wrote:
2 > Hi y'all new confused user regarding package management
3 >
4 > How do you guys manage and protect your packages?
5 > Do you just put everything on world and end up with a huge world file?
6 > Do you have basic system files on world and the rest you protect or omit?
7 > Do you create new(personalised) files depending on category and
8 > somehow link them in any of the above 3?
9 >
10 > It's just emerging everything you are not sure you will keep with -1
11 > seems cumbersome to me especially if at some point I want to transfer
12 > to a new device and want to copy my settings over ,select what to keep
13 > and discard the rest,depcleaning with pretend all the time seems
14 > annoying on the long term as well so there should be lots of different
15 > solutions from different people(at least thats what I think)
16 >
17 > I just think this is one of the things its better I learn now rather
18 > than later and forum or wiki info is too "on-point" on a specific
19 > situation so I thought I'd ask the userbase
20
21
22 Apps I am trying out or wont keep for long, install with -1
23
24 Apps I want, install without -1
25
26 Updates - always use -1 and after a successful update is complete run
27 emerge --depclean -p and make sure whats being removed is really correct
28 then remove the -p.
29
30 Occasionally go through "/var/lib/portage/world" and turf things you no
31 longer need or don't know the use of, then run emerge --depclean -p and
32 make sure whats being removed is really correct then remove the -p.
33
34 BillK