LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me plz (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-plz-900113/)

kevin_n 08-29-2011 04:08 PM

Help me plz
 
hello guys...
im newbie to Linux and i need to update my tar.
when i type this command : tar --version
i see that the version is 1.15 but i need the tar version 1.26 and also i don't know how i should install it...
please help me ,i really need this.
my Linux is Centos 5.6 x64_86

thanks in advance.

acid_kewpie 08-29-2011 04:16 PM

please use decent thread titles in future. "Help me plz" is of no use whatsoever.

CentOS 5 ships wth tar 1.15, if you want a different version you'd need to compile it yourself. Any significant issues from the 1.15 version will have been backported into it.

http://www.gnu.org/software/tar/

I doubt this is what you actually want, why would you care about the version of tar you're using?

kevin_n 08-30-2011 06:14 AM

how should i compile?
what code should use to compile?
i need better guidelines not a link...
look i wanna install NPM on my cent os 5.6 x64 and due to developer sayings i have to update my tar to the newer version...
would u mind plz help me step by step?
regards

0men 08-30-2011 06:46 AM

http://www.gnu.org/software/tar/#downloading

Go to that link and download tar-1.25.tar.gz
It should download to your 'downloads' folder or where ever you have it configured to download.

Once you have that you do this

tar -xvzf tar-1.26.tar.gz

then you want to cd into the directory the tar ball will create . (should be tar-1.26) it will be a folder

once inside that folder run (as root)

./configure
make
make install

and your all set

acid_kewpie 08-30-2011 06:52 AM

Quote:

Originally Posted by 0men (Post 4456955)
http://www.gnu.org/software/tar/#downloading

Go to that link and download tar-1.25.tar.gz
It should download to your 'downloads' folder or where ever you have it configured to download.

Once you have that you do this

tar -xvzf tar-1.26.tar.gz

then you want to cd into the directory the tar ball will create . (should be tar-1.26) it will be a folder

once inside that folder run (as root)

./configure
make
make install

and your all set

what about all the stuff to install gcc?

knudfl 08-31-2011 05:11 AM

# 1
Quote:

... but I need the tar version 1.26
Why do you think, that 1.26 is required ?
Nearly all stable Linux OS uses version 1.2x to 1.25.

( Slackware 13.37 has 1.26 )
Debian Sid unstable and Fedora 16 come with tar-1.26.

.

acid_kewpie 08-31-2011 05:18 AM

well the reasons appear genuine: http://davestevens.us/articles/setti...action-revised https://github.com/isaacs/npm/issues/1286 you wouldn't expect issues with tar these days, but it does seem fair enough.


All times are GMT -5. The time now is 02:01 AM.