1、git地址
https://gitee.com/mirrors/util-linux/
2、进入源码目录,执行./autogen.sh
此时报错如下:
root@hg-pc:/home/hg/Desktop/util-linux-master# ./autogen.sh
ERROR: You must have autopoint installed to generate the util-linux build system.
The autopoint command is part of the GNU gettext package.
ERROR: You must have bison installed to build the util-linux.
ERROR: You must have libtool-2 installed to generate the util-linux build system.
解决
1、 apt install autopoint
2、apt install bison
然后继续即可。。