You are not logged in.

#1 2014-06-28 11:14:54

zhy2019
Member
Registered: 2014-06-28
Posts: 7

[SOLVED]what do the package dependencies mean?

Could somebody tell me the meaning of the dependencies?

https://www.archlinux.org/packages/comm … _64/r8168/

Dependencies (3)
linux>=3.15
linux<3.16
linux-headers (make)

I now know that (make) means the package will be needed in build/make. But what does the upper two lines mean?
Is it to say all kernel versions are OK?

Last edited by zhy2019 (2014-06-28 12:01:07)

Offline

#2 2014-06-28 11:18:59

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: [SOLVED]what do the package dependencies mean?

It means that r8168 needs a kernel from the 3.15 series (e.g. 3.15, 3.15.0, 3.15.1, 3.15.rc4). It won't work with 2.6, 3.14.7, 3.14, 3.16, 3.16.1, 4.123, ...


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2014-06-28 11:35:50

zhy2019
Member
Registered: 2014-06-28
Posts: 7

Re: [SOLVED]what do the package dependencies mean?

progandy wrote:

It means that r8168 needs a kernel from the 3.15 series (e.g. 3.15, 3.15.0, 3.15.1, 3.15.rc4). It won't work with 2.6, 3.14.7, 3.14, 3.16, 3.16.1, 4.123, ...

so the >= or < symbols only mean work or not work?
google does not work for these symbols, and it is not so obvious for new comers. smile

Offline

#4 2014-06-28 11:45:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED]what do the package dependencies mean?

No, both lines are requirements.  There is nothing special about those symbols in archlinux.  They mean exactly what the symbols say: linux greater-than-or-equal-to 3.15, and linux less-than 3.16.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-06-28 11:45:49

loqs
Member
Registered: 2014-03-06
Posts: 19,184

Re: [SOLVED]what do the package dependencies mean?

=> greater than or equal to
< less than
giving linux less than 3.16 but greater than or equal to 3.15 so the 3.15 series

Offline

#6 2014-06-28 11:55:21

zhy2019
Member
Registered: 2014-06-28
Posts: 7

Re: [SOLVED]what do the package dependencies mean?

I find it so easy to understand now. (⊙o⊙)
Maybe it is because i haven't noticed there are so much versions between them. - -||

3q all for help smile

Last edited by zhy2019 (2014-06-28 12:01:40)

Offline

Board footer

Powered by FluxBB