document the new way of doing things; refs #4934
This commit is contained in:
parent
cceb6c625c
commit
ceb30d7a0e
3 changed files with 9 additions and 5 deletions
|
|
@ -33,7 +33,8 @@ is more cumbersome then.
|
||||||
To complete the installation you should also build Nim's tools like
|
To complete the installation you should also build Nim's tools like
|
||||||
``nimsuggest``, ``nimble`` or ``nimgrep`` via::
|
``nimsuggest``, ``nimble`` or ``nimgrep`` via::
|
||||||
|
|
||||||
nim e install_tools.nims
|
nim c koch
|
||||||
|
koch tools
|
||||||
|
|
||||||
Note that these tools should also end up in your ``PATH`` so adding
|
Note that these tools should also end up in your ``PATH`` so adding
|
||||||
``$your_install_dir/bin/nim`` to your ``PATH`` is preferred over the symlink
|
``$your_install_dir/bin/nim`` to your ``PATH`` is preferred over the symlink
|
||||||
|
|
@ -83,4 +84,5 @@ Nimble is Nim's package manager. For the source based installations where you
|
||||||
added Nim's ``bin`` directory to your ``$PATH`` the easiest way of installing
|
added Nim's ``bin`` directory to your ``$PATH`` the easiest way of installing
|
||||||
Nimble is via::
|
Nimble is via::
|
||||||
|
|
||||||
nim e install_nimble.nims
|
nim c koch
|
||||||
|
koch nimble
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,8 @@ To build from source you will need:
|
||||||
are: clang, Visual C++, Intel's C++ compiler
|
are: clang, Visual C++, Intel's C++ compiler
|
||||||
* git or wget
|
* git or wget
|
||||||
|
|
||||||
**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure that the ``build-essentials`` package is installed also.
|
**Note:** When installing ``gcc`` on Ubuntu (and likely other distros) ensure
|
||||||
|
that the ``build-essentials`` package is installed also.
|
||||||
|
|
||||||
If you are on a fairly modern *nix system, the following steps should work:
|
If you are on a fairly modern *nix system, the following steps should work:
|
||||||
|
|
||||||
|
|
@ -58,7 +59,7 @@ source based installations where you added Nim's ``bin`` directory to your PATH
|
||||||
the easiest way of installing Nimble is via:
|
the easiest way of installing Nimble is via:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ nim e install_nimble.nims
|
$ koch nimble
|
||||||
```
|
```
|
||||||
|
|
||||||
## Community
|
## Community
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ Now open a terminal and follow these instructions:
|
||||||
``cd ~/programs/nim``.
|
``cd ~/programs/nim``.
|
||||||
* run ``sh build.sh``.
|
* run ``sh build.sh``.
|
||||||
* Add ``$your_install_dir/bin`` to your PATH.
|
* Add ``$your_install_dir/bin`` to your PATH.
|
||||||
* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim e install_tools.nims``.
|
* To build associated tools like ``nimble`` and ``nimsuggest`` run ``nim c koch && koch tools``.
|
||||||
|
|
||||||
After restarting your terminal, you should be able to run ``nim -v``
|
After restarting your terminal, you should be able to run ``nim -v``
|
||||||
which should show you the version of Nim you just installed.
|
which should show you the version of Nim you just installed.
|
||||||
|
|
@ -94,6 +94,7 @@ and then to build it::
|
||||||
cd ..
|
cd ..
|
||||||
bin/nim c koch
|
bin/nim c koch
|
||||||
./koch boot -d:release
|
./koch boot -d:release
|
||||||
|
koch tools
|
||||||
|
|
||||||
You should then add the ``./bin`` (make sure to expand this into an
|
You should then add the ``./bin`` (make sure to expand this into an
|
||||||
absolute path) directory to your ``PATH``.
|
absolute path) directory to your ``PATH``.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue