Last active
August 7, 2017 19:26
-
-
Save linse/658d1223dc3af18597ed3a8cccfce4c4 to your computer and use it in GitHub Desktop.
Make a debian package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4198 mkdir packaging | |
4199 cd packaging | |
4202 sudo apt-get install dh-make | |
4204 sudo apt-get install debmake | |
4205 mkdir hello | |
4206 vim hello.c | |
4239 gcc -o hello hello.c | |
4246 ./hello | |
4252 vim Makefile | |
4253 make | |
4257 vim Makefile | |
4258 vim hello.c | |
4260 cd .. | |
4262 ls | |
4263 tar czfv hello.tgz hello | |
4264 bzr dh-make hello 6.6 hello-6.6.tgz | |
4265 sudo apt-get install dh-make | |
4266 dpkg -L dh-make | |
4267 /usr/bin/dh_make hello 6.6 hello.tgz | |
4268 ls | |
4269 cd hello | |
4270 /usr/bin/dh_make | |
4271 cd .. | |
4272 mv hello hello_6.6 | |
4273 cd hello_6.6 | |
4274 /usr/bin/dh_make | |
4275 cd .. | |
4276 mv hello_6.6 hello-6.6 | |
4277 cd hello-6.6 | |
4278 rehash | |
4279 dh_make | |
4280 ls | |
4281 cd .. | |
4282 ls | |
4283 mv hello.tgz hello_6.6.orig.tar.gz | |
4285 ls | |
4286 cd hello-6.6 | |
4287 dpkg-buildpackage | |
4288 ls | |
4289 dh_make | |
4290 ls | |
4291 ls debian | |
4292 vim debian/manpage.1.ex | |
4293 mv debian/manpage.1.ex debian/manpage.1 | |
4294 vim debian/control | |
4295 rm debian/*.ex | |
4296 rm debian/README.* | |
4297 ls debian | |
4298 rm debian/*.EX | |
4299 vim debian/rules | |
4300 ls | |
4301 dpkg-buildpackage | |
4302 dpkg-buildpackage -us -uc | |
4306 dpkg-source --commit | |
4307 dpkg-buildpackage -us -uc | |
4308 vim Makefile | |
4309 dpkg-source --commit | |
4310 dpkg-buildpackage -us -uc | |
4311 lintian | |
4312 apt-get install lintian | |
4313 sudo apt-get install lintian | |
4314 lintian | |
4315 ls | |
4316 vim Makefile | |
4317 dpkg-source --commit | |
4318 dpkg-buildpackage -us -uc | |
4319 vim Makefile | |
4320 dpkg-source --commit | |
4321 dpkg-buildpackage -us -uc | |
4322 vim Makefile | |
4323 ls debian | |
4324 ls debian/hello | |
4325 vim Makefile | |
4326 vim debian/dirs | |
4327 vim Makefile | |
4328 vim debian/dirs | |
4329 dpkg-source --commit | |
4330 dpkg-buildpackage -us -uc | |
4331 lintian | |
4333 ls .. | |
4334 cd .. | |
4335 dpkg -i hello_6.6-1_amd64.deb | |
4336 sudo dpkg -i hello_6.6-1_amd64.deb | |
4337 rehash | |
4338 hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment