diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2017-08-14 05:43:01 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2017-08-14 06:12:02 +0530 |
commit | dcfc6074c5e01f1dadce38664deac675d08d9d93 (patch) | |
tree | ddc6292fc6d40fda2c7431f6a4939cae5e38b12f | |
parent | 0a552615f8c3037762c55fab1c8d886b27486c14 (diff) | |
download | nnn-dcfc6074c5e01f1dadce38664deac675d08d9d93.tar.gz |
Re-order installation section
-rw-r--r-- | README.md | 29 |
1 files changed, 20 insertions, 9 deletions
@@ -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,23 +133,31 @@ 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 - $ sudo apt-get install libncursesw5-dev libreadline6-dev - $ make - $ sudo make install +- [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 + +`PREFIX` is supported, in case you want to install to a different location. + ### Usage #### Cmdline options |