-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL.txt
69 lines (42 loc) · 1.4 KB
/
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Installation
============
Quick install:
--------------
Method 1
Use of easy_install / pip is recommended:
$ sudo easy_install netgrep
Method 2
If you don't want to use pip, you can extract the tarball from
https://github.com/csirtfoundry/netgrep/tarball/master and then:
$ sudo python setup.py install
Detailed install:
-----------------
If the above didn't work, here's what you can do.
You'll need:
adns (http://www.chiark.greenend.org.uk/~ian/adns/)
Python libraries:
BulkWhois
publicsuffix
adns-python
Here's some OS-specific ways to install the prerequisites and netgrep,
assuming a clean system:
* 1: Linux install with apt-get:
$ sudo apt-get install python-setuptools gcc python-dev python-adns
$ sudo easy_install netgrep
* 2: OS X install:
Using homebrew (or your choice of package manager):
Install Xcode (needed for building lots of Homebrew packages)
$ brew install adns
$ sudo easy_install pip
$ sudo pip install netgrep
* 3: Download and extract the tarball and then (with apt-get):
$ sudo apt-get install gcc python-dev python-setuptools python-adns
$ sudo python setup.py install
* Windows
Untested, and suspect it may not work. If you like to report how it did or
didn't work, please let me know.
Installation issues:
--------------------
When installing adns-python, you may receive:
adnsmodule.c:8:20: fatal error: Python.h: No such file or directory
sudo apt-get install python-dev