pandaSo, 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.
panda beforeWell, this is rather common. First, run following shell command.
which perl6
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 /bin/perl6 or /usr/bin/perl6, you should fix it - in current version panda runs 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 bash or zsh - all you have to do is modify either .bashrc or .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 ~/rakudo/bin).
export PATH="[bin-path]:$PATH"
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 [panda-bin-path] and [bin-path] with correct paths.
export PATH="[panda-bin-path]:[bin-path]:$PATH"
panda beforeJust install panda like normal module.
panda install panda
Wasn’t that simple?