Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to delete erlang builds with kerl

Tags:

erlang

I've installed Erlang using kerl. I've built it as 32bit and not 64bit as I should've. Trying to correct my mistake is proving problematic.

./kerl status

brings me

Available builds:
R15B01,r15b01
----------
Available installations:
----------
The current active installation is:
/Users/jason/erlang/r15b01

Then when I try to

./kerl delete r15b01

or

./kerl delete R15B01

I get

No build named r15b01

and

./kerl build R15B01 r15b01

gives me

There's already a build named r15b01

So I cannot rebuild and I cannot delete the old one. I know I am most probably missing something very obvious, but I am new to this and cannot find anything on this.

thanks!

like image 901
Jason Prawn Avatar asked Sep 04 '12 21:09

Jason Prawn


1 Answers

You are misinterpreting the syntax for deletion. You need to specify the type of delete you are doing before specifying the actual build.

Instead of...

kerl delete build_name

You should type...

kerl delete build build_name
kerl delete installation path

To get a list of already installed builds or installation paths that you can delete type:

kerl list builds
kerl list installations

like image 166
Pascal Avatar answered Sep 20 '22 01:09

Pascal