Zulip Chat Archive

Stream: new members

Topic: Add lake to path


Vasily Ilin (May 02 2024 at 20:18):

I followed the generic Linux installation instructions (single command): https://leanprover-community.github.io/install/linux.html. Lean works but lake is not in my path. E.g. lake update does not work. How do I add it to path?

Patrick Massot (May 02 2024 at 20:20):

Did you try opening a new terminal?

Patrick Massot (May 02 2024 at 20:20):

What shell are you using?

Shreyas Srinivas (May 02 2024 at 20:55):

Which Linux distro are you using?

Shreyas Srinivas (May 02 2024 at 20:56):

Patrick Massot : it sometimes happens that ~/.elan/bin is not added to the PATH. I had a recent experience like this which I have reported.

Shreyas Srinivas (May 02 2024 at 21:01):

I can't pinpoint the exact nature of the change, but somehow Ubuntu 24.04 seems more restrictive with permissions. I had to modify quite a few scripts in the past week to explicitly add write or execute permission. This wasn't the case with the 20.04 derived mint.

Shreyas Srinivas (May 02 2024 at 21:02):

I think it could be this thing: https://ubuntu.com/blog/whats-new-in-security-for-ubuntu-24-04-lts


Last updated: May 02 2025 at 03:31 UTC