- vi /etc/profile ->
export FORCE_UNSAFE_CONFIGURE=1
-> source /etc/profile
- 下载安装
wget http://ftp.gnu.org/gnu/tar/tar-latest.tar.gz
tar -zxvf tar-latest.tar.gz
cd tar-*
mkdir build
cd build
../configure --prefix=/usr/local/tar
make
make install
ln -s -f /usr/local/tar/bin/tar /usr/bin/
tar (GNU tar) 1.31
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.