Whysoserious? Unserious re-packaging deb

Source: Internet
Author: User
Whysoserious? Uncertain re-package deb-the Linux Release Technology-Debian information. The following is a detailed description. A good package of Debian package is actually a big project. In addition to the considerations that can be integrated into a book, it is a great challenge to set the dependency and description file of the package. Therefore, a Debian package with a poor package may cause system chaos and even cause unnecessary extra burden on the system. This is why Debian Maintainer is so highly respected.

However, sometimes we do not need to maintain a project, nor upload a package to a serious Debian official repos. We just want to compress a deb for our own purposes simply by spoof or greedy for convenience. We may not need to worry too much about the details, because we may simply split the existing package, add several custom files, and then package back. In general, you can do this:

# Create a new folder
Mkdir mydeb
# Unbind the package's DEBIAN control file to the new folder's DEBIAN
Dpkg-deb-e mydeb. deb mydeb/DEBIAN
# Unbind the package file to a new folder
Dpkg-deb-x mydev. deb mydeb
# Repackaging after processing or spoof is completed
Dpkg-deb-B mydeb mydeb_new.deb

In this way, deb modification and packaging are not formal, and the quality is also unqualified. However, since the package is only used privately, Why so serious?
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.