Giter Site home page Giter Site logo

rakudobrew's Introduction

Put this in ~/.rakudobrew, and add aliases for convenience.

It's quick and dirty, may be broken on your system. Please report any breakages.

Installing rakudobrew

On *nix do:

git clone https://github.com/tadzik/rakudobrew ~/.rakudobrew
export PATH=~/.rakudobrew/bin:$PATH
rakudobrew init # Instructions for permanent installation.

On Windows CMD do:

git clone https://github.com/tadzik/rakudobrew %USERPROFILE%\rakudobrew
SET PATH "%USERPROFILE%\rakudobrew\bin;%PATH%"
rakudobrew init # Instructions for permanent installation.

On Windws PowerShell do:

git clone https://github.com/tadzik/rakudobrew $Env:USERPROFILE\rakudobrew
$Env:PATH = "$Env:USERPROFILE\rakudobrew\bin;$Env:PATH"
rakudobrew init # Instructions for permanent installation.

Windows specialities

If you want to use the Microsoft compiler cl you have to make sure the compiler is on your PATH and you have the environment variables cl requires set. This happens automatically when using the Native Tools Command Prompt but has to be done manually when using a normal terminal (or PowerShell). The script vcvars32.bat in the same folder as cl itself sets these variables up automatically. On PowerShell this requires some additional trickery as described on StackOverflow: http://stackoverflow.com/q/6140864

It might be necessary to use an Administrative console to work around a problem with permissions that go wrong during the build process.

Bootstrapping a Perl 6 implementation

Run something like:

$ rakudobrew build moar

to build the latest Rakudo (in this case, on the MoarVM backend), which should then be available as perl6. Then, to get the Panda module management tool, do:

$ rakudobrew build-panda

Upgrading your Perl 6 implementation

$ rakudobrew build moar

Upgrading rakudobrew itself

$ rakudobrew self-upgrade

Uninstall rakudobrew and its Perl 6(s)

To remove rakudobrew and any Perl 6 implementations it's installed on your system, just remove or rename the ~/.rakudobrew directory.

Specifying custom git path

In case git is not in any standard PATH on your system, you can specify a custom path to the git binary using a GIT_BINARY environment variable:

$ GIT_BINARY="%USERPROFILE%\Local Settings\Application Data\GitHub\PORTAB~1\bin\git.exe" rakudobrew build all

Command-line switches

Run rakudobrew

rakudobrew's People

Contributors

jj avatar colomon avatar raydiak avatar mouq avatar moritz avatar uvtc avatar mvuets avatar paultcochrane avatar ugexe avatar timo avatar snarkyboojum avatar abraxxa avatar bestscarper avatar mattoates avatar atroxaper avatar skaji avatar stmuk avatar

Watchers

Slobodan Mišković avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.