{"id":359,"date":"2008-04-26T10:43:38","date_gmt":"2008-04-26T17:43:38","guid":{"rendered":"http:\/\/ryanorser.com\/?p=359"},"modified":"2008-04-26T10:43:38","modified_gmt":"2008-04-26T17:43:38","slug":"how-to-create-a-debian-file-from-a-binary","status":"publish","type":"post","link":"https:\/\/ryanorser.com\/index.php\/2008\/04\/26\/how-to-create-a-debian-file-from-a-binary\/","title":{"rendered":"How to create a debian file from a binary"},"content":{"rendered":"<p>This is a simple walk through on how to create a debian file from a binary. I take no responsibility for anything that may or may not happen.<\/p>\n<p>Step 1: Download this files: <a title=\"Debian Packaging Tools\" href=\"http:\/\/www.kde-apps.org\/content\/show.php\/Debian%20Package%20Tools%20FE?content=49723\">Debian Packaging tools FE<br \/>\n<\/a><\/p>\n<p>Step 2: Create a folder called DEBIAN and put the folder into the working folder.<\/p>\n<p>Step 3: Create a file called control<\/p>\n<p>Step 4: Type in these into control:<\/p>\n<blockquote><p>Package:<br \/>\nVersion:<br \/>\nSection:<br \/>\nArchitecture:<br \/>\nEssential:<br \/>\nMaintainer:<br \/>\nDescription:<\/p><\/blockquote>\n<p>Step 5: Save the file in the DEBIAN folder.<\/p>\n<p>Step 6: Go back to the working folder.<\/p>\n<p>Step 7: Create folder usr, go into usr, create folders share, local, and bin.<\/p>\n<p>Step 8: Put the binary file in the bin folder.<\/p>\n<p>Step 9: Go to the share folder. Create application and icons folders.<\/p>\n<p>Step 10 in the application folder create a file called yourprogramsnamegoeshere.desktop (with your program name before the .desktop)<\/p>\n<p>Step 11: Type this in your .desktop file:<\/p>\n<blockquote><p>[Desktop Entry]<br \/>\nType=Application<br \/>\nVersion=<br \/>\nEncoding=UTF-8<br \/>\nName=<br \/>\nExec=\/usr\/bin\/yourprogramnamehere<br \/>\nComment=<br \/>\nIcon=\/usr\/share\/icons\/hicolor\/scalable\/apps\/<br \/>\nTerminal=false<br \/>\nCategories=Application;whereyourprogramshouldgoinapplicationsmenu;<br \/>\nStartupNotify=false<br \/>\nMimeType=<\/p><\/blockquote>\n<p>Step 12: Open the terminal: go to the folder holding your working folder. Then type in this command:<\/p>\n<blockquote><p><em>sudo dpkg -b workingfolder yourpackagesname.deb<\/em><\/p><\/blockquote>\n<p>When you get the .deb file you can install it by clicking on the yourpackagesnamehere.deb.<\/p>\n<p>There you have it, now you can produce debian files.<\/p>\n<p>Source: <a href=\"http:\/\/fullcirclemagazine.org\/issue-12\/\">Full Circle Magazine #12 how to create debian files pages 8 to 10.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a simple walk through on how to create a debian file from a binary. I take no responsibility for anything that may or may not happen. Step 1: Download this files: Debian Packaging tools FE Step 2: Create a folder called DEBIAN and put the folder into the working folder. Step 3: Create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts\/359"}],"collection":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":0,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"wp:attachment":[{"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ryanorser.com\/index.php\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}