It downloads source and patches, then what ? How can someone build the downloaded source just as the apt-get does manually ?
Asked
Active
Viewed 197 times
1 Answers
5
apt-get -b alone doesn't do anything, it has to be used in conjunction with two other options.
- Run
sudo apt-get build-dep <prog_name>to build dependencies for the program first - Run
sudo apt-get -b source <prog_name>to actually download the source code and build it.
In my test just now with nano text editor, after running sudo apt-get build-dep nano and then sudo apt-get -b source nano, apt actually ran make file to compile all *.c source files and then deb-buildpackage to actually build the deb package for installation.
Sergiy Kolodyazhnyy
- 105,154
- 20
- 279
- 497
-
oh thanks. I can't believe it only runs make file – Jan 28 '17 at 21:47