diff --git a/README.md b/README.md index 509abe4d..c580bf35 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,10 @@ Noice is Not Noice, a noicer fork... - [Features](#features) - [Performance](#performance) - [Installation](#installation) + - [Dependencies](#dependencies) + - [From a package manager](#from-a-package-manager) - [Release packages](#release-packages) + - [From source](#from-source) - [Usage](#usage) - [Cmdline options](#cmdline-options) - [Keyboard shortcuts](#keyboard-shortcuts) @@ -130,22 +133,30 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i ### Installation +#### Dependencies + `nnn` needs libreadline, libncursesw (on Linux or ncurses on OS X) and standard libc. -- Packages are available on - - [AUR](https://aur.archlinux.org/packages/nnn/) - - [Debian](https://packages.debian.org/search?keywords=nnn) - - [Homebrew](http://braumeister.org/formula/nnn) - - [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) -- To cook yourself, download the [latest stable release](https://github.com/jarun/nnn/releases/latest) or clone this repository (*risky*). Then install the dependencies and compile (e.g. on Ubuntu 16.04): +#### From a package manager + +- [AUR](https://aur.archlinux.org/packages/nnn/) +- [Debian](https://packages.debian.org/search?keywords=nnn) +- [Homebrew](http://braumeister.org/formula/nnn) +- [Ubuntu PPA](https://launchpad.net/~twodopeshaggy/+archive/ubuntu/jarun/) + +#### Release packages + +Packages for Arch Linux, CentOS, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/nnn/releases/latest). + +#### From source + +To cook yourself, download the [latest stable release](https://github.com/jarun/nnn/releases/latest) or clone this repository (*risky*). Then install the dependencies and compile (e.g. on Ubuntu 16.04): $ sudo apt-get install libncursesw5-dev libreadline6-dev $ make $ sudo make install -#### Release packages - -Packages for Arch Linux, CentOS, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/nnn/releases/latest). +`PREFIX` is supported, in case you want to install to a different location. ### Usage