Where does raco install packages?
Asked Answered
W

1

12

Where would a raco pkg install --auto drracket install the drracket package by default? This is off of a preexisting homebrew installation of racket.

Wyckoff answered 1/3, 2016 at 1:27 Comment(1)
Not a direct answer to your question, but I do know that this functionality was slightly bugged before Racket 6.4, so if you’re using a version of Racket before that, consider updating.Trillion
P
14

Try the following to print where your Racket install is installing packages:

Welcome to Racket v6.4.0.11.
-> (require setup/dirs)
-> (find-pkgs-dir)
#<path:/racket/share/pkgs>
-> (find-user-pkgs-dir)
#<path:/racket/add-on/development/pkgs>

(those paths are made up for this example so you will want to actually run this on your machine)

The first path is for installation scope packages, e.g., the packages that come with Racket. The second path is for user scope packages.

If you want to find where a particular package is installed, you can use this package: raco-find-collection

Prolonge answered 1/3, 2016 at 21:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.