Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the dpkg-split command of linux to split the package

Shulou Source: shulou.com Published: 2022-06-02 18:59:54 10月28日 Update

Editor to share with you the use of linux's dpkg-split command to split the software package, I hope you will learn a lot after reading this article, let's discuss it together!

The dpkg-split command is used to split large packages in Debian linux into small packages, and it can also merge split files.

The dpkg-split command can only be used on Debian systems because it needs to call the dpkg-deb command to analyze the composition of the package.

Syntax format: dpkg-split [parameters] [software package]

Common parameters:

-S sets the maximum size of each small file after segmentation (in bytes)-s partition package-j merges the various chunks together-I displays information about the chunked file-l lists mismatched parts-dscard ignores mismatched parts

Reference example

Split the package:

[root@linuxcool] # dpkg-split-s gcc-4.5.deb

Split the file in units of 2MB:

[root@linuxcool] # dpkg-split-S 2048-s gcc-4.5.deb

Merge GCC packages:

[root@linuxcool] # dpkg-split-j gcc-4.5.* has finished reading this article. I believe you have some understanding of using linux's dpkg-split command to split the software package. You want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

Tags: Software software packages commands files units parameters articles sections maximum information bytes done examples dimensions commonly used more formats knowledge systems industry Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MySQL Docker vpn Shulou Tech Info