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. |