Solved Tar.gz [ bin etc include ...] (Julia)

*****[Edit: Please go to that post for the solution. What follow here is wrong]*****

Hi!
Suppose I want to unpack Julia from the latest version and there is a tar.gz for freebsd (which is rare and nice). When unpacked, I take a look in the folder and I see other folder with system directory names, should I mv these folder in the appropriate dir?

Code:
~ $ ls julia-1.11.6

bin             etc             include         lib             libexec         LICENSE.md      share

f~ $ ls /

bin                     entropy                 media                   rescue                  usr

boot                    etc                     mnt                     root                    var

compat                  home                    net                     sbin                    zroot

COPYRIGHT               lib                     packagekitd.core        sys

dev                     libexec                 proc                    tmp

~ $ ls /usr/

bin             include         lib32           libexec         obj             sbin            src

freebsd-dist    lib             libdata         local           ports           share           tests

~ $ ls /usr/local/

bin                             lib32                           OpenCAS                         share

etc                             libdata                         openjdk17                       var

ffmpeg4                         libexec                         openjdk21                       www

FreeCAD                         llvm15                          openjdk24                       x86_64-portbld-freebsd14.2

hdf5                            llvm17                          openjdk8

include                         llvm19                          openssl

lib                             mpi                             sbin

~ $
If I'm not mistaken, it should go in /usr/local.... exept for include that should go in /usr/include (I mean the content of the folders of Julia go in the respective user dir /usr and /usr/local) ?

In man hier, it say that file from package installed from pkg or port goes in usr/local, so if I a put the files there that doesn't come from port or pkg, will I break pkg ?

I dont see other place to put them than /usr/local/.. according to the manual. So I'll put them there.

Thanks.
 
Last edited:
Yep!
All goes in /usr/local. Now I have Julia up to date. Shout-out to the devs who made that clean package for freebsd user!! I think it could be ported to pkg cause the one we have date from 2020 and is buggy.

Julialang.org/download generic freebsd x86 v1.11.6
 
Yep!
All goes in /usr/local. Now I have Julia up to date. Shout-out to the devs who made that clean package for freebsd user!! I think it could be ported to pkg cause the one we have date from 2020 and is buggy.

Julialang.org/download generic freebsd x86 v1.11.6
In fact nope! I encountered an issue by doing it this way, but it has been resolved.
See this thread on the Julia's forum for the complete solution:

 
Back
Top