This question already has an answer here:
If I want to make minor changes to the source code of a Debian package, how do I go about downloading, incrementing the package version, building the (modified) source, and installing it on my computer?
|
This question already has an answer here: If I want to make minor changes to the source code of a Debian package, how do I go about downloading, incrementing the package version, building the (modified) source, and installing it on my computer? |
|||
marked as duplicate by chaos, Paranoid Panda, A.B., David Foerster, Eric Carvalho May 19 '15 at 17:26This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question. |
|||
|
There's basically two ways to do it, the first one is the classic form, you'll get the source with: Classic
Then you'll be able to modify it:
Rebuild it:
And install it:
New Ubuntu ApproachThe new way (the Ubuntu way) is by using bzr branches, you'll get the code by using:
You can also get the code using:
Then you'll be able to edit it:
Rebuild it:
And install it:
I recommend that you check the Ubuntu packaging guide out to know the details. Also you might enconter problems if the package depends of others |
|||||||||||||||||||||
|
dpkg-buildpackageto create a.debfile.” That sounds a lot like instructions to (re-)build Debian packages to me. – David Foerster May 19 '15 at 7:32