How to install nim 2.2.0?

Moderator: BarryK

Post Reply
silent
Posts: 12
Joined: Wed Jan 01, 2025 10:10 am

How to install nim 2.2.0?

Post by silent »

What is the preferred way to install the latest version of nim? I already installed the dev sfs.

User avatar
BarryK
Posts: 2840
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 146 times
Been thanked: 782 times

Re: How to install nim 2.2.0?

Post by BarryK »

Instructions to install nim:
https://nim-lang.org/install_unix.html

silent
Posts: 12
Joined: Wed Jan 01, 2025 10:10 am

Re: How to install nim 2.2.0?

Post by silent »

Thanks! It worked. Now I'm trying to build the programming language https://arturo-lang.io/.

Code: Select all

git clone https://github.com/arturo-lang/arturo
cd arturo
./build.nims --log --install

gives the error

Code: Select all

gcc: aviso: Package: no se usó el fichero de entrada del enlazador porque no se hizo enlace
gcc: error: Package: linker input file not found: No such file or directory
gcc: aviso: webkit2gtk-4.0: no se usó el fichero de entrada del enlazador porque no se hizo enlace
gcc: error: webkit2gtk-4.0: linker input file not found: No such file or directory

I don't know how to install webkit2gtk-4.0

User avatar
BarryK
Posts: 2840
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 146 times
Been thanked: 782 times

Re: How to install nim 2.2.0?

Post by BarryK »

I checked in PKGget, Scarthgap only has webkitgtk3, that is, for gtk+3, not for gtk4.

Daedalus would have it, via PKGget.

When you compile, this is the kind of thing you will encounter.
You might have to compile dependencies also.
But in Scarthgap, you would be going down a rabbit hole, as you would have to compile more gtk4 deps.
If you really want to compile it, use Daedalus.

I see on the website, you can do a "mini" build, without the webkitgkt-4.0 dependency:

https://github.com/arturo-lang/arturo/w ... ing-Arturo

silent
Posts: 12
Joined: Wed Jan 01, 2025 10:10 am

Re: How to install nim 2.2.0?

Post by silent »

Thanks! I'm using Scarthgap. I attempted to use Daedalus before but I wanted to try Scarthgap too. I think I'll reinstall Daedalus again.

I know about the "mini" build, but I want the full thing :)

Post Reply

Return to “EasyOS”