Skip to content
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

Download + install skaji/relocable-perl #818

Merged
merged 4 commits into from
Sep 19, 2024

Conversation

gugod
Copy link
Owner

@gugod gugod commented Sep 19, 2024

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:/skaji/relocatable-perl/releases/download/5.40.0.0/perl-linux-amd64.tar.gz

Or, with --as parameter:

    perlbrew install https:/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:/skaji/relocatable-perl/releases

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

…ball url of skaji/relocatable-perl

The URLs can be found from their "Releases" page: https:/skaji/relocatable-perl/releases
…erl tarball.

It should be able to accept URLs found on this page:

    https:/skaji/relocatable-perl/releases

For example:

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

Or, with `--as` parameter:

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

Currently this only download + extract the tarball, then move its
content to the installation dir, without checking whether os/arch
actually matches current environment.
@gugod gugod changed the title Download install skaji/relocable-perl Download + install skaji/relocable-perl Sep 19, 2024
@gugod gugod merged commit e36283e into develop Sep 19, 2024
10 checks passed
@gugod gugod deleted the download-install-skaji-relocatable-perl branch September 19, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant