如何编译安装 Freecashd



  • 环境 Ubuntu 18.04

    安装依赖库

    apt update
    
    apt-get install -y build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
    apt-get install -y libdb5.3-dev libdb5.3++-dev
    apt-get install -y libboost-all-dev git
    

    拉取最新的代码

    git clone https://github.com/freecashorg/freecash.git
    

    编译

    cd freecash
    mkdir build
    cd build
    ../autogen.sh
    ../configure
    make -j16
    # 这里的16替换为你的CPU核心数量 编译时间大概十几分钟
    
    make install
    

    测试安装是否成功

    #>freecashd -version
    Freecash Daemon version v1.0.5.0-195a085ba
    Copyright (C) 2009-2019 The Freecash developers
    
    Please contribute if you find Freecash useful. Visit <https://www.freecash.org>
    for further information about the software.
    The source code is available from <https://github.com/freecashorg/freecash>.
    
    This is experimental software.
    Distributed under the MIT software license, see the accompanying file COPYING
    or <https://opensource.org/licenses/MIT>
    
    This product includes software developed by the OpenSSL Project for use in the
    OpenSSL Toolkit <https://www.openssl.org> and cryptographic software written by
    Eric Young and UPnP software written by Thomas Bernard.
    
    

Log in to reply