Re-order installation section

This commit is contained in:
Arun Prakash Jana 2017-08-14 05:43:01 +05:30
parent 0a552615f8
commit dcfc6074c5
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 20 additions and 9 deletions

View File

@ -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