blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

compiling-bsd-tar-on-linux.md (872B)


      1 ---
      2 title: "Compiling BSD tar on Linux"
      3 date: 2018-11-09T12:09:00
      4 tags: ["Guides", "Linux", "Snippets", "Software"]
      5 ---
      6 
      7 While researching Arch Linux ARM for the ODroid HTPC project, I came across an issue with unpacking the image.
      8 
      9 It turns out that Arch Linux ARM requires `bsdtar` version 3.3 or above, and only versions 3.2.x are available in the [Debian and Ubuntu repositories](https://packages.debian.org/search?keywords=bsdtar).
     10 
     11 To resolve this, simply run the following:
     12 ```
     13 sudo apt-get install build-essential
     14 wget https://www.libarchive.org/downloads/libarchive-3.3.3.tar.gz
     15 tar -xzf libarchive-3.3.3.tar.gz
     16 cd libarchive-3.3.3/
     17 ./configure
     18 make
     19 sudo make install
     20 bsdtar --version
     21 ```
     22 
     23 Now you'll have the latest (at time of writing) version of <code>bsdtar</code> all working, all ready to proceed with the rest of the already convoluted installation guide.