How do I install tar 1.20?

6,109

Solution 1

Hardy, the long term version from 2008 has 1.19. I know it is not the same as 1.20 but I guess it is the closest you can get using canonicals blessed bits. Try to download the three files from the right side of this page: http://packages.ubuntu.com/hardy/tar and use dpkg-buildpackage to make a package suitable for your distribution. After that, you need to force the installation with dpkg -f -i because you're probably downgrading.

I am left wondering why would you do such a thing. Is 1.22 giving you a hard time?

Solution 2

If it is not in the repositories and you can't find any PPA for it then you'll have to build from source.

You can get the source here.

Share:
6,109

Related videos on Youtube

Albus Dumbledore
Author by

Albus Dumbledore

My name is Svetlin Ankov, I am 23, and I am a student at the University of Sofia. For most of my time I do programming stuff, but I like math, too, especially if it’s got a more applied nature. I love jazz music and action-packed thrilling books, where the good guys are noble and able, but sound self-deprecating, and always think coolly and clearly. Most of all, however, I like video games with compelling atmosphere, innovative design and great eye for detail. I am best at Java, but I also have experience with C++, Python, Ruby, Visual Basic, Pascal, ActionScript and PHP. I have some idea of functional programming, too, as I’ve done some good amount of projects in Matlab and Mathematica. I prefer simpler code, but I am not too scared to go deep, if it’s the only option. My love for books and mobile devices has leaded me to making my own ebook reader: The AlbiteREADER. One can find free ebooks there, too. It’s a big thing for me, for I’ve been making the app for over four months. As far as math is concerned, I don’t like it raw, but prefer it in connection with other sciences, i.e. numerical analysis, discreet math, statistics, biomathematics, etc. I’ve done some good amount of math projects with Matlab and Mathematica. I’ve also had the chance to teach biomath as an assistant, i.e. I was responsible for the demonstrational part of the subject. In relation with that, I can say, I wrote some good quantity of Mathematica code and some lesser amount of mathematical stuff.

Updated on September 18, 2022

Comments

  • Albus Dumbledore
    Albus Dumbledore over 1 year

    I have tar 1.22 installed and I need tar 1.20. I tried:

    sudo apt-get install tar=1.20
    

    but I got:

    Version '1.20' for 'tar' was not found

    When I looked more closely it turned out that the current version is not just 1.22, but 1.22-2ubuntu1. So I tried:

    sudo apt-get install tar=1.20-2ubuntu1
    

    But still got the that error message.

    Any idea how do I install tar 1.20 on my Ubuntu?