So, do you want to install
panda? You have managed to somehow install Rakudo using
git. Well, you were doing it wrongly - you should instead have used Rakudo Star which includes it.
Oh, you don’t want to wait again for Parrot, NQP and Rakudo to install. Well, it’s possible. It’s not easiest thing ever, but it sort of works.
What you have to do depends on whatever you have installed panda before (so it worked) or you haven’t.
Well, this is rather common. First, run following shell command.
It will tell you what perl6 will be used. If it says location in home directory, you should be fine. But if it says stuff like
/usr/bin/perl6, you should fix it - in current version
perl6 at certain points. You wouldn’t want
panda to run outdated version of Rakudo your system could have (also, remove your system Perl 6 if you want to be safe - you won’t need it).
So, you want to fix. Let’s assume your shell is either
zsh - all you have to do is modify either
.zshrc and add following line at end, where
[bin-path] should be replaced with your path to Rakudo’s /bin directory (on my system it’s
Close your shell and run it again. Just to be sure, run
which perl6 again. If your
perl6 is in correct location you can continue.
Download panda using following command if you haven’t already.
git clone https://github.com/tadzik/panda.git
And run bootstrap script.
cd panda ./bootstrap.pl
Congratulations, you have working
panda now! If you want, add
panda to your path, by modifying $PATH you have added before. Of course, as said before, modify
[bin-path] with correct paths.
panda like normal module.
panda install panda
Wasn’t that simple?