Bitcoin Forum
May 04, 2024, 03:34:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Tutorial: Installing R on an offline Ubuntu computer  (Read 926 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
August 19, 2015, 11:33:18 AM
Last edit: August 19, 2015, 11:57:17 AM by pf
 #1

The following steps show you how to install R (the statistical software) on your offline Ubuntu machine. This will be useful for people who not only want to generate bitcoin addresses on their offline computers using dice, but also want to statistically test their dice for bias.

There is a benefit to throwing a die a 100 times, test the sequence, and if no evidence of bias is found, use that same sequence for the bitcoin address generation. What benefit? Well, I have personally had a situation where I found out on the first day that there was an evidence of bias. But on another day with the same die but a different surface, there was no evidence of bias. So it can be useful to just use the same sequence for both testing and, if the test is good, real-world use. Hence this tutorial.

I have tested these steps on Ubuntu 14.04 LTS only, but I suppose they will work on other Ubuntu/Linux systems as well.

Here are the steps:

  • On a virtual machine (or a real machine if you want) that is allowed to connect to the internet, do a clean install of the same system that is on your offline computer. In my case, that is Ubuntu 14.04 LTS.
  • On this fresh online system, download this Python script by Alan Reiner (the originator of Bitcoin Armory).
  • On the Terminal, run python apt-get-offline.py r-base.
  • Use a USB key to get the resulting download_r-base folder onto your offline computer.
  • On your offline computer, use sudo dpkg -i *.deb in that folder to install R on your offline computer.
  • You can now use R on your offline computer by simply running R on the Terminal.

See also my other tutorials:
Tutorial: Using R to statistically test a die for bias
Tutorial: Compiling Armory and getting it onto an offline computer
Tutorial: Creating a bulletproof 255-bit entropy Armory wallet
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!