{"id":15360762,"url":"https://github.com/tkf/conda-julia","last_synced_at":"2025-07-04T17:12:19.377Z","repository":{"id":66532415,"uuid":"41629887","full_name":"tkf/conda-julia","owner":"tkf","description":"Conda recipes for JuliaLang and its packages","archived":false,"fork":false,"pushed_at":"2017-03-21T04:41:10.000Z","size":28,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T08:45:12.507Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tkf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-30T13:39:00.000Z","updated_at":"2022-01-28T14:55:06.000Z","dependencies_parsed_at":"2023-06-18T03:32:17.584Z","dependency_job_id":null,"html_url":"https://github.com/tkf/conda-julia","commit_stats":{"total_commits":42,"total_committers":1,"mean_commits":42.0,"dds":0.0,"last_synced_commit":"44fdc2f327cf89965e9407333c5930593dca0607"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tkf/conda-julia","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Fconda-julia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Fconda-julia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Fconda-julia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Fconda-julia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tkf","download_url":"https://codeload.github.com/tkf/conda-julia/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tkf%2Fconda-julia/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263586030,"owners_count":23484496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T12:51:41.609Z","updated_at":"2025-07-04T17:12:19.362Z","avatar_url":"https://github.com/tkf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conda recipes for JuliaLang and its packages\n\n\n## Why conda?\n\n- Easily install official nightly build without destroying current\n  Julia environment (or even without system install).\n- Trying cutting-edge Julia without long compilation.\n- Stick with Julia version that works with your code.\n- Install cross-language package like [pyjulia] (and maybe\n  [PyPlot.jl], [IJulia.jl], etc. in the future) automatically through\n  single package manager (= conda).\n  - With those recipes, running `conda install python-julia` installs\n    all its requirements: Python, Julia and Julia packages.\n- Isolated environment that does not contaminate your `~/.julia/`\n  directory.\n  - You can still install Julia packages using `Pkg.add(pkg)`.  But it\n    goes into `\u003cCONDA ENV\u003e/share/julia/site/vX.Y/` instead of\n    `~/.julia/`.\n\n\n## Recipes\n\n- Julia binary distributions from [official download page].\n  - `julia/`: nightly build\n  - `julia-X.Y.Z/`: stable releases\n  - `julia-X.Y.Z-mkl/`: custom Julia build with Intel MKL\n  - `jl-mkl/`: \"meta package\" for choosing `julia-X.Y.Z-mkl`.\n    Installing this package instructs conda to use Julia build with MKL.\n\n- Julia packages:\n  - `julia-compat/`\n  - `julia-nettle/`\n  - `nettle/`\n\nThe following packages work only with Julia \u003c= 0.4.  I'm leaving them\nfor a demonstration purpose.  Note that you can still install those\npackages in an isolated conda environment using Julia's package manger\n(e.g., `Pkg.add(\"PyCall\")`).\n\n- Julia packages (for Julia \u003c= 0.4):\n  - `julia-dates/`\n  - `julia-pycall/`\n- [Python interface to julia][pyjulia]:\n  - `python-julia/`\n\n[official download page]: http://julialang.org/downloads/\n[pyjulia]: https://github.com/JuliaLang/pyjulia\n[PyPlot.jl]: https://github.com/stevengj/PyPlot.jl\n[IJulia.jl]: https://github.com/JuliaLang/IJulia.jl\n\n\n## How to build the packages\n\nInstall `conda-build` and run `conda build .` at each recipe directory\n(e.g., `julia-0.5.0/`).  Note that Julia packages will be build\nagainst Julia 0.5.x unless you set environment variable as\n`JULIA_VERSION=0.4`.\n\n### Julia build with Intel MKL\n\nYou need to build `jl-mkl` and `julia-X.Y.Z-mkl`:\n\n```sh\nconda build jl-mkl\nconda build julia-X.Y.Z-mkl\nconda install --use-local julia jl-mkl\n```\n\n### Setting up IJulia\n\nSome Julia packages required for IJulia need external library.\nOfficial Anaconda repository already has ZMQ but it does not have\nnettle.  If you do not have root privileges it may be useful to use\nconda to install ZMQ and nettle.  Here is how to build Nettle.jl\n(julia-nettle) including its dependencies and then install everything\nelse using `Pkg.add()`.\n\n```sh\nconda build nettle\nconda build julia-compat\nconda build julia-nettle\nconda install --use-local julia julia-nettle\nconda install zeromq\n```\nThen, in Julia REPL:\n```\njulia\u003e Pkg.init()\njulia\u003e Pkg.add(\"IJulia\")\n```\n\n\n## Behind the scene\n\nJulia environment is isolated by using `$JULIA_PKGDIR` environment\nvariable.  Julia executable `bin/julia` is replaced by a shell script\ndoing something like the following (actual script is at\n`./julia/julia-wrapper.sh`):\n\n```bash\nORIGINAL_JULIA=\"\u003cCONDA ENV\u003e/bin/julia_\"\nJULIA_HOME=\"\u003cCONDA ENV\u003e/bin\"\n\nif $JULIA_PKGDIR is not defined\nthen\n    JULIA_PKGDIR=$JULIA_HOME/../share/julia/site\n    export JULIA_PKGDIR\nfi\n\nexec $ORIGINAL_JULIA \"$@\"\n```\n\n\n## (Not) TODO\n\nAt the moment, I'm not planning to extend this repository to include\nmore packages.  Actually, just having Julia environment locked in a\nconda environment is enough since `Pkg.add(pkg)` would do rest of the\nwork.  But probably it would be nice to have binary distribution of\nthe packages that require binary build.  In that case, I would start\nwriting \"[conda-skeleton]\" for Julia.\n\n[conda-skeleton]: http://conda.pydata.org/docs/commands/build/conda-skeleton.html\n\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkf%2Fconda-julia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftkf%2Fconda-julia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftkf%2Fconda-julia/lists"}