Split large software packages into small packages in Debian Linux
dpkg-split command is used to split large software packages in Debian Linux into small software packages. It can also merge the divided files.
dpkg-split(options)(parameters)
-S: Set the maximum size of each small file after splitting (in bytes);
-s: split the software package;
-j<chunk file><chunk file>: merge each chunk together;
-I<chunked file>: displays information about chunked files;
-l: List unmatched parts;
-dscard<filename>: Ignore unmatched parts.
Package: Specify the ".deb" package that needs to be split.
Split foo.deb into N files of size 460KB:
dpkg-split -s foo.deb
Merge split files:
dpkg-split -j "foo*"