I use a tool called YUMI to create a USB boot device.
Its Debian package and its source can be downloaded from http://www.pendrivelinux.com/yumi-multiboot-usb-creator/.
I needed to change a file in source code to make the program fits my needs but now I don't how to compile it and install it afterwards.
I tried with dpkg
but with no experience and it didn't work.
So, is there an easy way to compile and install a user-modified source code?
Best Answer
The easy way to compile a package from source is with
dpkg-buildpackage
. Make sure you havebuild-essential
installed. Andfakeroot
as well. Then:debian/
subdirectory, containingdebian/control
anddebian/rules
(and probably more stuff, too).dpkg-checkbuilddeps
. Install any missing dependencies.debian/changelog
to add a new changelog entry, with a new version. Otherwise apt will be annoyed. Alternatively, installdevscripts
and usedch -l
.dpkg-buildpackage -rfakeroot -b -uc
to build the binary package only,dpkg-buildpackage -rfakeroot -us -uc
to build binary and source packages..deb
files in the parent directory, ready to be installed withdpkg -i