Linux Command
dpkg-split
Split large software packages into small packages in Debian Linux
Supplementary instructions
dpkg-split command is used to split large software packages in Debian Linux into small software packages. It can also merge the divided files.
grammar
dpkg-split(options)(parameters)
Options
-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.
Parameters
Package: Specify the ".deb" package that needs to be split.
Example
Split foo.deb into N files of size 460KB:
dpkg-split -s foo.deb
Merge split files:
dpkg-split -j "foo*"


