Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-29-2011, 04:08 PM
|
#1
|
|
LQ Newbie
Registered: Jul 2011
Posts: 2
Rep: 
|
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.
|
|
|
|
08-29-2011, 04:16 PM
|
#2
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
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?
|
|
|
1 members found this post helpful.
|
08-30-2011, 06:14 AM
|
#3
|
|
LQ Newbie
Registered: Jul 2011
Posts: 2
Original Poster
Rep: 
|
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
|
|
|
|
08-30-2011, 06:46 AM
|
#4
|
|
Member
Registered: Mar 2011
Location: Gold Coast, Australia
Distribution: saline, centos, freeBSD, slackware
Posts: 175
Rep:
|
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
Last edited by 0men; 08-30-2011 at 06:47 AM.
|
|
|
|
08-30-2011, 06:52 AM
|
#5
|
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 42,707
|
Quote:
Originally Posted by 0men
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?
|
|
|
|
08-31-2011, 05:11 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,620
|
# 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.
.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:30 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|