Gentoo Archives: gentoo-user

From: Bo Andresen <bo.andresen@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switching to Gentoo
Date: Thu, 09 Mar 2006 22:58:29
Message-Id: 200603092350.50495.bo.andresen@gmail.com
In Reply to: [gentoo-user] Switching to Gentoo by Jim
1 On Thursday 09 March 2006 20:16, Jim wrote:
2 > I have now been using Gentoo for a few days and I am running into some
3 > issues I hope this group can help with. At first emerge was trying to
4 > merge some really old packages. For example I wanted mysql 5.x, php 5.x
5 > and Apache 2.x and Gentoo was only going to install mysql 4.x. I did
6 > find out about ACCEPT_KEYWORDS="~x86" which has helped with getting more
7 > recent versions of software installed.
8
9 In Debian/Ubuntu etc. you can choose between stable and testing. The
10 equivalent of testing in Gentoo is enabled by putting ACCEPT_KEYWORDS="~ARCH"
11 in /etc/make.conf (in your case ARCH=x86). If like me you choose to run
12 generally stable and only choose testing (~ARCH) for some packages, then you
13 should never use ACCEPT_KEYWORDS when emerging something. ACCEPT_KEYWORDS may
14 on rare occasions be interesting with emerge --pretend to see what a testing
15 package requires. Instead when installing a testing package you should put it
16 in /etc/portage/package.keywords. If you do emerge something with
17 ACCEPT_KEYWORDS on the command line then portage will downgrade the package
18 next time you try to upgrade world (emerge --update --verbose --deep world).
19 Also never emerge something without first trying with --pretend or --ask to
20 see what it will do.
21
22 > Some tasks I could do in Fedora/Ubuntu that I want to know how to do on
23 > Gentoo:
24 >
25 > See list of all *installed* software.
26
27 I would use (it's a capital i):
28 #eix --installed --compact
29
30 This provides a list of all installed packages including all dependencies.
31 In /var/lib/portage/world there is a list of all of all software that you
32 have explicitly installed. The rest of what is installed should be depencies
33 of packages in the world file. So to get a list of packages that I installed
34 I would use (this is only one line):
35 #while read pkg; do eix --force-color --compact ^${pkg}$ | head -n 1; done
36 < /var/lib/portage/world
37
38 > Browse available software that can be installed.
39
40 Others have mentioned kuroo which is by far the best gui that I have ever seen
41 for portage (not that I ever use a gui ;) ). The most recent version of kuroo
42 in portage i.e. kuroo 0.7* does not support portage 2.1* (~ARCH) so if you
43 use that you need kuroo 0.8.0_rc1. There is an ebuild available from the
44 project page [1] that you can easily use through a local overlay [2].
45
46 [1] http://tux.myftp.org/installation.html
47 [2] http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
48
49 > See what version of a particular software package is installed.
50
51 #eix package
52
53 > See if any new versions of *installed* software are available.
54
55 To do a sync I always use eix-sync rather than emerge --sync. This provides a
56 much better overview of what was changed during that particular sync. To see
57 all versions of a particular package
58 #eix package
59
60 To see if there are newer versions of anything in world:
61 #emerge --update --verbose --deep --pretend world
62
63 Important packages to install for portage are as others have mentioned eix and
64 gentoolkit.
65
66 HtH
67
68 --
69 Bo Andresen
70 --
71 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Switching to Gentoo Jim <Jim@×××××××××××××××××.org>
Re: [gentoo-user] Switching to Gentoo Bo Andresen <bo.andresen@×××××.com>