AirspeedVelocity.jl icon indicating copy to clipboard operation
AirspeedVelocity.jl copied to clipboard

Can the AirspeedVelocity package be uninstalled after building the executable?

Open adrhill opened this issue 1 year ago • 2 comments

The installation instructions mention that running

julia -e 'using Pkg; Pkg.add("AirspeedVelocity"); Pkg.build("AirspeedVelocity")'

builds two executables. Can AirspeedVelocity be uninstalled afterwards or do you expect it to stay in the global (@v1.X) environment?

adrhill avatar Jun 18 '24 14:06 adrhill

I guess you could just do julia -e 'using Pkg; Pkg.rm("AirspeedVelocity")'? Though it doesn't remove the script in ~/.julia/bin. I guess that might be an issue to post on https://github.com/comonicon/Comonicon.jl or on Julia itself?

MilesCranmer avatar Jun 18 '24 20:06 MilesCranmer

Sure, I was just wondering why the installation instructions don't suggest running

julia -e 'using Pkg; Pkg.add("AirspeedVelocity"); Pkg.build("AirspeedVelocity"); Pkg.rm("AirspeedVelocity")'

and I therefore assumed the package must stay in the global environment.

I see how this issue wasn't clearly phrased, my question was not about uninstalling ASV from ~/.julia/bin.

adrhill avatar Jun 18 '24 21:06 adrhill

I believe that you can safely uninstall the package (provided you don't want to use the Julia interface and only want to use the CLI). See #63.

LilithHafner avatar Jan 13 '25 14:01 LilithHafner