源码安装apt-get

下载好apt-get的源码包后用bunzip2或者带-d选项的bzip2命令解压压缩包

1
2
bunzip2 apt-0.5.15lorg3.tar.bz2
tar -xvf apt-0.5.15lorg3.tar

遇到问题

1
configure: error: Can't find libbz2 library

bzip2-libs is the equivalent package to the Debian/Ubuntu libbz2

1
2
3
4
5
cat >>confdefs.h <<_ACEOF
#define RPM_VERSION_RAW "$RPM_VERSION_RAW"
_ACEOF

echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5

以上不懂,弃

Donate comment here