-
Notifications
You must be signed in to change notification settings - Fork 762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to reinstall already installed toolchains #34
Comments
@NobbZ a little bash should do it for you asdf list-all erlang | while read ver
do
asdf uninstall erlang $ver
asdf install erlang $ver
done |
listing the installed ones will be enough 😊 I hoped there's a built in way Kenny Parnell notifications@github.com schrieb am Fr., 18. März 2016
|
@NobbZ Do the asdf-built erlang versions still come without |
They came wx included, after I installed wx libs. Exactly that was the Akash Manohar notifications@github.com schrieb am Sa., 9. Apr. 2016 17:43:
|
@NobbZ Ah thank you for the quick reply. Nice to know you got it fixed. Closing this issue. |
Here's a nice little for plug in (asdf plugin-list)
for ver in (asdf list $plug)
set v (echo $ver | awk '{$1=$1};1')
if not echo $v | grep 'No versions installed'
asdf uninstall $plug $v
asdf install $plug $v
end
end
end |
I used the erlang plugin to install several versions of erlang, but now I had to realize, that they are all installed without
wx
support, which I might need for the next project.I made already sure, that everything
wx
relies on is in place, and I compiled an erlang manually just to see if the build process does realize it. Indeed it does.So I'd like to have asdf to automatically reinstall all existing versions of the erlang toolchain, is this possible in an easy way?
The text was updated successfully, but these errors were encountered: