-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pkg2.installed()? #4022
Comments
You can do this, but the interface is slightly different: julia> Pkg2.Dir.cd(Pkg2.Read.installed)
["REPLCompletions"=>(v"0.0.0",false),"PyPlot"=>(v"1.0.2",false),"BinDeps"=>(v"0.2.2",false),"IJulia"=>(v"0.0.0",true),"Vega"=>(v"0.0.0",false),"PyCall"=>(v"0.0.0",false),"ZMQ"=>(v"0.1.0",false),"GnuTLS"=>(v"0.0.0",false),"JSON"=>(v"0.2.0",false),"URIParser"=>(v"0.0.0",false)] The first element of the tuple is the version while the second is whether it's fixed or not. |
mlubin
added a commit
to mlubin/julia
that referenced
this issue
Aug 12, 2013
As a follow-up to JuliaLang#4022, add this convenience method to test if a particular package is installed.
IanButterworth
pushed a commit
that referenced
this issue
Oct 7, 2024
…0d22b (#56032) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: release-1.11 Julia branch: backports-release-1.11 Old commit: 6ceafca8e New commit: aba90d22b Julia version: 1.11.0 Pkg version: 1.11.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@6ceafca...aba90d2 ``` $ git log --oneline 6ceafca8e..aba90d22b aba90d22b Merge pull request #4037 from JuliaLang/backports-release-1.11 76eaa4caa Fix julia#55850 by using safe_realpath instead of abspath in projname (#4025) df38587fb warn if General is installed via the old slow methods (#4022) 1475b628a update package extension naming docs (#4000) 72dc85e80 Tweak sentence syntax in getting-started.md (#4020) 0b2397089 make `add` and `dev` on a package remove it from the set of weak dependencies (#3865) ee2d51054 collect e.g. weak deps from project even if it is not a package (#3852) ``` Co-authored-by: Dilum Aluthge <dilum@aluthge.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What's the Pkg2 equivalent of
Pkg.installed()
? If there is none, this is a feature request.The text was updated successfully, but these errors were encountered: