Upgrade tar in HMI BSC

- Guides
- FAQ
- Quick Setup
Post Reply
Kah
Site Admin
Posts: 6
Joined: January 4th, 2020, 8:09 pm

Upgrade tar in HMI BSC

Post by Kah » January 4th, 2020, 9:13 pm

tar needs to be upgraded in order to upgrade Node.js

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#
2) Browse to http://ftp.gnu.org/gnu/tar/ and choose the latest version. At the console, type wget to download the version you want (download the xz file).

Code: Select all

root@hmibsc:~/tar# curl -JLO ftp.gnu.org/gnu/tar/tar-1.31.tar.xz
3) Extract the file:

Code: Select all

tar -xf tar-1.31.tar.xz
4) CD to the new directory

Code: Select all

root@hmibsc:~/tar# cd tar-1.31
5) Type in the following:

Code: Select all

root@hmibsc:~/tar/tar-1.31# export FORCE_UNSAFE_CONFIGURE=1
6) Type in the following:

Code: Select all

root@hmibsc:~/tar/tar-1.31# ./configure
7) Type in the following:

Code: Select all

root@hmibsc:~/tar/tar-1.31# make
8) Type in the following:

Code: Select all

root@hmibsc:~/tar/tar-1.31# make install
Reboot into your shiny new tar!

Post Reply