1

By default, where is the LuaRocks package installed in macOS? I am looking in the following directories, but I couldn't find it:

usr/local
usr/lib
opt/local

What am I missing?

3
  • Can you elaborate on how have you installed it? Using Homebrew or manually?
    – Nimesh Neema
    Commented May 16, 2019 at 14:32
  • Homebrew I believe Commented May 16, 2019 at 14:38
  • Can you run brew list and confirm that luarocks is shown in the output list?
    – Nimesh Neema
    Commented May 16, 2019 at 14:40

1 Answer 1

1

If you have installed LuaRocks via Homebrew by following the installation instructions by running

brew install luarocks

the install location can be determined by running

`brew info luarocks

Homebrew installs it in a directory under

/usr/local/Cellar/luarocks/

directory.

The rocks themselves are installed in the following directory:

/usr/local/lib/luarocks/

5
  • That worked, but where are the actual rocks installed? Commented May 16, 2019 at 14:48
  • @CodyRutscher Updated the answer.
    – Nimesh Neema
    Commented May 16, 2019 at 15:12
  • I am getting an error when trying to install rock. Can I send you my terminal output? Commented May 16, 2019 at 15:19
  • @CodyRutscher It would be better to create a separate question.
    – Nimesh Neema
    Commented May 16, 2019 at 15:27
  • It says I reached my question limit even though the question got upvoted. Commented May 16, 2019 at 15:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .