Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Virtual Packages
Date: Wed, 11 May 2011 22:09:46
Message-Id: BANLkTinNmOkPuDroMY-Vvf7mO2hGZrWqBA@mail.gmail.com
In Reply to: [gentoo-user] Virtual Packages by John
1 On Wed, May 11, 2011 at 4:43 PM, John <jdm@×××××××××××××××××××.uk> 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 I think it is usually when there are alternatives available which can
10 fit the dependency. For example, you could use MySQL or MariaDB to
11 satisfy virtual/mysql dependency. That way the alternatives can be
12 defined once in the virtual package, rather than in every single
13 package that uses MySQL.