diff --git a/Makefile b/Makefile index e78e1361..1421ad5f 100644 --- a/Makefile +++ b/Makefile @@ -21,8 +21,6 @@ clean: install: @mkdir -p /usr/local/share/bettercap/caplets @cp bettercap /usr/local/bin/ - @cp bettercap.service /etc/systemd/system/ - @systemctl daemon-reload docker: @docker build -t bettercap:latest . diff --git a/README.md b/README.md index 7641203c..e674ce91 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,21 @@ A [precompiled version is available](https://github.com/bettercap/bettercap/rele Make sure you have a correctly configured **Go >= 1.8** environment, that `$GOPATH/bin` is in `$PATH`, that the `libpcap-dev` and `libnetfilter-queue-dev` (this one is only required on Linux) package installed for your system and then: $ go get github.com/bettercap/bettercap + $ cd $GOPATH/src/github.com/bettercap/bettercap + $ make && sudo make install -This command will download bettercap, install its dependencies, compile it and move the `bettercap` executable to `$GOPATH/bin`. +This command will download bettercap, install its dependencies, compile it and move the `bettercap` executable to `/usr/local/bin`. Now you can use `sudo bettercap -h` to show the basic command line options and just `sudo bettercap` to start an [interactive session](https://github.com/bettercap/bettercap/wiki/Interactive-Mode) on your default network interface, otherwise you can [load a caplet](https://github.com/bettercap/bettercap/wiki/Caplets) from [the dedicated repository](https://github.com/bettercap/caplets). ## Update -In order to update to an unstable but bleeding edge release from this repository, run the command below: +In order to update to an unstable but bleeding edge release from this repository, run the commands below: $ go get -u github.com/bettercap/bettercap + $ cd $GOPATH/src/github.com/bettercap/bettercap + $ make && sudo make install ## Documentation and Examples