[question] How to list all installed package by a conan command?
See original GitHub issueI am looking for an equivalent of pip freeze
that lists all installed package with full version in the current environment.
From my understanding, this would be the content of [full_requires]
in conaninfo.txt
.
- I’ve read the CONTRIBUTING guide.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
conan search — conan 1.55.0 documentation
Searches package recipes and binaries in the local cache or a remote. Unless a remote is specified only the local cache is searched....
Read more >How to list local conan packages - TechOverflow
How to list local conan packages. In order to list local conan packages, run. list-local-conan-packages.sh Copy to clipboard⇓ Download.
Read more >CMake: get list of paths to shared libs of a package installed ...
I am looking for a way to deploy dependencies when building project with CMake. Conan provides a way to deploy binaries of installed...
Read more >Conan Package Manager for C++ in Practice - YouTube
By Jerry Wiltse, presented at Core C++ [online] meetup, March 2021. The slides can be found at http://bit.ly/ConanDemo, more links to Conan ......
Read more >Conan packages in the Package Registry - GitLab Docs
To run conan commands, you must add the Package Registry as a Conan remote for your project or instance. Then you can publish...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Another cool tool is
info
with the--graph
flag which will do a graphical representation of your dependencies and build requirements.Hi @gsemet
There is no such thing as “environment”, but the Conan cache can host simultaneously many packages, different versions and configurations from multiple projects. I guess you don’t want to capture the whole state of the cache.
I would say that you might be interested in the
conan lock
command: https://docs.conan.io/en/latest/versioning/lockfiles.htmlWith
conan lock create conanfile.py --profile=mywinprofile --lockfile-out=windows.lock
you can get a snapshot of that dependency graph, that you can later reuse to reproduce the graph, even if the dependencies changed. Please have a look and let me know if you have further questions.