How to install litecoin on fedora
Contents
Download litecoin source code from github.
Install depend packages.
- yum install -y libdb-cxx-devel boost-thread boost-filesystem boost-system
- wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz
- tar zxf openssl-1.0.1e.tar.gz; cd openssl-1.0.1e/
- Build openssl, cause fedora default openssl doesnt support ec.h
- ./Configure linux-x86_64 –prefix=/usr
–openssldir=%{_sysconfdir}/pki/tls zlib enable-camellia enable-seed
enable-tlsext enable-rfc3779 enable-cms enable-md2 no-mdc2 no-rc5
–with-krb5-flavor=MIT –with-krb5-dir=/usr shared
- ./Configure linux-x86_64 –prefix=/usr
- make depend
- vim crypto/Makefile , add -fPIC to CFLAG
- make && make isntall
Install litecoin demon
- cd litecoin/src, modify makefile.unix, change boost_thread to boost_thread-mt
make -j4 -f makefile.unix USE_UPNP=
, 4 is you cpu core number
Install litecoin-qt
$ sudo yum install -y qt-devel miniupnpc-devel
$ qmake-qt4 BOOST_LIB_SUFFIX=-mt USE_UPNP=1
$ make
Author Hangbin Liu
LastMod 2018-12-02 (a90227f)