Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 41 additions & 3 deletions nprint/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,52 @@ nav_order: 1

`sudo apt-get install libpcap-dev`

### Install dependencies on Mac OS
### Install dependencies on macOS

`brew install argp-standalone`
```bash
brew install argp-standalone autoconf automake libtool
```

## Install

### Building from source (latest development version)

```bash
git clone https://github.com/nprint/nprint.git
cd nprint
autoreconf -i
```

**On Debian/Linux:**
```bash
./configure
make
sudo make install
```

**On macOS:**
```bash
./configure CPPFLAGS="-I/opt/homebrew/opt/argp-standalone/include" LDFLAGS="-L/opt/homebrew/opt/argp-standalone/lib"
make
sudo make install
```

### Installing from release tarball

1. Download the latest release tar [here](https://github.com/nprint/nprint/releases/)
2. Extract the tar `tar -xvf [nprint-version.tar.gz]`
3. `cd [nprint-directory]`

2. `./configure && make && sudo make install`
**On Debian/Linux:**
```bash
./configure
make
sudo make install
```

**On macOS:**
```bash
./configure CPPFLAGS="-I/opt/homebrew/opt/argp-standalone/include" LDFLAGS="-L/opt/homebrew/opt/argp-standalone/lib"
make
sudo make install
```