ncdu 2.0-beta3

This commit is contained in:
Yorhel 2021-11-09 09:14:25 +01:00
parent 38b35f30b4
commit 2893dc72b9
27 changed files with 138 additions and 29 deletions

View file

@ -160,6 +160,11 @@ useful, but maybe I'll reconsider that for a future release. A directory that
can't be analyzed at all because you've ran out of memory isn't very useful,
either.
**Update**: Version 2.0-beta2 implements a *much* more memory-efficient hard
link counting algorithm that, combined with the other efficiency gains, should
ensure that ncdu 2.0 never uses more memory than 1.x. The memory usage of the
"many hard links" directory above has been reduced to 106M in that version.
Another difference that is worth mentioning: when refreshing a directory from
within the browser, ncdu 1.x will allocate a fresh structure for the new tree
and then, after the scan is complete, free the old structure. This may cause

View file

@ -33,21 +33,20 @@ Community
Packages and ports
: Are available for the following systems:
[Arch Linux](https://aur.archlinux.org/packages/ncdc/) -
[Debian](https://packages.debian.org/search?keywords=ncdc&searchon=names&exact=1&suite=all&section=all) -
[Fedora](https://apps.fedoraproject.org/packages/ncdc/overview/) -
[FreeBSD](http://www.freshports.org/net-p2p/ncdc/) -
[FreeBSD](https://www.freebsd.org/cgi/ports.cgi?query=ncdc&stype=all) -
[Frugalware](http://frugalware.org/packages?srch=ncdc&op=pkg&arch=all&ver=all) -
[Gentoo](http://packages.gentoo.org/package/net-p2p/ncdc) -
[GNU Guix](https://www.gnu.org/software/guix/packages/N/) -
[Gentoo](http://packages.gentoo.org/package/net-p2p/ncdc) -
[Homebrew](https://formulae.brew.sh/formula/ncdc) -
[OpenSUSE](http://packman.links2linux.org/package/ncdc) -
[Source Mage](http://download.sourcemage.org/grimoire/codex/test/ftp/ncdc/)
I have a few old packages on the [Open Build
Service](https://build.opensuse.org/package/show/home:yorhel/ncdc), but
these are unmaintained. The static binaries are preferred.
[Source Mage](http://download.sourcemage.org/grimoire/codex/test/ftp/ncdc/) -
[Ubuntu](https://packages.ubuntu.com/search?keywords=ncdc&searchon=names&exact=1&suite=all&section=all) -
[Void Linux](https://voidlinux.org/packages/?arch=x86_64&q=ncdc).
A convenient installer is available for
[Android](http://code.ivysaur.me/ncdcinstaller.html).
[Android](http://code.ivysaur.me/ncdcinstaller.html) as well.
## Features

View file

@ -125,8 +125,12 @@ Select your openSUSE release and hit the "1 click install" button.
## Ubuntu & Debian
The preferred way of installing ncdc on Ubuntu or Debian is to use the static
binaries provided above.
If you're running a recent enough release, you may be able to just do a
sudo apt install ncdc
Otherwise you may have to grab the package from a backport or use the static
binaries above.
Alternatively, you can also try to compile ncdc from source. To do so, first
install the required libraries:

View file

@ -8,28 +8,28 @@ POSIX-like environment with ncurses installed.
## Download
C version (stable)
: 1.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))
I also have convenient static binaries for Linux
[i486](/download/ncdu-linux-i486-1.16.tar.gz),
[x86_64](/download/ncdu-linux-x86_64-1.16.tar.gz),
[ARM](/download/ncdu-linux-arm-1.16.tar.gz) and
[AArch64](/download/ncdu-linux-aarch64-1.16.tar.gz).
Download, extract and run; no compilation or installation necessary (uses
[musl](http://www.musl-libc.org/)).
Zig version (beta)
: 2.0-beta2 ([ncdu-2.0-beta2.tar.gz](/download/ncdu-2.0-beta2.tar.gz) - [changes](/ncdu/changes) - requires Zig 0.8)
: 2.0-beta3 ([ncdu-2.0-beta3.tar.gz](/download/ncdu-2.0-beta3.tar.gz) - [changes](/ncdu/changes) - requires Zig 0.8 or 0.8.1)
See the [release announcement](/doc/ncdu2) for information about the
differences with the C version.
Static binaries for Linux:
[i486](/download/ncdu-2.0-beta2-linux-i386.tar.gz),
[x86_64](/download/ncdu-2.0-beta2-linux-x86_64.tar.gz),
[ARM](/download/ncdu-2.0-beta2-linux-arm.tar.gz) and
[AArch64](/download/ncdu-2.0-beta2-linux-aarch64.tar.gz).
This version is only really "beta" because [Zig](https://ziglang.org/) is
still unstable, ncdu 2 is otherwise perfectly usable and comes with several
significant improvements over the C version.
Convenient static binaries for Linux:
[i486](/download/ncdu-2.0-beta3-linux-i386.tar.gz),
[x86_64](/download/ncdu-2.0-beta3-linux-x86_64.tar.gz),
[ARM](/download/ncdu-2.0-beta3-linux-arm.tar.gz) and
[AArch64](/download/ncdu-2.0-beta3-linux-aarch64.tar.gz).
Download, extract and run; no compilation or installation necessary.
C version (stable)
: 1.16 ([ncdu-1.16.tar.gz](/download/ncdu-1.16.tar.gz) - [changes](/ncdu/changes))
Lags a bit behind on the 2.x version in terms of features and performance,
but is still being maintained and perfectly usable.
Development version
: The most recent code is available on a git repository and can be cloned