Created
September 23, 2020 13:02
-
-
Save rometsch/1e4490b77f3efcf702d70b9914c84769 to your computer and use it in GitHub Desktop.
ncdu - clone, compile, install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
TMPDIR=$(mktemp -d) | |
cd $TMPDIR | |
git clone git://g.blicky.net/ncdu.git/ | |
cd ncdu | |
autoreconf -i | |
./configure --prefix=$HOME/.local | |
make | |
make install | |
cd ~ | |
rm -rf $TMPDIR |
npm install
Thanks for the suggestion. Unfortunately node.js is not available on the computers I usually use so I really need to compile from source.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
npm install