Fixing a bug or experimenting with a program often requires going back to the source. Compiling the program yourself from a tarball usually means you lose the benefits of your package system, such as dependency tracking. Fortunately, Debian and Ubuntu include mechanisms to let you compile packages yourself without straying too far from the world of your package manager. It's actually really easy, because the repositories contain information about where to get source files and how to compile them. (I've tried these instructions on Ubuntu.)
- Install compilers and other dev tools:
sudo apt-get install build-essential devscripts fakeroot
- Install the build-time dependencies for the package:
sudo apt-get build-dep FOO
- Download the source for your package (to the current directory):
apt-get source foo
At this point, you can make whatever modifications you wish to the source. - Compile the package:
cd FOO-6; debuild -us -uc
To compile with debugging information, useexport DEB_BUILD_OPTIONS="debug nostrip noopt"
- You now have a shiny new .deb file. Install it with
dpkg --install FOO_6-1_i386.deb
Congratulations!
AI as well as precisely how Chek. https://imgur.com/a/pXJt6n2 https://imgur.com/a/3jjDA5x https://imgur.com/a/mwfTn9F https://imgur.com/a/ti7vwxY https://imgur.com/a/eDqGsIB https://imgur.com/a/hpnrSFx https://imgur.com/a/97o1QWX
ReplyDelete