1 |
On 18/03/2016 05:03, Hunter Jozwiak wrote: |
2 |
> Hello, |
3 |
> |
4 |
> |
5 |
> |
6 |
> After talking to a few diehard Gentoo fans at my local LUG, I decided I |
7 |
> would like to give Gentoo another shot. Are there any good books that |
8 |
> can supplement the Gentoo handbook as well as books that go more in |
9 |
> depth than the Gentoo chapter on Portage? One of the main issues I faced |
10 |
> with Gentoo when I first tried it is that I did not understand the power |
11 |
> of package.use, and I put everything in to make.conf. However, I feel |
12 |
> that given enough supplemental information, I can hopefully make Gentoo |
13 |
> attempt 6 a more permanent thing, and, eventually, migrate my servers |
14 |
> over to it. Any input is greatly appreciated. |
15 |
|
16 |
I don't know of any books on running Gentoo. I strongly suspect any such |
17 |
book wouldn't be much use though - Gentoo is a meta-distribution so you |
18 |
can build anything you want. What you want and what's ain a book might |
19 |
be very different things. Or, another way, let's look for a book called |
20 |
"Dummies Guide to Using Bricks" - not really gonna work is it :-) |
21 |
|
22 |
Understanding Gentoo involves using it and talking to the many good |
23 |
awesome folks right here. Before long, you will start to understand more |
24 |
and more. We'll help you out on the weak bits (like the bat-shit crazy |
25 |
output portage tends to spew all over your screen sometimes....) and |
26 |
it's strengths. |
27 |
|
28 |
Things like package.use I don't think are really your problem, it's just |
29 |
an example of one thing amongst many you don't quite understand yet, but |
30 |
I'll answer anyway. |
31 |
|
32 |
USE flags enable and disable features of software at compile-time. Take |
33 |
for example a music player. Maybe it can store the metadata about your |
34 |
music in flat files, in sqlite, in mysql or postgres. Now you must make |
35 |
a choice where to put the flag. Maybe your music collection is HUGE and |
36 |
postgres is the best fit. |
37 |
|
38 |
If you add it to make.conf it becomes global and every piece of software |
39 |
that supports postgres will now be rebuilt to give postgres support. |
40 |
Maybe you don't need or want that. |
41 |
|
42 |
A flag like that is best put into package.use where it applies only to |
43 |
the package you list there. So postgres gets installed, the music player |
44 |
gets support and your MTA does not. |
45 |
|
46 |
Sometimes it's a grey area where to put a flag and you have to weigh |
47 |
your choices carefully. But much more often it's kinda obvious, and more |
48 |
familiarity makes it easier. |
49 |
|
50 |
Stick around, many folks find learning Gentoo is well worth the effort. |
51 |
|
52 |
-- |
53 |
Alan McKinnon |
54 |
alan.mckinnon@×××××.com |