# Getting Julia running on ATom

**URL:** <https://discourse.julialang.org/t/getting-julia-running-on-atom/3932>\
**Category:** New to Julia\
**Tags:** juno, first-steps\
**Created:** [May 25, 2017, 7:39pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932 "2017-05-25T19:39:09Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravi\_nagori](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@ravi\_nagori](https://discourse.julialang.org/u/ravi_nagori)\
**Post date:** [May 25, 2017, 7:39pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/1 "2017-05-25T19:39:09Z")

</div>

I have linud mint and installed julia via the sudo apt-get install command.It installs julia version 0.4.5 . I am trying to run JUNO on atom. every time I run a basic command (say “2+2”) I encounter this error:

“_MethodError: `bind` has no method matching bind(::Media.Binding{Any}, ::Atom.Console, ::Task)_  
_Closest candidates are:_  
\_ bind{T}(!Matched::Lazy.Binding{T}, ::T, ::Task)\_  
\_ bind{T}(!Matched::Function, !Matched::Lazy.Binding{T}, ::T)\_”

While someone suggested changing julia codebase to 0.5, but I do not know how to do that. Someone please guide.

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [May 25, 2017, 7:39pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/2 "2017-05-25T19:39:42Z")

</div>

Use the generic Linux binary from

> **[Download Julia](https://julialang.org/downloads/)**
>
> The official website for the Julia Language. Julia is a language that is fast, dynamic, easy to use, and open source. Click here to learn more.

---

<div class="post-metadata">

**Author:** ![ravi\_nagori](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@ravi\_nagori](https://discourse.julialang.org/u/ravi_nagori)\
**Post date:** [May 25, 2017, 7:41pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/3 "2017-05-25T19:41:19Z")

</div>

I havedownloaded it, unzipped it. But I do not know how to use it. I am complete novice in both linux based commands and julia

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [May 25, 2017, 8:08pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/4 "2017-05-25T20:08:45Z")

</div>

I posted some basic instructions here: [Help Installing julia v0.5.2/v0.6 on fresh ubuntu install - #2 by rdeits](https://discourse.julialang.org/t/help-installing-julia-v0-5-2-v0-6-on-fresh-ubuntu-install/3640/2) but let us know if you need more help or detail.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [May 25, 2017, 8:16pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/5 "2017-05-25T20:16:05Z")

</div>

> [@rdeits](#):
>
> I posted some basic instructions here: [Help Installing julia v0.5.2/v0.6 on fresh ubuntu install - #2 by rdeits](https://discourse.julialang.org/t/help-installing-julia-v0-5-2-v0-6-on-fresh-ubuntu-install/3640/2) but let us know if you need more help or detail.

Would you mind making a PR for the Julialang website for this?

> <https://github.com/JuliaLang/www_old.julialang.org/issues/525>
>
> I've just walked two people in a row through doing this on the julialang gitter.…
> I don't mind, but in the interests of avoiding losing the people who become frustrated and give up without finding IRC or gitter etc.
> Maybe we should explain a bit more.
> 
> \[Transcripts here, if anyone thinks that the questions could be enlightening into the mind of users\](https://gitter.im/JuliaLang/julia?at=58bfc1f421d548df2ca83343)
> 
> It appears that even having a solid idea of what the Path \*is\* is not standard knowledge.
> So it needs to be explained about symlinking into \`/usr/bin/local\`.
> Like is done in the README.md for building from source.
> 
> And that should be done somewhere near the download line.
> And/Or in a readme file included in the tarball.

---

<div class="post-metadata">

**Author:** ![ravi\_nagori](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@ravi\_nagori](https://discourse.julialang.org/u/ravi_nagori)\
**Post date:** [May 25, 2017, 8:36pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/6 "2017-05-25T20:36:58Z")

</div>

So, I downloaded the latest version of julia. How do I create a symlink(I added the directory to the path)? And then get ATOM to launch julia. Right now, the error message pops out saying  
“We tried to launch Julia from:  
julia  
This path can be changed in the settings.  
Details:  
/bin/sh: 1: julia: not found”  
all the while I can launch julia 0.5.2 from the terminal.

---

<div class="post-metadata">

**Author:** ![swt30](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/swt30/32/4667_2.png) [@swt30](https://discourse.julialang.org/u/swt30)\
**Post date:** [May 26, 2017, 8:13am UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/7 "2017-05-26T08:13:40Z")

</div>

If I recall correctly, Atom/Juno might need to be run from the terminal for it to have access to your PATH. Have you tried launching Atom by typing “atom” into a terminal?

---

<div class="post-metadata">

**Author:** ![anon61610682](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@anon61610682](https://discourse.julialang.org/u/anon61610682)\
**Post date:** [May 26, 2017, 12:52pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/8 "2017-05-26T12:52:50Z")

</div>

I am using Arch Linux and I have used my package manager to install Atom.

Below is my application file (created by default by `pacman`):

```julia
# /usr/share/applications/atom.desktop
[Desktop Entry]
Name=Atom
Comment=A hackable text editor for the 21st Century
GenericName=Text Editor
Exec=electron --app=/usr/lib/atom %F
Icon=atom
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Utility;TextEditor;Development;
MimeType=text/plain;

```

So, basically, I do run Atom using the `.desktop` file — you do not need to run it from terminal.

Since I am using compiled Julia binaries from source, I keep them installed at the corresponding `/opt/julia-x` folders. I simply point to the corresponding Julia binary from Atom settings (`settings/packages/julia-client`), _e.g._, `/opt/julia-0.5/bin/julia`.

However, you can create a symbolic link in your `/usr/bin` folder (whichever the correct path should be in your distro) by issuing

```julia
sudo ln --symbolic --interactive /opt/julia-0.5/bin/julia /usr/bin/julia

```

Above, `--interactive` switch will ask for confirmation before removing an already available symbol name. `/opt/julia-0.5/bin/julia` is where the binary is located in your system, and `/usr/bin/julia` is where your system searches for your applications by default.

---

<div class="post-metadata">

**Author:** ![ravi\_nagori](https://avatars.discourse-cdn.com/v4/letter/r/8c91f0/32.png) [@ravi\_nagori](https://discourse.julialang.org/u/ravi_nagori)\
**Post date:** [May 26, 2017, 2:08pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/9 "2017-05-26T14:08:08Z")

</div>

Ok. So creating symbolic links(in the /usr/local/bin) and removing other paths I’d created before did the trick for me.

I wish julia IDE had a simpler setup so that configuring it to work did’nt drive off potential users.

Thanks everyone for their support and patience.

---

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [May 26, 2017, 4:18pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/10 "2017-05-26T16:18:52Z")

</div>

@ChrisRackauckas OK if you insist 😉

[https://github.com/JuliaLang/julialang.github.com/pull/574](https://github.com/JuliaLang/julialang.github.com/pull/574)

---

<div class="post-metadata">

**Author:** ![Rafael\_Ribeiro](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael_ribeiro/32/1122_2.png) [@Rafael\_Ribeiro](https://discourse.julialang.org/u/Rafael_Ribeiro)\
**Post date:** [June 2, 2017, 2:17am UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/11 "2017-06-02T02:17:01Z")

</div>

For a lightweight solution to run source in Atom on terminal:

> **[Sunsetting Atom](https://github.blog/2022-06-08-sunsetting-atom/)**
>
> We are archiving Atom and all projects under the Atom organization for an official sunset on December 15, 2022.

---

<div class="post-metadata">

**Author:** ![johann.spies](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/johann.spies/32/8805_2.png) [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Post date:** [September 15, 2017, 9:36pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/12 "2017-09-15T21:36:59Z")

</div>

Atom 1.18.0 x64 on Debian Testing

I get this error when I try to run any Julia code in Atom (and doing what the error message suggests — Pkg.update() — makes no difference):

Error loading Atom.jl package  
Go to the Packages → Julia → Open Terminal menu and  
run `Pkg.update()`in Julia, then try again.  
If you still see an issue, please report it to:  
[https://discourse.julialang.org/](https://discourse.julialang.org/)

Regards  
Johann

---

<div class="post-metadata">

**Author:** ![anon61610682](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@anon61610682](https://discourse.julialang.org/u/anon61610682)\
**Post date:** [October 2, 2017, 11:56am UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/13 "2017-10-02T11:56:20Z")

</div>

Have you tried installing both `julia-client` and `uber-juno` packages in your Atom? You can also try, before firing up your Atom, to `Pkg.add("Atom")`, and then start the IDE.

---

<div class="post-metadata">

**Author:** ![domusp](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@domusp](https://discourse.julialang.org/u/domusp)\
**Post date:** [November 12, 2017, 3:44pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/14 "2017-11-12T15:44:28Z")

</div>

Hello, **ateykinar** , I got the same issue, and when I try to Pkg.add(“atom”) regardless whether via spawning julia terminal either from Atom or from Windows command line, got the same stack trace:

```julia
ERROR: GitError(Code:ERROR, Class:Index, Invalid data in index - invalid entry)
Stacktrace:
 [1] macro expansion at .\libgit2\error.jl:99 [inlined]
 [2] #diff_tree#68(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::Base.LibGit2.Gi
tTree, ::String) at .\libgit2\diff.jl:22
 [3] (::Base.LibGit2.#kw##diff_tree)(::Array{Any,1}, ::Base.LibGit2.#diff_tree,
::Base.LibGit2.GitRepo, ::Base.LibGit2.GitTree, ::String) at .\<missing>:0
 [4] #isdiff#76(::Bool, ::Function, ::Base.LibGit2.GitRepo, ::String, ::String)
at .\libgit2\libgit2.jl:149
 [5] (::Base.Pkg.Entry.##2#4)(::Base.LibGit2.GitRepo) at .\pkg\entry.jl:59
 [6] with(::Base.Pkg.Entry.##2#4, ::Base.LibGit2.GitRepo) at .\libgit2\types.jl:
608
 [7] macro expansion at .\pkg\entry.jl:57 [inlined]
 [8] macro expansion at .\task.jl:302 [inlined]
 [9] add(::String, ::Base.Pkg.Types.VersionSet) at .\pkg\entry.jl:51
 [10] (::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}})() a
t .\pkg\dir.jl:36
 [11] cd(::Base.Pkg.Dir.##4#7{Array{Any,1},Base.Pkg.Entry.#add,Tuple{String}}, :
:String) at .\file.jl:59
 [12] #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{String,N}
 where N) at .\pkg\dir.jl:36
 [13] add(::String) at .\pkg\pkg.jl:117

```

So I guess I’m having problems with the Git repo setup, but since I’m a bit novice to both Julia and Git, need some help with 1) where Git settings are, and 2) what’s wrong with them. When done with these two, hopefully will be able to go on myself.

---

<div class="post-metadata">

**Author:** ![domusp](https://avatars.discourse-cdn.com/v4/letter/d/90ced4/32.png) [@domusp](https://discourse.julialang.org/u/domusp)\
**Post date:** [November 12, 2017, 4:29pm UTC](https://discourse.julialang.org/t/getting-julia-running-on-atom/3932/15 "2017-11-12T16:29:24Z")

</div>

Please disregard: it was due to non-clean install. When I reinstalled everything from scratch, got Julia Console working.
