Julia 1.0.3 is now available

This current release does have julia-1.0.3. I believe all of 1.0.0, 1.0.1, and 1.0.2 had just a julia folder inside the source tarball; previously, 0.6.4 and 0.6.3 had julia-version as described. For example with just the julia folder, see julia-1.0.2.tar.gz 5.8 MB .

1 Like

Oh, the source tarballs are a different story; as far as I know, the directory name there should (or at least is supposed to) always just be julia.

Okay. :slight_smile: Like I said, just a friendly request to keep it consistent one way or the other in the future since 1.03 did have the version suffix where previous 1.0.x series releases didn’t.

1 Like

It was julia until 1.0.3, where it was named julia-1.0.3 like it was once during the 0.6 era I think.

Good news, folks: ARMv7 binaries are now available for 1.0.3! Get 'em while they’re hot (or whenever you want, really) at https://julialang.org/downloads.

6 Likes

Thanks for bringing Linux AArch64 back!

Are there any plans to establish an integrated Julia upgrade command, at least for minor version changes?

That would be very conveniant for companies where software is typically packaged by an IT department. It is quite challenging to have a new version packaged every month :wink:

Anyhow, thanks for updating Julia so frequently!
:+1:

2 Likes

I guess IT departments package software when they don’t want users to install it themselves. Wouldn’t a built-in self-update require the same privileges as just downloading and extracting a new version?

If the tarball is called julia-1.0.3.tar.gz, extracting to a folder called julia-1.0.3 is nearly universal among open source projects (or at least those that use autotools). While I agree that the behavior should ideally not change from release to release, I believe this change is for the better (more consistent with other packages) and therefore worth keeping going forward. It also allows people to unpack various source versions of julia into the same directory easily.

What’s the advantage compared to cloning the git repo and just checking out the version?

I would imagine that the only people who just need the source without git are those packaging Julia for repositories, and hopefully they are working in some isolated environment already, cleaning up after the whole thing is done.

Me too. This is indeed the “usual” format.

1 Like

It would help lazy user like me, too :grin:

Could someone provide instructions on how to update Julia (for those that do not know how these kinds of thing works)? I have my .julia folder on my computer. The page seems to contain stuff to just download Julia directly, and instructions for installing it, which I do not want to do. I’m afraid I will start doing stuff and I suddenly have 2 version of Julia on my computer. E.g. right now I have a .julia folder with several packages installed, and another few in the “dev” folder. I would not want to have to re download all of these.

Basically it would be useful if someone wrote some careful instructions about these for us that are not very good with these kinds of things (those who might understand very well the logic and syntax in how to make a computer program do things, but have little experience in general computer stuff).

(This is all for ubuntu 16, but I presume there would be people interested in other os as well)

You shouldn’t have to touch anything in .julia. Just unpack the tarball and you are good to go!

Thanks.
I tried downloading one of the linux links, which gives me a folder named julia 1.0.3. But I presume I have to do more than that.

I do no know what a tarball is. Searching online suggests that that tarball is several files compressed as a tar file. At the end of the download grid there is 2 files denoted as tarballs. However, for both I can click on the tarball text, or on the (CPG) within parenthesis after. Which one should I take? Also, is it the Tarball or the Tarball with dependencies I am looking for (or the GitHub link after those 2)? These also does not seem to have anything to do with Operating System, which is confusing since above there are files for all types of OS, what is the difference?
Cheers

Take the first one. The second is the GPG code, which you can verify if you want to check that the software is not corrupted and is digitally signed by the Julia organization.

You can just right click and extract here on the tarball in Ubuntu.

You want the line Generic Linux Binaries for x86. The tarball with dependencies is for the source code, which you don’t need.

Wait take that again, do I or do I not need to get the tarball thing? I just want to update to Julia 1.0.3 and nothing else (honestly I am not sure I even want that, but I feel not having an idea how to do it is a bad reason to skip out…).

I can download the Generic Linux Binaries for x86, however, different things happens whenever I click on the 32-bit and 64 bit one (the former giving me a folder, the second a compressed file). I think I should have the 64-bit one (seems to be the rule these days). When I open the file there is a folder in, named “julia-1.0.3”. What am I supposed to do with this folder? I have a “julia-1.0.0” folder in my home directory. Would dropping the new folder there suffice, but how would Julia tell that there is a new folder there and which to use? Would I be able to delete the old “julia-1.0.0” folder (I presume so), and more interesting, will I be able to delete this new folder after I do something with it? I am reluctant to build up a lot of julia folders on my computer as I update the language.

I am sorry not being able to understand this, but if you do not have any idea of how these kinds of things work it is not easy, and I am afraid to mess something up and get a lot of new problems I have even less an idea of how to solve (have happened before).

Inside the extracted julia-1.0.3 folder there is a folder bin and in there, there is an executable called julia. That is the executable for julia-1.0.3 and the one you want to start.

It sounds like you understand this now, but just to make sure - “tarball” is an informal term for archived files in the tar format. These are very widely-used to distribute open-source software. Unlike .zip files, the .tar format doesn’t actually do any compression, so it’s common to compress the file after archiving it, which is how you end up with a .tar.gz or .tar.bz2 file. You very likely want the 64-bit version of the “Generic Linux Binaries for x86”. You can safely ignore the “GPG” link, which is useful for folks who want to verify that the file isn’t corrupted or tampered with by the time it makes it to your hard drive.

it would also help if you shared how you usually start Julia. One tricky thing here is that there are many ways to install and run Julia, and experienced folks tend to have their own ideas about how they like to do things. That can make it more confusing to less-experienced folks, as you may get advice that doesn’t pertain to you.

Running in-place

It sounds like your current julia installation is living in a folder in your home directory called “julia-1.0.0”. Do you usually run Julia from within that folder (e.g. by double-clicking it in your file navigator, or from the terminal)? In this case just copying the folder and doing what you usually do should be fine.

Using Juno

If you use Juno than you should be fine just unzipping the tarball and copying the julia-1.0.3 directory wherever you want, and then going into the Juno settings and setting the path to the Julia executable to the new folder. Then you can delete the old 1.0.0 folder if you like.

Modifying your PATH

As an alternate method, you may also hear people talk about adding things to your PATH variable. This is a unix variable that determines where things are searched when you try to run them from the terminal prompt. If you open a terminal in your home directory and type julia, the terminal looks in the directories listed in your PATH to see if it can find a julia executable. If you add your new julia-1.0.3/bin directory to your PATH than you’ll be able to run julia from any directory in your terminal. There are multiple ways to do this, so I’ll leave that as a dangling pointer to be possibly pursued in the future.

Symlink to your PATH

Yet another way that is popular, which is to create a symbolic link inside a directory that is already in your PATH (you can type echo $PATH in your terminal to see which directories those are). A symbolic link is a small file that lives in one place, but points to a file somewhere else. So you can put your julia-1.0.3 directory wherever you want, and then place a symlink in your PATH that points to the julia executable. /usr/local/bin is a pretty common directory to put these sorts of things. The command to do this would be something like:

sudo ln -s /home/gaussia/julia-1.0.3/bin/julia /usr/local/bin/julia

here sudo gives you superuser permissions (which are likely necessary to modify /usr/local), ln -s is the command to create a symbolic link, and the two paths are the source and destination paths.

Hopefully this is clarifying more than confusing.

9 Likes

Thanks everyone, this helped a lot (Yes, I am using Juno and it works now :slight_smile: )!