Gentoo Archives: gentoo-user

From: Mike Edenfield <kutulu@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Virtual Packages
Date: Thu, 12 May 2011 03:20:34
Message-Id: 4DCB5170.70901@kutulu.org
In Reply to: [gentoo-user] Virtual Packages by John
1 On 5/11/2011 5:43 PM, John wrote:
2 >
3 > Have noticed that some packages require virtual packages to installed
4 > as well. For example when installing dev-db/mysql, virtual/mysql is
5 > installed as well.
6 >
7 > What are the purposes of these "virtual" packages??
8
9 They allow other packages to depend on the presence of a
10 "service" or "feature" instead of depending on a specific
11 implementation. For example, both sys-libs/pam and
12 sys-auth/openpam satisfy "virtual/pam", since most
13 applications will work just find against either library.
14 There's about a dozen possible packages that provide
15 "virtual/bootloader".
16
17 It's also used to allow different architectures to have
18 different "default" implementations of the same service
19 (like virtual/libc).
20
21 virtual/mysql, as of v5.1, can mean dev-db/mysql or
22 dev-db/mariadb.
23
24 --Mike

Replies

Subject Author
Re: [gentoo-user] Virtual Packages dong l <vabc3h@×××××.com>