Hello Menno,
To add a directory inside the path you can do `export ${PATH}:/some/directory`.
Modify `/some/directory` to the directory where the `nim` binary (executable)
resides.
You can also add this line inside the hidden files (every file or dir that has
a dot . in front) named `.profile` or `.bash_profile` inside your home
directory so this command is executed automatically the next time you log in.
For most Linux distributions it is not needed to compile everything yourself or
find packages on the Word Wide Web like you have to do with Windows. Always try
the official package manager first.
Most package managers support adding extra sources of packages. In Debian they
call it "sources", in Ubuntu they call it "repositories" and in Gentoo (which I
use) they call it "overlays". If you cannot find the package you need, first
look if you can add one of those package sources that contain the package you
need (make sure the source is official, can be trusted and is stable). After
you added the package source you should be able to install the package you need.
To install Nim in Ubuntu or Debian you can do `apt-get install nim`.
In case you use a Redhat / Fedora based distribution may be someone else can
help you with that. It could be that you need to add a package source or still
have to download and install an RPM package.
Make sure to update your Linux once in a while.