Forked from MrHassanMurtaza/install_ncdu_amazon_linux.sh
Created
February 16, 2021 18:58
-
-
Save eugenestarchenko/f630dee4537fd04bd95ebb8ef3d88627 to your computer and use it in GitHub Desktop.
Install ncdu on amazon linux 2
This file contains hidden or 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
#!/bin/bash | |
# install packages/dependencies for compilation | |
sudo yum -y install gcc make ncurses-devel | |
cd /tmp | |
# the latest version of ncdu is published here: http://dev.yorhel.nl/ncdu | |
# update the link below if necessary: | |
wget -nv http://dev.yorhel.nl/download/ncdu-1.10.tar.gz | |
tar xvzf ncdu-1.10.tar.gz | |
cd ncdu-1.10 | |
./configure --prefix=/usr | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment