Skip to content

Instantly share code, notes, and snippets.

@necojackarc
Last active January 19, 2021 13:31
Show Gist options
  • Save necojackarc/4270b0c2dfd4ed2ff0d83505c3d62b00 to your computer and use it in GitHub Desktop.
Save necojackarc/4270b0c2dfd4ed2ff0d83505c3d62b00 to your computer and use it in GitHub Desktop.

This instruction will store the source in /usr/local/src following the linux convention.

$ sudo apt update
$ sudo apt install libssl-dev autoconf automake libtool python-setuptools python-dev
$ cd /usr/local/src
$ sudo git clone https://github.com/facebook/watchman.git
$ cd watchman
$ sudo git checkout v4.9.0  # the latest stable release
$ sudo ./autogen.sh
$ sudo ./configure
$ sudo make
$ sudo make install
$ watchman --version
$ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment