Cloning and building
Build prerequisites
You need to have the following tools installed on your computer
Unix/Linux
Debian based distributions (Debian / Ubuntu / Linux Mint / elementary OS)
In your terminal
sudo apt-get install -y golang-go build-essential git
Enterprise based distributions (Red Hat® / CentOS / CloudLinux / Fedora)
In your terminal
sudo yum install -y golang git
Windows
Installing Git
- Open Git Downloads page
- Download the Windows Installer(.exe)
- Run the downloaded Git-v.exe Installer
Installing Go
- Open Go Downloads page
- Download the Windows Installer(.msi)
- Run the downloaded MSI Installer
Mac OS X
In your terminal
/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install git
brew install go
Getting the source
In your terminal
# Clone kwatch repository
git clone https://github.com/abahmed/kwatch
Build kwatch
In your terminal
go build