Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
BCM
User Panel

Site Notices
Posted: 11/8/2023 6:57:03 AM EDT
[Last Edit: farfromhome]
I would like to see if I can mine Monero. I know I know.

I am ssh'd into my RPi and I am in the folder for xmrig.

I tried-

sudo apt install
sudo apt install xmrig
sudo apt-get install xmrig

but Terminal always says it cannot find xmrig.

The xmrig folder has 3 items, config.json, SHA256, and xmrig.

What am I doing wrong?
Link Posted: 11/8/2023 9:33:53 AM EDT
[#1]
Do you have to add the folder path to your repository list?  How would the installer know where to install the package from?

I'm a linux simpleton, however I would imagine Aptitude would have to know the path to the installation
Link Posted: 11/8/2023 9:43:41 AM EDT
[#2]
How to install XMRig CPU Miner on Ubuntu 20.04 and Ubuntu 18.04
Link Posted: 11/11/2023 5:14:03 PM EDT
[#3]
Originally Posted By farfromhome:
I would like to see if I can mine Monero. I know I know.

I am ssh'd into my RPi and I am in the folder for xmrig.

I tried-

sudo apt install
sudo apt install xmrig
sudo apt-get install xmrig

but Terminal always says it cannot find xmrig.

The xmrig folder has 3 items, config.json, SHA256, and xmrig.

What am I doing wrong?
View Quote


You need to compile xmrig.


I assume you already did this:  
"git clone https://github.com/xmrig/xmrig.git" or downloaded the repository as a zip then unzipped it.

So now you need to install dependencies if you have not yet:
" sudo apt-get install git build-essential cmake libuv1-dev libssl-dev libhwloc-dev"

In your xmrig folder create a /build folder:
" mkdir xmrig/build && cd xmrig/build"

Run cmake:
" cmake .."

Then run make,
" make "  

Go into your build folder and enter:
"./xmrig"

Should start xmrig for the first time and it should ask some questions.

You should be good to go.
Link Posted: 12/17/2023 7:22:23 PM EDT
[Last Edit: right_rudder] [#4]
You don't need to do any of that.

download xmrig. It downloads into a folder..

open the config.json file in text exit.
The only thing you need to touch is this section:

        "algo": "rx/0",
           "coin": null,
           "url": "rx.unmineable.com:3333",
           "user": "ZEPH:ZEPHYR3GcRcE9zQ3kVsvt3hsZfJWo2SxQUHKdGGaer662dUFwVEcZNo2UvudGRgGyE9sLC2D3gcxYha3mdkRivk4eS4xHSXthMN4R.MBP-new",
           "pass": "x",


url - enter the mining pool you use (I use unminable)

user - enter the count you want to min - xmr:thisisyourwalletaddress.name of your miner

save the file and in terminal type cd (then drag the xmrig folder into it and the terminal window) and type ./xmrig
Link Posted: 12/23/2023 6:56:04 PM EDT
[#5]
Well personally I never use apt, I download a package (.deb in my case), navigate to that folder, open terminal and :

dpkg -i name_of_package.deb

Obviously it won't resolve dependencies but I always take care of that first.
Link Posted: 12/23/2023 8:46:03 PM EDT
[Last Edit: txjim42] [#6]
Disclaimer- I don't know jack about any of this... Just some stuff I found out of curiosity.  And mostly covered above, so redundant...

Use your own server/wallet/password, if that's not clear in various tutorials.

I Mined Monero for 24 Hours on a Raspberry Pi (Crypto Tutorial)


This uses a third-party project, same as video above it seems. Unknown if trustworthy or still viable:
https://raspberrytips.com/mine-monero-raspberry-pi/

Build xmrig from scratch vs. packaged option.
https://blockforums.org/topic/1257-how-to-mine-monero-and-compile-xmrig-on-a-raspberry-pi-4-cpu-mining-in-2021/
https://medium.com/@richardsantana83088/how-to-mine-monero-on-a-raspberry-pi-a-step-by-step-guide-9e24bd810c18

Processor benchmarks:
https://xmrig.com/benchmark



Link Posted: 2/10/2024 5:13:37 PM EDT
[#7]
If xmrig is actually a package, you need to do an apt update first.  Otherwise, the non apt answers are above my reply
Link Posted: 2/27/2024 10:34:44 PM EDT
[#8]
I give up.

I know I am a loser.

Sorry for all of the questions.
Link Posted: 2/28/2024 10:49:06 AM EDT
[#9]
OP request
Close Join Our Mail List to Stay Up To Date! Win a FREE Membership!

Sign up for the ARFCOM weekly newsletter and be entered to win a free ARFCOM membership. One new winner* is announced every week!

You will receive an email every Friday morning featuring the latest chatter from the hottest topics, breaking news surrounding legislation, as well as exclusive deals only available to ARFCOM email subscribers.


By signing up you agree to our User Agreement. *Must have a registered ARFCOM account to win.
Top Top