Installing kerl

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Installing kerl

Lloyd R. Prentice-2

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

 

But I need to add to $PATH but find a black hole in my Linux chops and Google sources confusing.

 

I try:

 

~$ PATH=/home/lloyd/kerl:$PATH
~$ echo $PATH
/home/lloyd/kerl:/home/lloyd/.cache/rebar3/bin:/home/lloyd/bin:/home/lloyd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

 

Seems to work. Bui my first kerl command fails:

 

~$ kerl list releases
No command 'kerl' found, did you mean:
Command 'erl' from package 'erlang-base-hipe' (universe)
Command 'erl' from package 'erlang-base' (main)
Command 'perl' from package 'perl-base' (main)
kerl: command not found

 

Ideally I'd like kerl to be available with every console session. But I don't know how to do that.

 

Please show me the way.

 

Thanks,

 

LRP

 

 

 


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Installing kerl

PAILLEAU Eric

export PATH=/home/lloyd/kerl:$PATH


Envoyé depuis mon mobile



---- [hidden email] a écrit ----

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 <a href="tel:66489">66489 Nov 20 13:26 kerl

 

But I need to add to $PATH but find a black hole in my Linux chops and Google sources confusing.

 

I try:

 

~$ PATH=/home/lloyd/kerl:$PATH
~$ echo $PATH
/home/lloyd/kerl:/home/lloyd/.cache/rebar3/bin:/home/lloyd/bin:/home/lloyd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

 

Seems to work. Bui my first kerl command fails:

 

~$ kerl list releases
No command 'kerl' found, did you mean:
Command 'erl' from package 'erlang-base-hipe' (universe)
Command 'erl' from package 'erlang-base' (main)
Command 'perl' from package 'perl-base' (main)
kerl: command not found

 

Ideally I'd like kerl to be available with every console session. But I don't know how to do that.

 

Please show me the way.

 

Thanks,

 

LRP

 

 

 


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Installing kerl

PAILLEAU Eric
In reply to this post by Lloyd R. Prentice-2

To let it available in all your session, add this in your . bashrc or .login...


Envoyé depuis mon mobile



---- [hidden email] a écrit ----

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 <a href="tel:66489">66489 Nov 20 13:26 kerl

 

But I need to add to $PATH but find a black hole in my Linux chops and Google sources confusing.

 

I try:

 

~$ PATH=/home/lloyd/kerl:$PATH
~$ echo $PATH
/home/lloyd/kerl:/home/lloyd/.cache/rebar3/bin:/home/lloyd/bin:/home/lloyd/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

 

Seems to work. Bui my first kerl command fails:

 

~$ kerl list releases
No command 'kerl' found, did you mean:
Command 'erl' from package 'erlang-base-hipe' (universe)
Command 'erl' from package 'erlang-base' (main)
Command 'perl' from package 'perl-base' (main)
kerl: command not found

 

Ideally I'd like kerl to be available with every console session. But I don't know how to do that.

 

Please show me the way.

 

Thanks,

 

LRP

 

 

 


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Installing kerl

Dan Sommers
In reply to this post by Lloyd R. Prentice-2
On 11/20/18 2:03 PM, [hidden email] 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Installing kerl

Lloyd R. Prentice-2

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" <[hidden email]>
Sent: Tuesday, November 20, 2018 2:22pm
To: [hidden email]
Subject: Re: [erlang-questions] Installing kerl

On 11/20/18 2:03 PM, [hidden email] 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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|

Re: Installing kerl

PAILLEAU Eric

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



---- [hidden email] 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" <[hidden email]>
Sent: Tuesday, November 20, 2018 2:22pm
To: [hidden email]
Subject: Re: [erlang-questions] Installing kerl

On 11/20/18 2:03 PM, [hidden email] 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 <a href="tel:66489">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
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions


_______________________________________________
erlang-questions mailing list
[hidden email]
http://erlang.org/mailman/listinfo/erlang-questions