Installing watchman on Ubuntu 18.04

Saurabh Shubham
1 min readJun 12, 2018

--

$ cd ~
$ git clone https://github.com/facebook/watchman.git
$ cd watchman/
$ git checkout v4.9.0
$ sudo apt-get install -y autoconf automake build-essential python-dev
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ watchman --version

Possible errors:

1. While running ./autogen.sh
Error: your system lacks libtoolize
Solution: sudo apt-get install libtool

2. While running make
Error: ContentHash.cpp:13:10: fatal error: openssl/sha.h: No such file or directory
Solution: sudo apt-get install libssl-dev

Thank You.

--

--

Saurabh Shubham
Saurabh Shubham

Responses (16)