1) Make a new directory at root and cd to it
Code: Select all
root@hmibsc:~# mkdir tar
root@hmibsc:~# cd tar
root@hmibsc:~/tar#
Code: Select all
root@hmibsc:~/tar# curl -JLO ftp.gnu.org/gnu/tar/tar-1.31.tar.xz
Code: Select all
tar -xf tar-1.31.tar.xz
Code: Select all
root@hmibsc:~/tar# cd tar-1.31
Code: Select all
root@hmibsc:~/tar/tar-1.31# export FORCE_UNSAFE_CONFIGURE=1
Code: Select all
root@hmibsc:~/tar/tar-1.31# ./configure
Code: Select all
root@hmibsc:~/tar/tar-1.31# make
Code: Select all
root@hmibsc:~/tar/tar-1.31# make install