Here are a couple of possible solutions: * Use `raco pkg migrate` or the "Copy from Version" panel in DrRacket's package manager (from the "File" menu).
I recommend this approach, assuming that you're doing something like upgrading a regular release. * Configure each installation with the same name, instead of using the version number as the name. For example raco pkg config --set name current will cause user-scope package installations to be installed into a user-specific "current" directory instead of a user- and version-specific directory. With this approach, you'll also need to run `raco setup` to rebuild installed packages when you change Racket versions. If you're working with snapshots or builds from the main repo's top-level makefile, then a version-independent installation name is already being used: "snapshot" or "development", respectively. In the latter case, though, the default package scope is set to "installation", so package installations are not shared by default; you can change the default scope to "user". At Thu, 5 Nov 2015 09:40:53 -0500, Jonathan Schuster wrote: > Is there such a thing as a user-specific but non-version-specific > installation scope for packages? The docs [1] appear to indicate that you > can have user+version-specific or non-user+non-version-specific installs, > but neither of the other two combinations. > > The main problem is that it's a (minor) pain to install all of my packages > every time a new Racket version comes out, and installing packages for all > users seems like a heavy-handed solution. I have a feeling this has been > discussed before, but I couldn't find anything on either mailing list. > > Thanks, > Jon > > [1] > http://docs.racket-lang.org/pkg/Package_Concepts.html#%28part._concept~3ascope% > 29 > > -- > You received this message because you are subscribed to the Google Groups > "Racket Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to racket-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.