如何安装cpuminer?

Eka*_*Eka 9 bitcoin software-installation

我正在尝试根据本教程安装 cpuminer 。本教程描述了使用终端安装 cpuminer。

sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm

# clone cpuminer
git clone https://github.com/pooler/cpuminer.git

# compile
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make

# choose a miner pool and register there

# start the miner
./minerd --url=your.minerpool.org --user=username --pass=password
Run Code Online (Sandbox Code Playgroud)

我已经安装了 git 并从 git 下载了 `cpuminer。但是当试图编译它时,我收到了这个错误:

user@user-Dell-Notebook-PC:~$ cd cpuminer
user@user-Dell-Notebook-PC:~/cpuminer$ ./autogen.sh
./autogen.sh: 8: ./autogen.sh: aclocal: not found
user@user-Dell-Notebook-PC:~/cpuminer$ 
Run Code Online (Sandbox Code Playgroud)

我是 Ubuntu 和挖矿的新手。

sмu*_*urf 6

看起来您缺少 package automake。要安装它,请打开 Ubuntu 软件中心并搜索automake.

线索来自

./autogen.sh: aclocal: not found
Run Code Online (Sandbox Code Playgroud)

该脚本autoget.sh(它是矿工的一部分)正在尝试使用aclocal未找到的程序。

要找出哪个文件属于哪个包,请在终端窗口中使用这些命令(仅一次):

sudo apt-get install apt-file
sudo apt-file update
Run Code Online (Sandbox Code Playgroud)

搜索包含该程序的包 aclocal

apt-file search aclocal
Run Code Online (Sandbox Code Playgroud)