after instalation SML/NJ - No command 'sml' found on ubuntu 12.04 at terminal
93
If sml
is in /usr/local/SML
directory, you should use it's relative path:
cd /usr/local/SML/bin
./sml
or absolute path:
/usr/local/SML/bin/sml
Or add /usr/local/SML/bin
directory to your PATH.
More about: About the Use of Dot-Slash in Commands.
Related videos on Youtube
Author by
Daniel Flippance
Updated on September 18, 2022Comments
-
Daniel Flippance over 1 year
I've added meteorhacks:npm and included some packages in the
packages.json
file. Note the 's' on the end of packages, as this is needed by meteorhacks:npm.Everything works for me but when I push to Git and the rest of the team pulls, they are unable to install the npm modules.
Because the json file is called packages.json they can't simply run
npm install
without renaming the packages.json file.Is there some simple way they can install all the dependencies listed in the packages.json as well as the .meteor/packages
-
catch23 over 10 yearsI did this about
./sml
it showsbash: ./sml: No such file or directory
. But about adding this to my path. At this tutorial they didn't write nothing necessary about this, and this is their main sitehttp://www.smlnj.org
. What do you thisnk about this? -
Radu Rădeanu over 10 years@What is the output of
ls -l /usr/local/SML/
command? As you can see there is nosml
file there. -
catch23 over 10 yearsI updated question. But
sml
at console should open the SML console -Standard ML of New Jersey v110.75 [built: ...]
and open SML console, you can type1 + 1;
+ Enter. the SML interpreter should print something like this:val it = 2 : int
. To exit the interpreter,type Control-D
. -
Radu Rădeanu over 10 years@nazar_art Have you read smlnj.org/dist/working/110.75/NOTES/INSTALL ? There is a section: 2.5. What needs to be on my PATH? Also, I edited my answer.