Edit and create deb package
- Unpack the Deb with the following line
mkdir temp; dpkg-deb –extract mypack.deb temp
What is being done to the left of the, is to create a directory
where temporary unpacking the deb. On the right, is specified
that unpacking the deb in the directory you created earlier.
- Now extracting control package temporary / DEBIAN with the following line:
dpkg-deb –control mypack.deb temp/DEBIAN
-
Now edit the temporary file / DEBIAN / control changes fights that we want.
-
The repackaging. Deb with the following line:
dpkg –build temp; get your new pack.deb
- Now we can install our new package with the command
sudo dpkg -i mypack.deb