aboutsummaryrefslogtreecommitdiff
path: root/doc/chapters
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-09-07 13:47:14 +0000
committerng0 <ng0@infotropique.org>2017-09-07 13:47:14 +0000
commitd6fee7e016217462627b02ec7561c7696ed68402 (patch)
treea2424d02b97361fcecfb9bf99b2c0ae19ef79a3c /doc/chapters
parent618f08aa628c0d99b91ab0cf5fd3eac59871ae4c (diff)
downloadgnunet-d6fee7e016217462627b02ec7561c7696ed68402.tar.gz
gnunet-d6fee7e016217462627b02ec7561c7696ed68402.zip
doc: trim chapters/installation.texi to move some very old
instructions into an "archive" file.
Diffstat (limited to 'doc/chapters')
-rw-r--r--doc/chapters/installation.texi511
1 files changed, 4 insertions, 507 deletions
diff --git a/doc/chapters/installation.texi b/doc/chapters/installation.texi
index be458981f..edbad84de 100644
--- a/doc/chapters/installation.texi
+++ b/doc/chapters/installation.texi
@@ -1190,15 +1190,14 @@ and Postgres better resillience.
1190This chapter contains a collection of outdated, older installation guides. They 1190This chapter contains a collection of outdated, older installation guides. They
1191are mostly intended to serve as a starting point for writing up-to-date 1191are mostly intended to serve as a starting point for writing up-to-date
1192instructions and should not be expected to work for GNUnet 0.10.x. 1192instructions and should not be expected to work for GNUnet 0.10.x.
1193A set of older installation instructions can also be found in the
1194@file{doc/outdated-and-old-installation-instructions.txt} in the source
1195of GNUnet. This file covers old instructions which no longer receive
1196security updates or any kind of support.
1193 1197
1194 1198
1195@menu 1199@menu
1196* Installing GNUnet 0.10.1 on Ubuntu 14.04:: 1200* Installing GNUnet 0.10.1 on Ubuntu 14.04::
1197* Build instructions for FreeBSD 8::
1198* Basic installation for Mac OS X::
1199* Basic Installation for Fedora/PlanetLab nodes running Fedora 12::
1200* Basic Installation for Fedora/PlanetLab nodes running Fedora 8 .::
1201* Build instructions for Gentoo::
1202* Building GLPK for MinGW:: 1201* Building GLPK for MinGW::
1203* GUI build instructions for Ubuntu 12.04 using Subversion:: 1202* GUI build instructions for Ubuntu 12.04 using Subversion::
1204* Installation with gnunet-update:: 1203* Installation with gnunet-update::
@@ -1297,508 +1296,6 @@ After installing it, you need to create an empty configuration file:@
1297And finally you can start GNUnet with@ 1296And finally you can start GNUnet with@
1298@code{$ gnunet-arm -s} 1297@code{$ gnunet-arm -s}
1299 1298
1300
1301@node Build instructions for FreeBSD 8
1302@subsection Build instructions for FreeBSD 8
1303
1304To get GNUnet 0.9 to compile on FreeBSD (at least FreeBSD 8.0):@ in order to
1305install the library @code{libiconv}, at first change the directory to your
1306ports directory, e.g.@
1307@code{@
1308 $ cd /usr/ports/@
1309}@
1310 following that, go to the install file of @code{libiconv} and install it,@
1311@code{@
1312 $ cd converters/libiconv,@
1313 $ make install@
1314}
1315
1316after that, change the directory to where you will check out
1317@code{libextractor} and GNUnet, and install latest @code{libextractor},@
1318 first of all, checkout @code{libextractor}, e.g.@
1319@code{@
1320 $ svn co https://gnunet.org/svn/Extractor@
1321}@
1322 then change the directory into which it was checked out, e.g.@
1323@code{@
1324 $ cd Extractor@
1325}@
1326 before the installation, you should do following steps,@
1327
1328@example
1329$ ./bootstrap@
1330$ ./configure --with-ltdl-include=/usr/local/include \
1331 --with-ltdl-lib=/usr/local/lib@
1332@end example
1333
1334if these steps complete successfully, you can install the library,@
1335
1336@example
1337$ make install@
1338@end example
1339
1340to check out the GNUnet, you should do the similar steps as
1341@code{libextractor}, firstly, change back to starting directory, e.g.@
1342@code{@
1343 $ cd ../@
1344}@
1345 Set the following environmental variables:@
1346@code{@
1347 export CPPFLAGS="-I/usr/local/include"@
1348 export LDFLAGS="-L/usr/local/lib"@
1349}@
1350 next, checkout GNUnet using@
1351@code{@
1352 $ svn co https://gnunet.org/svn/gnunet@
1353}@
1354 then change directory into newly checked out directory,@
1355@code{@
1356 $ cd gnunet@
1357}@
1358 at last, start to install GNUnet,@
1359
1360@example
1361 $ ./bootstrap@
1362 $ ./configure --with-ltdl-include=/usr/local/include \
1363 --with-ltdl-lib=/usr/local/lib --with-extractor=/usr/local
1364
1365## NOTE: you may not need the --with-extractor option!@
1366
1367$ make install
1368@end example
1369
1370@node Basic installation for Mac OS X
1371@subsection Basic installation for Mac OS X
1372
1373This documentation may be outdated!
1374
1375This page is providing guidelines for users trying to install GNUnet on Mac OS
1376X.@ Mainly users trying to install GNUnet by building source code are the most
1377welcome readers.@ The steps below are tested on an Intel Architecture running
1378Mac OS X Tiger (10.4.11). Ideally they should work on other Mac boxes with
1379different configurations as all the configuration done for it is dependent on
1380@uref{http://www.macports.org/, MacPorts}
1381
1382For having GNUnet installed successfully, some dependencies should be firstly
1383resolved:
1384
1385@itemize @bullet
1386
1387@item
1388Install/Update your @uref{http://developer.apple.com/tools/xcode/, Xcode}
1389version 3.2.1 or later for Snow Leopard, 3.1.4 or later for Leopard, or 2.5 for
1390Tiger.
1391
1392@item
1393Download and install @uref{http://www.macports.org/, MacPorts}.@
1394Now you are ready for installing GNunet dependencies.
1395
1396@item
1397First, you'd better make sure that: /opt/local/bin and /opt/local/sbin are
1398available in your PATH. (For doing so, open a terminal and type:@
1399
1400@example
1401$ echo $PATH
1402@end example
1403
1404and examine the output of it). If the paths are not available in your
1405environment, you have to add them (You can add them by editing your .profile
1406file in your home directory, append them to the PATH line). Then type:
1407@example
1408$ source ~/.profile
1409@end example
1410
1411and re-examine the echo command output.
1412
1413@item
1414Use MacPorts to download and install the dependencies:@
1415The libraries are:
1416
1417@itemize @bullet
1418
1419@item
1420@uref{http://trac.macports.org/browser/trunk/dports/www/libmicrohttpd/Portfile, libmicrohttpd.}
1421
1422@item
1423@uref{http://trac.macports.org/browser/trunk/dports/devel/libgcrypt/Portfile, libgcrypt.}
1424
1425@item
1426@uref{http://trac.macports.org/browser/trunk/dports/net/curl/Portfile, libcurl.}
1427
1428@item
1429@uref{http://trac.macports.org/browser/trunk/dports/devel/libtool/Portfile, libltdl.}
1430
1431@item
1432@uref{http://trac.macports.org/browser/trunk/dports/databases/sqlite3/Portfile, SQlite.}
1433
1434@item
1435libunistring
1436
1437@item
1438glpk
1439
1440@end itemize
1441
1442The port command is as follows:@
1443@example
1444port install libmicrohttpd libgcrypt curl libtool sqlite3 linunistring glpk
1445@end example
1446One of the dependencies, the libextractor, should be explicitly installed,
1447since the version available from macports is outdated to work with GNUnet. To
1448install the latest libextractor:
1449@itemize @bullet
1450
1451
1452@item
1453Install the Subversion Client:@
1454For more information about Subversion visit:
1455@uref{http://subversion.tigris.org/, http://subversion.tigris.org/}
1456
1457@example
1458# port install subversion
1459@end example
1460
1461
1462@item
1463Use Subversion to download the latest Extractor:
1464@example
1465$ svn checkout https://gnunet.org/svn/Extractor
1466@end example
1467
1468
1469@item
1470Go to the installation directory of the Extractor, compile and install it:
1471@example
1472$ ./bootstrap
1473$ export CPPFLAGS="-I/opt/local/include"
1474$ export LDFLAGS="-L/opt/local/lib"
1475$ ./configure --prefix=/opt/local
1476$ make
1477# make install
1478@end example
1479
1480@end itemize
1481
1482
1483@item
1484Now, your system is ready to install GNunet. If you downloaded GNUnet by
1485checking it out from svn, you should start by running the bootstrap script.
1486Open a terminal pointing to the GNUnet directory and type:@
1487
1488@example
1489$ ./bootstrap
1490@end example
1491
1492
1493@item
1494Run the configure script:
1495@example
1496$ export CPPFLAGS="-I/opt/local/include"
1497$ export LDFLAGS="-L/opt/local/lib"
1498$ ./configure --prefix=/tmp/gnunet_build
1499@end example
1500
1501
1502GNUnet will be installed in the directory /tmp/gnunet_build (Of course that
1503installation path can be changed).@ The CPPFLAGS and LDFLAGS are mentioned in
1504order to inform the compiler and the linker to lookup headers and libraries in
1505/opt/local/include and /opt/local/lib.
1506
1507@item
1508Compile@
1509
1510@example
1511$ make
1512@end example
1513
1514
1515@item
1516Install GNUnet
1517@example
1518# make install
1519@end example
1520
1521@end itemize
1522
1523@node Basic Installation for Fedora/PlanetLab nodes running Fedora 12
1524@subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 12
1525
1526
1527@strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@
1528
1529GNUnet installation on Fedora 8/Planetlab nodes can be done as following:
1530
15311. Install the build tools to build GNUnet@
1532@example
1533sudo yum -y -t --nogpgcheck install gcc make autoconf gettext-devel \
1534texinfo subversion@
1535@end example
1536
15372. Install the GNUnet dependencies@
1538@example
1539sudo yum -y -t --nogpgcheck install libunistring-devel libunistring-devel \
1540libgcrypt-devel zlib-devel sqlite-devel postgresql-devel mysql-devel \
1541libgsf-devel libvorbis-devel@
1542@end example
1543
15443. Install outdated dependencies from source@
1545libtool@
1546@example
1547wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@
1548tar xvfz libtool-2.4.2.tar.gz@
1549cd libtool-2.4.2@
1550./configure@
1551sudo make install@
1552@end example
1553
1554glpk@
1555@example
1556wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@
1557tar xvfz glpk-4.47.tar.gz@
1558cd glpk-4.47@
1559./configure@
1560sudo make install@
1561@end example
1562
1563libcurl@
1564@example
1565wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@
1566tar xvfz curl-7.26.0.tar.gz@
1567cd curl-7.26.0@
1568./configure@
1569sudo make install@
1570@end example
1571
15724. Install libextractor@
1573@example
1574svn co https://gnunet.org/svn/libextractor@
1575cd libextractor@
1576libtoolize@
1577./bootstrap@
1578./configure@
1579sudo make install@
1580@end example
1581
15825. Install libmicrohttpd@
1583@example
1584svn co https://gnunet.org/svn/libmicrohttpd@
1585cd libmicrohttpd@
1586libtoolize@
1587./bootstrap@
1588./configure@
1589sudo make install@
1590@end example
1591
15926. Set GNUnet prefix and add to PATH@
1593@example
1594export GNUNET_PREFIX=@
1595export PATH=$PATH:$GNUNET_PREFIX/bin@
1596@end example
1597
15987. Install GNUnet from svn@
1599@example
1600export LD_LIBRARY_PATH=/usr/local/lib@
1601svn co https://gnunet.org/svn/gnunet@
1602cd gnunet@
1603libtoolize@
1604./bootstrap@
1605./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr \
1606 --with-mysql=/usr/lib/mysql --enable-logging=verbose@
1607make install@
1608@end example
1609
1610Done!
1611
1612@node Basic Installation for Fedora/PlanetLab nodes running Fedora 8 .
1613@subsection Basic Installation for Fedora/PlanetLab nodes running Fedora 8 .
1614@c %**end of header
1615
1616@strong{This documentation is outdated and not valid for GNUnet 0.10.0!}@
1617 GNUnet installation on Fedora 8/Planetlab nodes can be done as following:
1618
16191. Install the build tools to build GNUnet@
1620@example
1621sudo yum -y -t --nogpgcheck install gcc make automake autoconf gettext-devel \
1622texinfo zlib-devel subversion@
1623@end example
1624
16252. Install the GNUnet dependencies@
1626@example
1627sudo yum -y -t --nogpgcheck install gnutls-devel gnutls-devel libgcrypt-devel \
1628sqlite-devel postgresql-devel mysql-devel libgsf-devel libvorbis-devel \
1629libidn-devel
1630@end example
1631
16323. Install outdated dependencies from source@
1633 libtool@
1634@code{@
1635 wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@
1636 tar xvfz libtool-2.4.2.tar.gz@
1637 cd libtool-2.4.2@
1638 ./configure@
1639 sudo make install@
1640}
1641
1642libtool@
1643@code{@
1644 wget http://ftp.gnu.org/gnu/libtool/libtool-2.4.2.tar.gz@
1645 tar xvfz libtool-2.4.2.tar.gz@
1646 cd libtool-2.4.2@
1647 ./configure@
1648 sudo make install@
1649}
1650
1651glpk@
1652@code{@
1653 wget http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz@
1654 tar xvfz glpk-4.47.tar.gz@
1655 cd glpk-4.47@
1656 ./configure@
1657 sudo make install@
1658}
1659
1660libgpg-error@
1661@code{@
1662 wget ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2@
1663 tar xvfj libgpg-error-1.10.tar.bz2@
1664 cd libgpg-error-1.10@
1665 ./configure --prefix=/usr@
1666 sudo make install@
1667}
1668
1669libgcrypt@
1670@code{@
1671 wget ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2@
1672 tar xvfj libgcrypt-1.5.0.tar.tar.bz2@
1673 cd libgcrypt-1.5.0@
1674 ./configure --prefix=/usr@
1675 sudo make install@
1676}
1677
1678libcurl@
1679@code{@
1680 wget http://curl.haxx.se/download/curl-7.26.0.tar.gz@
1681 tar xvfz curl-7.26.0.tar.gz@
1682 cd curl-7.26.0@
1683 ./configure@
1684 sudo make install@
1685}
1686
1687libunistring@
1688@code{@
1689 wget http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz@
1690 tar xvfz libunistring-0.9.3.tar.gz@
1691 cd libunistring-0.9.3@
1692 ./configure@
1693 sudo make install@
1694}
1695
16964. Remove conflicting packages@
1697@code{@
1698 sudo rpm -e --nodeps libgcrypt libgpg-error@
1699}
1700
17014. Install libextractor@
1702@code{@
1703 wget ftp://ftp.gnu.org/gnu/libextractor/libextractor-0.6.3.tar.gz@
1704 tar xvfz libextractor-0.6.3.tar.gz@
1705 cd libextractor-0.6.3@
1706 ./configure@
1707 sudo make install@
1708}
1709
17105. Install libmicrohttpd and dependencies
1711
1712nettle@
1713@code{@
1714 wget http://ftp.gnu.org/gnu/nettle/nettle-2.5.tar.gz@
1715 tar xvfz nettle-2.5.tar.gz@
1716 cd nettle-2.5@
1717 ./configure@
1718 sudo make install@
1719}
1720
1721GnuTLS@
1722@code{@
1723 wget http://ftp.gnu.org/gnu/gnutls/gnutls-2.12.20.tar.bz2@
1724 tar xvfj gnutls-2.12.20.tar.bz2@
1725 cd gnutls-2.12.20@
1726 ./configure --without-p11-kit@
1727 sudo make install@
1728}
1729
1730libmicrohttpd@
1731@code{@
1732 wget ftp://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.21.tar.gz@
1733 tar xvfz libmicrohttpd-0.9.21.tar.gz@
1734 cd libmicrohttpd-0.9.21@
1735 ./configure@
1736 sudo make install@
1737}
1738
17396. Set GNUnet prefix and add to PATH@
1740@code{@
1741 export GNUNET_PREFIX=@
1742 export PATH=$PATH:$GNUNET_PREFIX/bin@
1743}
1744
17457. Install GNUnet from svn@
1746@example
1747 export LD_LIBRARY_PATH=/usr/local/lib@
1748 svn co https://gnunet.org/svn/gnunet@
1749 cd gnunet@
1750 libtoolize@
1751 ./bootstrap@
1752 ./configure --prefix=$GNUNET_PREFIX --with-extractor=/usr/local \
1753 --with-curl=/usr/local --with-mysql=/usr/lib/mysql --enable-logging=verbose@
1754 make install@
1755@end example
1756
1757Done!
1758
1759@node Build instructions for Gentoo
1760@subsection Build instructions for Gentoo
1761
1762
1763This page describes how to install GNUnet 0.9 on Gentoo.
1764
1765Since the GNUnet 0.9 ebuilds are not in the official portage tree yet, we need
1766to add them to the local portage overlay. All the commands below should be
1767executed as root.
1768
1769Specify your local portage directory in the /etc/make.conf, for example:@
1770@code{$ echo 'PORTDIR_OVERLAY="/usr/local/portage"' >> /etc/make.conf}
1771
1772Create directories for the ebuilds:@
1773@code{$ mkdir -p /usr/local/portage/media-libs/libextractor /usr/local/portage/net-p2p/gnunet/files}
1774
1775Download the latest ebuilds, init and config files from here and put them into
1776respective directories:@
1777@code{$ cp libextractor-0.6.2.ebuild /usr/local/portage/media-libs/libextractor@
1778 $ cp gnunet-0.9.2.ebuild /usr/local/portage/net-p2p/gnunet@
1779 $ cp gnunet-0.9.2.conf gnunet-0.9.2.confd gnunet-0.9.2.initd /usr/local/portage/net-p2p/gnunet/files}
1780
1781Generate Manifest files for the ebuilds:@
1782@code{$ cd /usr/local/portage/net-p2p/gnunet@
1783 $ ebuild gnunet-0.9.2.ebuild digest@
1784 $ cd /usr/local/portage/media-libs/libextractor@
1785 $ ebuild libextractor-0.6.2.ebuild digest}
1786
1787Unmask GNUnet and dependencies in the /etc/portage/package.keywords. For
1788example, if you use x86-64 architecture, add the following lines:@
1789@code{net-p2p/gnunet ~amd64@
1790 media-libs/libextractor ~amd64@
1791 net-libs/libmicrohttpd ~amd64@
1792 net-misc/curl ~amd64}
1793
1794Add either sqlite or mysql USE-flag in the /etc/portage/package.use:@
1795@code{net-p2p/gnunet sqlite}
1796
1797Now everything is ready to install GNUnet:@
1798@code{$ emerge -av gnunet}
1799
1800Use /etc/init.d/gnunet to start/stop GNUnet.
1801
1802@node Building GLPK for MinGW 1299@node Building GLPK for MinGW
1803@subsection Building GLPK for MinGW 1300@subsection Building GLPK for MinGW
1804 1301