Possible Duplicate:
create a .deb Package from scripts or binaries

I've made a bash script and stored it in /usr/local/bin. In the future, I'd like to get this bash script in /usr/local/bin again by just installing a .deb file. How can I get this done?

  • pastebin the bash script and i'll consider doing a walkthrough packaging it and upping it to ppa. just a thought no promises Aug 1, 2012 at 20:15
  • Sounds awesome. I don't think that a PPA is really necessary though, as it's just a really simple script. Updated the question to include a link to the bash script. Aug 1, 2012 at 20:43
  • Looks like the duplicate answers my question. Thanks! Aug 1, 2012 at 20:57

1 Answer 1


You would need to make a package from scratch using the packaging guide to create the package. You'd have to make sure the package is compliant with Lintian as well, all this is outlined in that guide. Either that, or have someone package it and put it in a PPA for you.

Not the answer you're looking for? Browse other questions tagged .