[erlang-questions] Installing kerl

Eric Pailleau eric.pailleau@REDACTED
Tue Nov 20 23:01:48 CET 2018


Lloyd, 
PATH need a list of directories to search in. 
export PATH=/home/lloyd/:$PATH
And not
export PATH=/home/lloyd/kerl:$PATH

Regards 


Envoyé depuis mon mobile 

---- lloyd@REDACTED a écrit ----

>
>Thanks guys!
> 
>Dan, that did the trick!
> 
>~$ cp $HOME/kerl $HOME/bin/
>
>:~$ kerl list releases
>R10B-0
>R10B-10
>R10B-1a
>R10B-2
>...
> 
>Eriic, I'd already tried your solution, but tried it again. 
> 
>~$ export PATH=/home/lloyd/kerl:$PATH
>~$ kerl list releases
>No command 'kerl' found, did you mean:
> Command 'perl' from package 'perl-base' (main)
> Command 'erl' from package 'erlang-base-hipe' (universe)
> Command 'erl' from package 'erlang-base' (main)
>kerl: command not found
> 
>I'm grateful to you both for sharing your knowledge.
> 
>All the best
> 
>Lloyd
> 
> 
> 
> 
> 
> 
>-----Original Message-----
>From: "Dan Sommers" <2QdxY4RzWzUUiLuE@REDACTED>
>Sent: Tuesday, November 20, 2018 2:22pm
>To: erlang-questions@REDACTED
>Subject: Re: [erlang-questions] Installing kerl
>
>
>
>On 11/20/18 2:03 PM, lloyd@REDACTED wrote:
>> 
>> I'd like to install kerl on my dev system.
>> 
>> I can download it fine from GitHub and make it executable:
>> 
>> ~$ ls -l kerl
>> -rwxrwxr-x 1 lloyd lloyd 66489 Nov 20 13:26 kerl
>
>PATH contains *directories*, not actual executables.
>
>To let your shell find it, add $HOME to PATH.
>
>That said, it'd be better to copy that executable to a more
>suitable directory. It appears that $HOME/bin is already on
>PATH; use that:
>
> $ cp $HOME/kerl $HOME/bin/
>
>And then see how it goes.
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://erlang.org/mailman/listinfo/erlang-questions
>_______________________________________________
>erlang-questions mailing list
>erlang-questions@REDACTED
>http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20181120/e6c7e555/attachment.htm>


More information about the erlang-questions mailing list