Coder Social home page Coder Social logo

Comments (5)

hythm7 avatar hythm7 commented on August 18, 2024

The default repo Pakku installs to is the site repo, so the user running pakku needs to have write access to it. If need to install to home repo (~/.raku) you can add to home to the command. pakku add to home Foo

from pakku.

melezhik avatar melezhik commented on August 18, 2024

yeah, this was my assumption, just wanted to check here. zef installs to home by default . maybe for user installation this default is more convenient ?

from pakku.

hythm7 avatar hythm7 commented on August 18, 2024

Actually home was the default repo for installation in the previous version of Pakku, but I changed it to site in this version because IIRC some chat on IRC mentioned that site is the safest option especially when having multiple rakudo versions installed. if there is consensus from Raku core developers that home should be the default repo for installation, I will change it.

In the mean time one can create a config file in ~/.pakku/pakku.conf and copy the example config file from the Configuration section in the README, then:
1- uncomment the line # < add > # activate the configurations for add command
2- uncomment the line # to home # to override the default repo from site to home

with this change in the configuration there will be no need to specify to home in the command and pakku add Foo will install to home repo.

from pakku.

melezhik avatar melezhik commented on August 18, 2024

thanks!

from pakku.

hythm7 avatar hythm7 commented on August 18, 2024

fwiw ccd3a10 will make sure the requested repo can-install dists, if can not then the first repo in the repo-chain that can-install will be used.

from pakku.

Related Issues (19)

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.