{"id":689,"date":"2012-05-22T07:50:25","date_gmt":"2012-05-22T06:50:25","guid":{"rendered":"http:\/\/www.phillips321.co.uk\/?p=689"},"modified":"2012-05-22T07:50:25","modified_gmt":"2012-05-22T06:50:25","slug":"creating-a-debian-package-from-source-checkinstall","status":"publish","type":"post","link":"https:\/\/www.phillips321.co.uk\/2012\/05\/22\/creating-a-debian-package-from-source-checkinstall\/","title":{"rendered":"Creating a debian package from source &#8211; checkinstall"},"content":{"rendered":"<p>So on <a href=\"http:\/\/nmap.org\/6\/\" target=\"_blank\">21st May 2012 version 6 of nmap was released<\/a>. Only issue is that they dont seem to release a deb package for it.<\/p>\n<p>No big deal we&#8217;ll just have to build our own (tested on BT5r2 32+64bit)&#8230;<\/p>\n<div class=\"codecolorer-container bash vibrant\" style=\"overflow:auto;white-space:nowrap;width:100%;\"><table cellspacing=\"0\" cellpadding=\"0\"><tbody><tr><td class=\"line-numbers\"><div>1<br \/>2<br \/>3<br \/>4<br \/>5<br \/>6<br \/>7<br \/>8<br \/>9<br \/>10<br \/>11<br \/><\/div><\/td><td><div class=\"bash codecolorer\"><span class=\"kw3\">echo<\/span> <span class=\"st0\">&quot;deb http:\/\/security.ubuntu.com\/ubuntu lucid-security main&quot;<\/span> <span class=\"sy0\">&gt;&gt;<\/span> <span class=\"sy0\">\/<\/span>etc<span class=\"sy0\">\/<\/span>apt<span class=\"sy0\">\/<\/span>sources.list<br \/>\n<span class=\"kw2\">apt-get update<\/span><br \/>\n<span class=\"kw2\">apt-get upgrade<\/span><br \/>\n<span class=\"kw2\">apt-get install<\/span> libssl-dev checkinstall<br \/>\n<span class=\"kw2\">wget<\/span> http:<span class=\"sy0\">\/\/<\/span>nmap.org<span class=\"sy0\">\/<\/span>dist<span class=\"sy0\">\/<\/span>nmap-<span class=\"nu0\">6.00<\/span>.tar.bz2<br \/>\n<span class=\"kw2\">bzip2<\/span> <span class=\"re5\">-cd<\/span> nmap-<span class=\"nu0\">6.00<\/span>.tar.bz2 <span class=\"sy0\">|<\/span> <span class=\"kw2\">tar<\/span> xvf -<br \/>\n<span class=\"kw3\">cd<\/span> nmap-<span class=\"nu0\">6.00<\/span><br \/>\n.<span class=\"sy0\">\/<\/span>configure<br \/>\n<span class=\"kw2\">make<\/span><br \/>\ncheckinstall <span class=\"re5\">--install<\/span>=no<br \/>\n<span class=\"co0\">#Fill in the details as you desire and you're done<\/span><\/div><\/td><\/tr><\/tbody><\/table><\/div>\n<p>If you&#8217;re feeling particularly lazy I have built the packages and uploaded them here:<br \/>\n<a href=\"http:\/\/www.phillips321.co.uk\/downloads\/nmap_6.00-1_amd64.deb\" target=\"_blank\">nmap_6.00-1_amd64.deb<\/a><br \/>\n<a href=\"http:\/\/www.phillips321.co.uk\/downloads\/nmap_6.00-1_i386.deb\" target=\"_blank\">nmap_6.00-1_i386.deb<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So on 21st May 2012 version 6 of nmap was released. Only issue is that they dont seem to release a deb package for it. No big deal we&#8217;ll just have to build our own (tested on BT5r2 32+64bit)&#8230; 1234567891011echo &quot;deb http:\/\/security.ubuntu.com\/ubuntu lucid-security main&quot; &gt;&gt; \/etc\/apt\/sources.list apt-get update apt-get upgrade apt-get install libssl-dev checkinstall wget [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[259,260,262,261,258,263],"_links":{"self":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/689"}],"collection":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/comments?post=689"}],"version-history":[{"count":3,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/689\/revisions"}],"predecessor-version":[{"id":692,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/posts\/689\/revisions\/692"}],"wp:attachment":[{"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/media?parent=689"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/categories?post=689"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.phillips321.co.uk\/wp-json\/wp\/v2\/tags?post=689"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}