3

I'm using

python-magic

and I've installed it using

sudo apt-get remove libmagic-dev

In order to cite it properly, when i tried to find the authors online, i realized there are multiple libmagic libraries, e.g.

What is the source of the libmagic-dev found in the ubuntu apt-get repo?

alvas
  • 115,346
  • 109
  • 446
  • 738
  • 1
    Two of those three links are just to on-line man pages. For example, `linux.die.net` does not contain any public source code at all, just a very extensive collection of browsable manual pages. Unfortunately, the Sourceforge link seems to be to an unmaintained fork from 2000 tagged as "ALPHA". – tripleee Dec 17 '14 at 12:30

1 Answers1

7

python-magic depends on libmagic1

$ apt-cache show python-magic | grep ^Depend
Depends: python (>= 2.7.1-0ubuntu2), python (<< 2.8), libmagic1 (= 5.11-2ubuntu4)

According to package information, libmagic1 is from http://www.darwinsys.com/file/

$ apt-cache show libmagic1 | grep ^Homepage
Homepage: http://www.darwinsys.com/file/

If you follow the link, you can find the link that contains source codes: ftp://ftp.astron.com/pub/file/

falsetru
  • 357,413
  • 63
  • 732
  • 636