facebook/watchman

Installation guide

kuldeepaher01 opened this issue · 5 comments

I wanted to install watchman for react native. I am getting redirected to https://github.com/facebook/watchman/releases/tag/v2023.07.24.00 when i click on ubuntu installation from prebuilt binaries, but I am not able to see any .deb only tar.gz and zip files are present I have spent 2 hours figuring out and couldn't install. Please add installation instructions clearly

Hey I was doing the same thing.

Here's what worked for me:

  • Follow the steps in building from source. This includes installing cargo, then compiling the project yourself. Keep in mind this might take a while
  • cd into the newly created built directory that contains the compiled bins
  • Run the following commands:
$ sudo mkdir -p /usr/local/bin /usr/local/var/run/watchman
$ sudo cp bin/* /usr/local/bin
$ sudo chmod 755 /usr/local/bin/watchman
$ sudo chmod 2777 /usr/local/var/run/watchman

@kuldeepaher01 Looks like they have abandoned the .deb approach. this is the last version that I could find the .deb package for.

@kuldeepaher01 Looks like they have abandoned the .deb approach. this is the last version that I could find the .deb package for.

It appears that the entire project has been abandoned. Fedora packages are not provided either.

Documentation states clearly:

Warning: Do not install the Fedora-supplied Watchman package. It is old and missing security, bug, and performance fixes.

https://facebook.github.io/watchman/docs/install#fedora-prebuilt-rpms

Unfortunately, Fedora 39 RPM package is not available.

installing via homebrew solved this problem

@kuldeepaher01 Looks like they have abandoned the .deb approach. this is the last version that I could find the .deb package for.

Thank you, after a year later im stuck here again lol