On Thu, 3 Sep 2015 22:35:59 +0200, Alan McKinnon wrote:

> Cleanups: Sometimes when cleaning up you'll delete something you really
> do need, and you forget why you put it in world. Maybe emerge world puts
> it back, but more likely stuff just breaks. Keep a list of all removals
> so if you find breakage you can add things back. The classic case is
> libs you need for your own code - you probably don't have an ebuild for
> that and therefore no deps for portage to use.

> Sets: You have a many-purpose machine so you might find sets useful,
> mostly because you can't add comments to world. You can with sets. They
> are just files in /etc/portage/sets/ that list packages. You add them to
> the system with emerge @<set_name>. Here is one of mine:

I combine these two ideas and have a set called dependencies that
contains a commented list of packages that are needed by non-portage
software. Then I just emerge -n @dependencies.

The -n flag is useful when cleaning world, it adds the package to world
without re-emerging it unnecessarily.


-- 
Neil Bothwick

Tact is for people who don't understand sarcasm.

Attachment: pgpWhVvOT6x5E.pgp
Description: OpenPGP digital signature

Reply via email to