gugod / App-perlbrew

Manage perl installations in your $HOME
https://perlbrew.pl
Other
720 stars 216 forks source link

Download + install skaji/relocable-perl #818

Closed gugod closed 2 months ago

gugod commented 2 months ago

skaji/relocatable-perl is a binary release provided by @skaji -- basically the binary build out of perl source code, without extra patches. But with userelocatableinc enabled by default, and thus suitable to work with perlbrew.

Wtih this PR, we introduce a form of perlbrew install like this:

   perlbrew install https://github.com/skaji/relocatable-perl/releases/download/5.40.0.0/perl-linux-amd64.tar.gz

Or, with --as parameter:

    perlbrew install https://github.com/skaji/relocatable-perl/releases/download/5.40.0.0/perl-linux-amd64.tar.gz --as perl-5.40

The URL is taken from the list in https://github.com/skaji/relocatable-perl/releases

While further improvements are required (eg, detecting OS / arch), this PR is the starting point.