New ncdu, ncdc + btrfssize + misc changes

This commit is contained in:
Yorhel 2016-12-30 13:46:17 +01:00
parent 7cf772d968
commit 07143cfb36
17 changed files with 182 additions and 84 deletions

View file

@ -38,11 +38,11 @@ compiling and/or installing it, I also offer statically linked binaries:
=over
=item * L<Linux, 64-bit|https://dev.yorhel.nl/download/ncdc-linux-x86_64-1.19.1-12-g55616.tar.gz>
=item * L<Linux, 64-bit|https://dev.yorhel.nl/download/ncdc-linux-x86_64-1.20.tar.gz>
=item * L<Linux, 32-bit|https://dev.yorhel.nl/download/ncdc-linux-i486-1.19.1-12-g55616.tar.gz>
=item * L<Linux, 32-bit|https://dev.yorhel.nl/download/ncdc-linux-i486-1.20.tar.gz>
=item * L<Linux, ARM|https://dev.yorhel.nl/download/ncdc-linux-arm-1.19.1-12-g55616.tar.gz>
=item * L<Linux, ARM|https://dev.yorhel.nl/download/ncdc-linux-arm-1.20.tar.gz>
=back
@ -66,11 +66,11 @@ available for Android 2.3 and later, which makes use of the static binary.
=head2 Arch Linux
Ncdc is available on L<AUR|https://aur.archlinux.org/packages.php?ID=50949>, to
Ncdc is available on L<AUR|https://aur.archlinux.org/packages/ncdc/>, to
install it you can use your favorite AUR-installer. If you don't have a
favorite, go for the manual approach:
wget https://aur.archlinux.org/packages/nc/ncdc/ncdc.tar.gz
wget https://aur.archlinux.org/cgit/aur.git/snapshot/ncdc.tar.gz
tar -xf ncdc.tar.gz
cd ncdc
makepkg -si
@ -81,10 +81,6 @@ favorite, go for the manual approach:
There's a L<package|https://apps.fedoraproject.org/packages/ncdc/overview/>
available for Fedora.
Alternatively, I also have packages on the L<Open Build
Service|http://software.opensuse.org/download/package?project=home:yorhel&package=ncdc>.
=head2 FreeBSD
@ -108,16 +104,7 @@ Ncdc is available in the Portage tree, so installation is trivial:
=head2 Mac OS X
Ncdc is available in
L<MacPorts|http://www.macports.org/ports.php?by=name&substr=ncdc> and
L<Homebrew|http://braumeister.org/formula/ncdc>.
To install from MacPorts, follow the L<instructions on installing
MacPorts|http://www.macports.org/install.php> if you haven't done so already,
then open a terminal and run the following magical command:
sudo port install ncdc
Ncdc is available in L<Homebrew|http://braumeister.org/formula/ncdc>.
=head2 OpenIndiana
@ -130,9 +117,9 @@ First install some required packages (as root):
Then, fetch the ncdc source tarball, extract and build as follows:
wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz
tar -xf ncdc-1.19.1.tar.gz
cd ncdc-1.19.1
wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz
tar -xf ncdc-1.20.tar.gz
cd ncdc-1.20
export PATH="$PATH:/usr/perl5/5.10.0/bin"
./configure --prefix=/usr LDFLAGS='-L/usr/gnu/lib -R/usr/gnu/lib'
make
@ -148,41 +135,24 @@ necessary in order for C<./configure> and C<make> to find C<pod2man>.
Get the package from L<PackMan|http://packman.links2linux.org/package/ncdc>:
Select your openSUSE release and hit the "1 click install" button.
Alternatively, I also have packages on the L<Open Build
Service|http://software.opensuse.org/download/package?project=home:yorhel&package=ncdc>,
but I suspect their quality isn't really on the same level as those on PackMan
because I am not an openSUSE developer. :-)
=head2 Ubuntu & Debian
The preferred way of installing ncdc on Ubuntu or Debian is to use the packages
provided on the L<Open Build
Service|http://software.opensuse.org/download/package?project=home:yorhel&package=ncdc>.
Select your distribution and follow the instructions. The listed commands
should be run with superuser privileges; To get a root shell on Ubuntu type
C<sudo -s>. When installing the package, you may get a warning about how the
package is not authenticated or verified, this can be safely ignored. Just
confirm the installation when prompted whether it should continue or not.
The preferred way of installing ncdc on Ubuntu or Debian is to use the static
binaries provided above.
You only have to follow the above steps once, newer versions will be installed
automatically with regular system updates.
=head3 Building from source
In the event that there is no up-to-date package available for your version,
you can also try to compile ncdc from source. To do so, first install the
required libraries:
Alternatively, you can also try to compile ncdc from source. To do so, first
install the required libraries:
sudo apt-get install libbz2-dev libsqlite3-dev libncurses5-dev\
libncursesw5-dev libglib2.0-dev libgnutls-dev zlib1g-dev
Then run the following commands to download and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz
tar -xf ncdc-1.19.1.tar.gz
cd ncdc-1.19.1
wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz
tar -xf ncdc-1.20.tar.gz
cd ncdc-1.20
./configure --prefix=/usr
make
sudo make install
@ -224,8 +194,8 @@ website|http://cygwin.com/> and use it to install the following packages:
Then open a Cygwin terminal and run the following commands to download,
compile, and install ncdc:
wget https://dev.yorhel.nl/download/ncdc-1.19.1.tar.gz
tar -xf ncdc-1.19.1.tar.gz
cd ncdc-1.19.1
wget https://dev.yorhel.nl/download/ncdc-1.20.tar.gz
tar -xf ncdc-1.20.tar.gz
cd ncdc-1.20
./configure --prefix=/usr
make install