A registry for simplifying the installation of Julia packages produced by the AIN group.
Packages registered with the general registry of Julia will not be registered here too.
Using this registry you can easily use the following codes:
Software developed by the AIN can be found here.
The easiest way of installing Julia is by downloading a binary file and simply uncompressing it in your folder of choice. Please see here for platform specific instructions. Alternatively, one may choose to compile Julia from the source code.
To use this registry, enter package mode with ]
while in the Julia REPL and execute:
registry add https://github.com/HITS-AIN/AINJuliaRegistry
If used with a fresh installation of Julia, you may need to use the following line (see issue here):
registry add https://github.com/JuliaRegistries/General
Switch into "package mode" with ]
and add type registry update AINJuliaRegistry
.
This will make Julia update all packages associated with AINJuliaRegistry registry.
Alternatively, enter package mode and type up
. This will update all installed Julia packages, including the ones of this registry.
To remove this registry simply use:
registry rm AINJuliaRegistry
This will affect only your own system without any consequences for this registry or other users.
To register a package to this registry, it is recommended to use LocalRegistry.jl.
Below is an example of the actual registration.
Note that you will first need to add the registry "AINJuliaRegistry" to your system (see above how) before you can register your own package with it.
The function register
takes as the first argument the location of the package and as a second argument the name of the registry we want to register our package with.
using LocalRegistry
register("/home/nikos/.julia/dev/SDSS_RM_Resampler/",registry="AINJuliaRegistry")
Currently, this has to be done manually (see note).
Simply delete the directory in the present repository that holds the relevant contents.
Also carefully remove the corresponding line from file Registry.toml
.
❗Accidentally removing the wrong folder or line will cause problems to the registry for all users.