-
-
Save Altai-man/0f7dbe6335bdb4ab1c8e4725c1f180dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add Perl 6 repo with fresh packages | |
``` | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 379CE192D401AB61 | |
echo "deb https://dl.bintray.com/nxadm/rakudo-pkg-debs `lsb_release -cs` main" | sudo tee -a /etc/apt/sources.list.d/rakudo-pkg.list | |
``` | |
Install rakudo-pkg and nothing else | |
`sudo apt-get update && sudo apt-get install rakudo-pkg` | |
Add our local and global Perl 6 paths into $PATH | |
`/opt/rakudo-pkg/bin/add-perl6-to-path` | |
Reload current user session to read PATH update | |
`source /home/$username/.profile` | |
Clone zef at 0.7.4 tag and install it by hands | |
``` | |
git clone --branch 0.7.4 https://github.com/ugexe/zef.git | |
cd zef | |
perl6 -I. bin/zef install . | |
``` | |
At this stage, we have Perl 6 2019.03.1 installed by rakudo-pkg | |
and zef v0.7.4 installed by us manually | |
Now we can install some packages: | |
``` | |
zef install Readline | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment