LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-05-2017, 02:37 PM   #1
LQ496873
Member
 
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120

Rep: Reputation: Disabled
Add a program to a live distro


I use a small live distro created by a bitcointalk member for mining coins. Its great, 100mb and boots to a command line where I need to enter just one line of text to get going.
https://bitcointalk.org/index.php?topic=431546.0

The thing is, one of the miners I use wasn't compiled in such a way that I need it to be compiled. Although cpu mining is a bit of a waste of time I figure I might as well get the two quadcore xeons doing something! They should hash at nearly half my gpu rate (230 h/s) and 6 times the rate of my i3-6100. Though, until I compile the miner with a bunch of flags listed here (http://blog.carl.pro/2015/10/cpu-min...nero-xmr-coin/) they are only hashing at the rate of my i3.

So I need to either re-compile the miner package or compile a new instance of it (if this is possible) but I have no idea how, or even if, this can be done with a live distro.

Please could somebody either link me to a suitable guide/instructions or help me work out what I have to do. I am not up to speed with linux at all! but I have copy and pasted my way through LFS a few times so have at best a little idea.

Thank you

Last edited by LQ496873; 06-05-2017 at 02:38 PM.
 
Old 06-05-2017, 04:16 PM   #2
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Your question is a bit wide ranging.

Tips at least I have.

Adding a program to a distro. A live distro is created from a usable working disto usually. You copy the live part to a computer and then add in what you want then re-create it in live form. Knowing the way they originally did it help. Since I have no idea about this distro I can't say.

Compiling a program could be simple to very complex. Most source listings have all you need from make files to read me files.

To add in a program to any distro may require knowledge of what all was needed in the original program. Only very few times are programs delivered with the entire dependencies included. I'd suspect that any program could be compiled that way but size would make it the limiting factor.


Rant ahead.
However, doesn't all this mining make bitcoins totally worthless? I mean if I ran a super computer I could "make" money couldn't I? I'd also wonder about the cost of electricity in this process. Does the costs exceed the return?
 
Old 06-05-2017, 04:40 PM   #3
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Forget bitcoin mining. Use those processors to contribute to science/society!

https://en.wikipedia.org/wiki/List_o...uting_projects
 
Old 06-05-2017, 04:59 PM   #4
LQ496873
Member
 
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120

Original Poster
Rep: Reputation: Disabled
Thank you for your reply.

It seems I have a tricky job on my hands!

I did try using the official live Fedora distro but it wouldn't compile because it wasn't installed. Maybe I should just bite the bullet and buy a harddrive so I can install a distro. It just seems a bit much when my trusty 128mb micro sd card works so well! I'll keep searching but if its not straight forward its no great loss.

With regard to mining... I was dubious when bitcoins were released. When they were £12 I thought it's too late, when my mate bought one for £60 I called him a fool, and now (only a few years later) they are worth £2k.
So a few days ago I thought i'd look into it. I really am new to it so don't take my word for it!

My i3-6100/gtx 950 seems to be able to make me about £20 a month (after electric costs) if I leave it running 24/7. So far, for general internet browsing etc I haven't noticed any hit to day to day tasks but I guess using FreeCAD or something it would grind to a halt!

It seems used R9 380s sell for £80-£120 on eBay. 6 of these in a barebone rig has the potential to make £2k a year if run 24/7. Again, thats after electric costs have been applied, so even after you buy that hefty PSU profit can be made in year 1. Of course coins get harder to 'mine' as time goes on but the coins you have will hopefully become worth more money/bitcoin such that the reduction in productivity is covered by growth.

All this is with mining XMR.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to add xfrm state add using c program samiran.linux Linux - Networking 1 04-22-2014 09:09 AM
Blank screen regardless of distro or Live CD or live USB...newGateway Laptop :( why? wj76 Linux - Laptop and Netbook 30 05-28-2012 11:01 PM
How do I add a repository to a live cd? Muscovy Ubuntu 12 06-07-2010 01:45 PM
Live Distro and USB Falsh Drive combo - does a distro do this? carenza Linux - General 1 03-27-2009 10:33 AM
A good live distro with a good hardware diagnostic & profiling program? studpenguin General 2 11-25-2008 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration