OCaml: Can't run utop after installing it

前端 未结 4 1259
北荒
北荒 2021-02-20 10:42

I\'m trying to learn OCaml through the Real World OCaml book. They have a guide by which I am supposed to install the Core package and utop. However, while I seem to be successf

4条回答
  •  不要未来只要你来
    2021-02-20 11:04

    So, I did try eval 'opam config env' and this is what happens:

    $ eval 'opam congif env'
    CAML_LD_LIBRARY_PATH="/home/jharvard/.opam/4.01.0/lib/stublibs"; export CAML_LD_LIBRARY_PATH; 
    PERL5LIB="/home/jharvard/.opam/4.01.0/lib/perl5"; export PERL5LIB;
    OCAML_TOPLEVEL_PATH="/home/jharvard/.opam/4.01.0/lib/toplevel"; export OCAML_TOPLEVEL_PATH;
    MANPATH="/home/jharvard/.opam/4.01.0/man:"; export MANPATH; PATH="/home/jharvard/.opam/4.01.0/bin:/etc/log50.d:/etc/log50.d:/usr/lib/qt-3.3/bin:/etc/log50.d:/usr/libexec/lightdm:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/jharvard/.local/bin:/home/jharvard/bin"; export PATH;
    

    And then it still says that the "utop" command is not found. The paths above are gibberish to me. Would anyone be able to look at what it returned to see if that indicates what the problem might be?

提交回复
热议问题