VCPKG: list available versions of a package
Asked Answered
O

2

10

For example, how can I list available GDAL library versions ?
They are not listed on VCPKG packages website neither by vcpkg search gdalcommand.

Ortrude answered 17/6, 2021 at 15:35 Comment(0)
D
9

Try this! it is a quick fix until vcpkg supports pkgs version listing. https://github.com/hamaney/vcpkg_version_finder.

on a related note: to look up a package by name and get the latest available version of it use vcpkg search <pkg name>

UPDATE SEP-11-2021: I just found out that you can use the experimental flag x-history. for example vcpkg x-history <pkg name> (you might need an internet connection the first time you run this command).

UPDATE JAN-01-2024: The x-history option is no longer available.

Dipper answered 13/8, 2021 at 17:0 Comment(1)
No longer a valid option as of the time of writing.Cnidoblast
U
7

You can use https://vcpkg.link/ in order to find all the versions of a package and when it got released (e.g. https://vcpkg.link/ports/gdal/versions for gdal). Besides, you can also see from which version a given feature has been introduced by looking at the overview of a package.

Disclosure: I'm the creator of the platform.

Unpaged answered 8/1, 2023 at 21:37 Comment(2)
But even though we can find previous versions on your site, how do we install it so that vcpkg could recognize it?Hashim
@nicolas-jakob just wanted to say, awesome site, super useful, thanks for making it (the cmdline search is painfully slow for me, compared to the site)Lotson

© 2022 - 2024 — McMap. All rights reserved.