无root权限如何安装bzip2-devel?

Linux 3.10.0-693.el7.x86_64 x86_64
CentOS Linux release 7.4.1708 (Core)
我下载了bzip2-devel的RPM包。


```shell

rpm2cpio bzip2-devel-1.0.6-13.el7.x86_64.rpm|cpio -idvm
提示:
cpio: ./usr/include/bzlib.h not created: newer or same age version exists
./usr/include/bzlib.h
cpio: ./usr/lib64/libbz2.so not created: newer or same age version exists
./usr/lib64/libbz2.so
./usr/share/doc/bzip2-devel-1.0.6
cpio: ./usr/share/doc/bzip2-devel-1.0.6/manual.html not created: newer or same age version exists
./usr/share/doc/bzip2-devel-1.0.6/manual.html
cpio: ./usr/share/doc/bzip2-devel-1.0.6/manual.pdf not created: newer or same age version exists
./usr/share/doc/bzip2-devel-1.0.6/manual.pdf
766 blocks


因为我已经不是第一次这样安装了。
但是htslib的.configure仍然提示:configure: error: libbzip2 development files not found
我该如何安装?

rpm安装时指定安装到自己的$HOME就可以,增加的参数:
rpm -i –prefix=$HOME

复制代码 代码如下:
yum -y install bzip2-devel

checking for cURL support… yes checking if we should use cURL for url streams… no checking for cURL in default path… not found configure: error: Please reinstall the libcurl distribution – easy.h should be in/include/curl/

没有权限就是没权限呀,不然非root账号和root有什么区别?