question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] How to list all installed package by a conan command?

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ericriffcommented, Sep 15, 2020

Another cool tool is info with the --graph flag which will do a graphical representation of your dependencies and build requirements.

$ conan info path-to-conanfile --graph graph.html
$ google-chrome graph.html
1reaction
memshardedcommented, Sep 14, 2020

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

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

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found