Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Defcoin Build Kali Rolling
- ---------------------------
- Headless
- ---------
- apt-get install build-essential libssl-dev libboost-all-dev libboost1.62-all-dev zlib1g-dev
- On Kali you will have to manually download and install the Berkeley DB 4.8 package:
- wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz
- tar -xvzf db-4.8.30.tar.gz
- cd db-4.8.30/build_unix
- ../dist/configure --enable-cxx
- make
- make install
- Then, link the directories to the proper location:
- export BDB_INCLUDE_PATH="/usr/local/BerkeleyDB.4.8/include"
- export BDB_LIB_PATH="/usr/local/BerkeleyDB.4.8/lib"
- sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb-4.8.so /usr/lib/libdb-4.8.so
- sudo ln -s /usr/local/BerkeleyDB.4.8/lib/libdb_cxx-4.8.so /usr/lib/libdb_cxx-4.8.so
- Install Unzip to extract the defcoin source
- apt-get install unzip
- Download and unzip the defcoin source from https://github/darkmatter0/defcoin:
- wget https://github.com/darkmatter0/defcoin/archive/master.zip
- unzip master.zip
- This will create a folder called defcoin-master
- change directory into the source folder
- cd defcoin-master/src
- I do not and will never use UPnP, therefore I disable it in the makefile.
- Edit the makefile.unix file with your preferred editor (vi, emacs, nano, etc.) and change:
- USE_UPNP=0
- -to-
- USE_UPNP=
- (yes, thats without a number. Leave it empty)
- Then save.
- make -f makefile.unix
- GUI
- ----
- Change to your defcoin-master directory
- cd ~/defcoin-master
- Install Qt 5:
- apt-get install qt5-qmake libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev-tools
- Run the following commands (yes, that is a dash/minus sign after the equals) :
- qmake "USE_UPNP=-" defcoin-qt.pro
- make
- After that, you should have an executable in the current working directory called "defcoin-qt".
- You can run it from the command line using:
- ./defcoin-qt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement