build-linux.txt 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. ECOin - Copyright (c) - 2014/2024 - GPLv3 - epsylon@riseup.net (https://03c8.net)
  2. ======================================
  3. # SOURCES for ECOin (Unix/GNU-Linux) #
  4. ======================================
  5. All of the commands should be executed in a shell.
  6. ------------------------------
  7. (0.) Clone the github tree to get the source code:
  8. + Official:
  9. git clone http://code.03c8.net:3000/epsylon/ecoin
  10. + Mirror:
  11. git clone https://github.com/epsylon/ecoin
  12. ------------------------------
  13. ==============================================
  14. # Daemon -ecoind- for ECOin (Unix/GNU-Linux) #
  15. ==============================================
  16. (1.) Install dependencies:
  17. Library Purpose Description
  18. ------- ------- -----------
  19. libssl-dev SSL Support Secure communications - development libraries
  20. libssl1.1 SSL Support Secure Sockets Layer toolkit - shared libraries
  21. libdb5.3 Berkeley DB Blockchain & wallet storage
  22. libboost Boost C++ Library
  23. miniupnpc UPnP Support Optional firewall-jumping support
  24. libqrencode QRCode generation Optional QRCode generation
  25. + From Debian/Ubuntu:
  26. sudo apt-get install build-essential libssl-dev libssl1.1 libdb5.3-dev libdb5.3++-dev libboost-all-dev miniupnpc libminiupnpc-dev
  27. + Optionally install qrencode (and set USE_QRCODE=1):
  28. sudo apt-get install libqrencode-dev
  29. (2.) Now you should be able to build ecoind:
  30. cd src/
  31. make -f makefile.linux USE_UPNP=- USE_IPV6=-
  32. strip ecoind
  33. An executable named 'ecoind' will be built.
  34. ------------------------------
  35. ======================================
  36. # Qt5 GUI for ECOin (Unix/GNU-Linux) #
  37. ======================================
  38. (1.) First, make sure that the required packages for Qt5 development of your distribution are installed, for Debian and Ubuntu these are:
  39. sudo apt-get install qt5-qmake qtbase5-dev build-essential libboost-dev libboost-system-dev miniupnpc libminiupnpc-dev \
  40. libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl-dev libssl1.1 libdb5.3++-dev
  41. (2.) Then execute the following:
  42. qmake USE_UPNP=- USE_IPV6=-
  43. make
  44. An executable named 'ecoin-qt' will be built.
  45. ------------------------------
  46. ==============================================
  47. + CPU Solo-Mining for ECOin (Unix/GNU-Linux) #
  48. ==============================================
  49. See doc/MINING.txt for detailed instructions on running /ecoin-miner/ on different platforms.
  50. + GNU/Linux:
  51. cd miner/
  52. sh build.sh
  53. An executable named 'cpuminer' will be built.
  54. ======================================
  55. For a list of command-line options:
  56. ./ecoind --help
  57. To start the ECOin daemon:
  58. ./ecoind -daemon
  59. For ECOin-QT Wallet
  60. ./ecoin-qt
  61. ======================================