Tag Archives: linux

human readable form linux disk space check

Was just trying to check for disk usage etc.
i.e. if I want to check how much space I am using in ~

du -sh ~/

would return

11G /home/user_name/

If I want to check the total disk space:

df -h

would give me what I want

Filesystem Size Used Avail Use% Mounted on
/dev/ 241G 125G 104G 55% /


Installing scipy on redhat with error “no lapack/blas resources found”

Update Feb21 2016:
For centos: 
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/lapack-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/blas-devel-3.2.1-4.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/texinfo-tex-4.13a-8.el6.x86_64.rpm
wget http://mirror.centos.org/centos/6/os/x86_64/Packages/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm
sudo yum localinstall *.rpm

sudo pip install scipy
This is copied from http://stackoverflow.com/questions/24708213/install-r-on-redhat-errors-on-dependencies-that-dont-exist

For Ubuntu 14.04:
sudo apt-get install gfortran
sudo apt-get install libblas-dev liblapack-dev