summaryrefslogtreecommitdiffstats
path: root/content/posts/compiling-bsd-tar-on-linux.md
diff options
context:
space:
mode:
authorbreadcat2020-06-19 12:23:15 +0100
committerbreadcat2020-06-19 12:23:15 +0100
commit70bb5d5a801428b0fb390abf79f19ffcf5e29c67 (patch)
treeb9fd7990156bd58bc38d58f91829c05933215102 /content/posts/compiling-bsd-tar-on-linux.md
parent0f9a31348079c0a061bcc194912e75cc1c07bc1f (diff)
downloadblog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.gz
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.tar.bz2
blog.minskio.co.uk-70bb5d5a801428b0fb390abf79f19ffcf5e29c67.zip
Simple migration of existing posts to hugo format
Diffstat (limited to 'content/posts/compiling-bsd-tar-on-linux.md')
-rw-r--r--content/posts/compiling-bsd-tar-on-linux.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/content/posts/compiling-bsd-tar-on-linux.md b/content/posts/compiling-bsd-tar-on-linux.md
new file mode 100644
index 0000000..dcba810
--- /dev/null
+++ b/content/posts/compiling-bsd-tar-on-linux.md
@@ -0,0 +1,23 @@
+---
+title: "Compiling BSD Tar on Linux"
+date: 2018-11-09T12:09:00
+tags: ["guides", "linux", "snippets", "software"]
+---
+
+While researching Arch Linux ARM for the ODroid HTPC project, I came across an issue with unpacking the image.
+
+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).
+
+To resolve this, simply run the following:
+```
+sudo apt-get install build-essential
+wget https://www.libarchive.org/downloads/libarchive-3.3.3.tar.gz
+tar -xzf libarchive-3.3.3.tar.gz
+cd libarchive-3.3.3/
+./configure
+make
+sudo make install
+bsdtar --version
+```
+
+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.