O
O
OnYourLips2018-03-02 23:11:45
linux
OnYourLips, 2018-03-02 23:11:45

Semantic versioning in linux package managers?

Which Linux distributions use package managers that support semantic versioning?
To be able to set constraints like "~7.2.2" (>=7.2.2 <7.3.0.) for packages.
For example, in apt (ubuntu/debian) this is not possible, and the maximum that can be done is to hold a certain version.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lynn "Coffee Man", 2018-03-03
@Lynn

In apt it's very possible. https://www.debian.org/doc/debian-policy/#document...
Something like this:

Package: foo
Depends: bar (>= 7.2.2), bar (<< 7.3.0)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question