tar-split command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
tar-split: command not found
or when using sudo you get the following error message
sudo: tar-split: command not found
Solutions to tar-split: command not found
How To Fix tar-split: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu tar-split is provided by tar-split package.
tar-split is:
Pristinely disassembling a tar archive, and stashing needed raw bytes and offsets to reassemble a validating original archive.
Eventually this should detect TARs that this is not possible with.
For example stored sparse files that have “holes” in them, will be read as a contiguous file, though the archive contents may be recorded in sparse format. Therefore when adding the file payload to a reassembled tar, to achieve identical output, the file payload would need be precisely re-sparsified. This is not something I seek to fix immediately, but would rather have an alert that precise reassembly is not possible. (see more http://www.gnu.org/software/tar/manual/html_node/Sparse-Formats.html)
Other caveat, while tar archives support having multiple file entries for the same path, we will not support this feature. If there are more than one entries with the same path, expect an err (like ErrDuplicatePath) or a resulting tar stream that does not validate your original checksum/signature.
To fix this problem, we can install more using the command below.
sudo apt-get -y install tar-split
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install tar-split.
sudo apt -y install tar-split
Or if you have aptitude installed you can use the following command.
sudo aptitude install tar-split
Summary
In this tutorial we learn how to fix tar-split command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.