forked from shoosen/ibid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
58 lines (49 loc) · 2.05 KB
/
INSTALL
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
Installation Instructions for Debian/Ubuntu Systems:
Supported releases:
* Ubuntu hardy (with hardy-backports)
* Ubuntu jaunty
* Ubuntu karmic
* Ubuntu lucid (in the repositories)
* Ubuntu maverick (in the repositories)
* Debian lenny
* Debian squeeze (in the repositories)
* but it should work on any unixy system where you can get the required Python
modules.
If Ibid isn't available for your version of Ubuntu, add the PPA to your APT sources:
# echo deb http://ppa.launchpad.net/ibid-core/ppa/ubuntu `lsb_release -cs` main > /etc/apt/sources.list.d/ibid.list
# apt-key adv --recv-keys --keyserver keyserver.ubuntu.com c2d0f8531bba37930c0d85e3d59f9e8dfd1c44ba
# aptitude update
Debian: Add the Ibid repo to your APT sources:
# echo deb http://ibid.omnia.za.net/debian lenny-backports main > /etc/apt/sources.list.d/ibid.list
# apt-key adv --recv-keys --keyserver subkeys.pgp.net --recv-keys 5EB879CE
# aptitude update
Install required modules:
# aptitude install python3-beautifulsoup4 \
python3-dateutil python3-dnspython python3-feedparser \
python3-html2text python3-html5lib python3-imdbpy \
python3-jinja python3-silc python3-setuptools \
python3-simplejson python3-soappy python3-sqlalchemy \
python3-twisted python3-wokkel
Install into a virtualenv or your system:
$ ./setup.py install --no-dependencies
*Or* to get setup.py to find the dependencies for you:
$ ./setup.py install
Set up your bot:
$ mkdir bothome
$ cd bothome
$ ibid-setup
Run your bot:
$ cd bothome
$ twistd -n ibid
Other things we recommend:
* Install a dictd on localhost for the dict plugin (debian/ubuntu package "dictd")
Also, the python dict client library ("python-dictclient")
* Install GNU units for the unit conversion plugin ("units")
* Install bc for "bc" calculations ("bc")
* Install ipcalc ("ipcalc")
* Install and configure apt-file ("apt-file")
* Install tracepath ("iputils-tracepath")
* Install fortune ("fortunes-min")
* Install man ("man-db")
* Install aalib and caca for ASCII Art Image rendering ("python-aalib", "caca-utils")
* Install pyfiglet for ASCII Art text ("python-pyfiglet")