I want to check what licenses all the packages on my system is running under.

It seems like this information is located in /usr/share/doc/package/copyright

However this file seems like it does not have any standard format, I've been going through this manually to record the licenses. is there another way to get this information, through something like dpkg-query?

link|improve this question

Why do you need this? – Zoredache Nov 23 '11 at 19:28
1  
Package licensing is far to complex for a simple answer single per-package answer. Some packages, are covered by many licenses, some use non-standard licenses. Do check out debian.org/legal/licenses – Zoredache Nov 23 '11 at 19:33
feedback

closed as off topic by DJ Pon3, Zoredache, Iain, MDMarra, voretaq7 Dec 7 '11 at 21:10

Questions on Server Fault are expected to generally relate to servers, networking, or desktop infrastructure, within the scope defined in the faq.

1 Answer

up vote 2 down vote accepted

The answer to this question suggests that automatically pulling the license info out of a single .deb package is non-trivial.

I suspect there is no easy way to do what you want.

link|improve this answer
Fair enough, just wanted to see if there was a easy way out :). Thanks – Pratik Amin Nov 24 '11 at 3:57
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.