Rev 5 | Rev 11 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5 | Rev 6 | ||
---|---|---|---|
Line 37... | Line 37... | ||
37 | # - php7.0-gmp (used by IPv6 pattern generator) |
37 | # - php7.0-gmp (used by IPv6 pattern generator) |
38 | # - netcat (used by the whois-ping maintainance program) |
38 | # - netcat (used by the whois-ping maintainance program) |
39 | # - php7.0-sqlite3 (used by the whois-ping maintainance program) |
39 | # - php7.0-sqlite3 (used by the whois-ping maintainance program) |
40 | # |
40 | # |
41 | # TODO: how can be avoid the "php7.0" name? are there generic package names? |
41 | # TODO: how can be avoid the "php7.0" name? are there generic package names? |
42 | # TODO: check if aptitude is installed. otherwise apt-get. How to make it fit to most distros? |
42 | # TODO: How to make the installation of the packages fit to most distros? |
43 | 43 | ||
44 | aptitude update |
44 | apt-get update |
45 | aptitude install perl libwww-perl libnet-libidn-perl curl lynx-cur libnet-ip-perl libnet-dns-perl libmath-bigint-gmp-perl php7.0-cli php7.0-gmp netcat php7.0-sqlite3 |
45 | apt-get install perl libwww-perl libnet-libidn-perl curl lynx-cur libnet-ip-perl libnet-dns-perl libmath-bigint-gmp-perl php7.0-cli php7.0-gmp netcat php7.0-sqlite3 |
46 | 46 | ||
47 | # --- STEP 2: "Install" symlinks |
47 | # --- STEP 2: "Install" symlinks |
48 | 48 | ||
49 | if [ -L /usr/bin/gwhois ]; then |
49 | if [ -L /usr/bin/gwhois ]; then |
50 | rm /usr/bin/gwhois |
50 | rm /usr/bin/gwhois |