So I finally managed to install Bytecoin to the Ubuntu 12.04. God it was hard. I’m not really a Ubuntu master in any way (like, at all) so a lot of googling and searching took place. To everyone who is new to the whole Linux system I would definitely recommend using Ubuntu 13.10 version - installation is much more simple. Okay, back to it - here is the “close enough” instructions:
Ubuntu 12.04 Installation InstructionsFor the super newbies: everything that I mention should be entered in the Terminal. In order to find it use search in the left top corner of the screen, simply enter “terminal” and click on it.
For the correct installation you will need: GCC and G++ 4.7.3 or later, pretty much any CMake version, Boost 1.53 or later (not a 1.54 tho) and Git. Here is what I used: GCC and G++ 4.8, basic Ubuntu 12.04 CMake version, Boost 1.55 and basic Git version.
1. Let’s start with a GCC and G++ 4.8 version. First of all you will have to add a PPA to your Ubuntu. (If you’re wondering what is PPA, here:
http://askubuntu.com/questions/35629/are-ppas-safe-to-add-to-my-system-and-what-are-some-red-flags-to-watch-out-fo and here
http://askubuntu.com/questions/4983/what-are-ppas-and-how-do-i-use-them/40351#40351 you can find out more about it.) To do so you can use this command:
sudo add-apt-repository ppa:ubuntu-toolchain-r/testThen you will have to update your apt-get program:
sudo apt-get updateFinally the installation:
sudo apt-get install gcc-4.8
sudo apt-get install g++-4.8Next step is to update the alternatives for the gcc and g++:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 50
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 502. Boost 1.55 installation is demanding another PPA. Add it:
sudo add-apt-repository ppa:boost-latest/ppaUpdate your apt-get:
sudo apt-get updateAnd install Boost1.55
sudo apt-get install libboost1.55-all-dev3. Install Git and CMake just like in 13.10 instruction (yay! simple step):
sudo apt-get install git
sudo apt-get install cmake4. Next step in this hellish piece of instruction is cloning sources from github. In order to do that go to the terminal once again and enter:
git clone https://github.com/amjuarez/bytecoin.git5. And here I’ll just copy the 13.10 instruction:
Now you should be able to see the “bytecoin” folder in your Home tab. All you have to do now is go to the terminal once again and start a making process, you will be able to do this this way:
a. In terminal go to the bytecoin catalogue using this command:
cd bytecoin (assuming your bytecoin folder is in Home catalogue)
b. Enter
make -j command.
c. Wait a while
…
z. PROFIT!
That’s all boys and girls!
Executable files can be found in build/release/src catalogue - copy it wherever you want and mine freely using Linux system.
Please let me know if I missed something or you can’t get past something etc.