misc/nnn 5.3 FreeBSD
Missing terminal file browser for X
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
e0937f7b74- License
- BSD2CLAUSE
- Categories
- misc, shells
- Package size
- 137.7 KiB, 361.5 KiB installed
Description
nnn is a fast and resource-sensitive file browser which integrates well with your DE and favorite GUI utilities, works with the desktop opener, supports bookmarks, has smart navigation shortcuts, has navigate-as-you-type mode, disk usage analyzer mode, comprehensive file details and much more.
nnn can:
- open any file in the default desktop application or a custom one
- navigate-as-you-type (search-as-you-type enabled even on directory switch)
- check disk usage with number of files in current directory tree
- run desktop search utility (gnome-search-tool or catfish) in any directory
- copy absolute file path to clipboard, spawn a terminal and use the file path
- navigate instantly using shortcuts like ~, -, & or handy bookmarks
- use cd ..... at chdir prompt to go to a parent directory
- show detailed file stats, media info, list and extract archives
- pin a directory you may need to revisit and jump to it anytime
- lock the current terminal after a specified idle time
- change directory on exit
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | misc/nnn | 5.3 |
| OpenBSD | sysutils/nnn | 5.3p0 |
| NetBSD | sysutils/nnn | 5.1 |
| DragonFly | misc/nnn | 5.1 |
Install
Binary package:
pkg install nnn
From the ports tree:
cd /usr/ports/misc/nnn/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= nnn>0:misc/nnn
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 5.3 | 5.3 | 4.7 | 5.1 | 5.3 |
| FreeBSD:14:quarterly | 5.3 | 5.3 | n/a | 5.1 | 5.3 |
| FreeBSD:15:latest | 5.3 | 5.3 | n/a | 5.1 | 5.1 |
| FreeBSD:15:quarterly | 5.3 | 5.3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 5.3 | 5.3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 1
gsed: textproc/gsed
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 33
- archivers/atool
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libunistring
- devel/readline
- devel/xdg-utils
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/perl5.42
- misc/hicolor-icon-theme
- multimedia/libmediainfo
- multimedia/libzen
- multimedia/mediainfo
- print/indexinfo
- security/libssh2
- textproc/gsed
- textproc/tinyxml2
- www/libnghttp2
- x11-toolkits/libXmu
- x11-toolkits/libXt
- x11/libICE
- x11/libSM
- x11/libX11
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libxcb
- x11/xorgproto
- x11/xprop
- x11/xset
No port depends on this one.
Configuration
Options name: misc_nnn
| Option | Default | Description |
|---|---|---|
| ATOOL | on | List and extract archives |
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
| MEDIAINFO | on | Show media information |
| XDG | on | Open files with xdg-open |
- USES
- compiler:c11 gmake localbase ncurses readline
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| nnn-v5.3.tar.gz | 286736 | c626d57d0aaa5effe04a7e8c24ec9000bc3aca012461b821ecd3c81f5131bb6d |
Master sites 1
- https://github.com/jarun/nnn/releases/download/${DISTVERSIONFULL}/