Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm writing an application that relies on a closed-source (but free-as-in-beer available) library. I'm currently making a Debian repository to host it, and need a way to depend on that library, so I want to make a package that downloads the archive from a third party and installs it. I'm not sure how to do the install such that it will uninstall nicely. Any ideas for how to do this such that it integrates nicely into apt?

share|improve this question
1  
As long as you are allowed to distribute the free-as-in beer binaries, there is no problem - just put the binaries in the repository. Debian already does this for some things in the non-free section. –  jw013 Sep 21 '12 at 21:13
    
I'm not sure if I'm allowed to redistribute though (I don't think so). However, anyone can download the binary from their own computer. I think this is similar to what happens with adobe products... –  Robert Mason Sep 21 '12 at 21:22
6  
In that case it sounds like a use case for the "installer-package" paradigm - like ttf-mscorefonts-installer. You'll need to make a package whose install scripts fetch and install the non-free binaries in question (along with presenting the necessary click-wrap license agreement), and declare a dependency on that. –  jw013 Sep 21 '12 at 21:37
2  
flashplugin-nonfree is another example of a package that does this. –  jordanm Sep 21 '12 at 23:56
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.