Pages:
Author

Topic: wallets in general on linux (Read 1550 times)

hero member
Activity: 658
Merit: 500
December 30, 2014, 04:16:12 AM
#24
I think you must firstly check out right Linux OS for you - there are ~ 8 main Linux OS. For example Linux Centos - quite good. And then start to find wallet, which you can install in that Linux OS. If you are not experienced with Linux, you can try to find help in Linux forums  Grin
hero member
Activity: 522
Merit: 500
December 29, 2014, 10:14:38 PM
#23
Thanks for the further explanation it has been a real help.
legendary
Activity: 3346
Merit: 3130
December 28, 2014, 08:32:30 PM
#22
If on ubuntu

Code:
sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update

Debian
Code:
sudo nano /etc/apt/sources.list
deb http://[mirror]/debian/ oldstable main
sudo apt-get update

In the above steps we gain access to libdb4.8 which at this point is safest as libdb5.1 won't work with wallets built with 4.8

Now the process should be the same for both distro's.

Code:
sudo apt-get install build-essential libtool autotools-dev autoconf  libssl-dev libboost-all-dev libdb4.8-dev libdb4.8++-dev libboost1.54-all-dev libminiupnpc-dev libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev libqrencode-dev

Debian users may need to use libboost1.49-all-dev rather than libboost1.54-all-dev but the above commands should install all the required prerequisites for both the daemon and the QT.

In order to actually make the coin it depends on if its based on the bitcoin 0.9 codebase or the 0.8 base.

If 0.9

Code:
./autogen.sh
./configure
make

if 0.8

Code:
cd src/
make -f makefile.unix USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1

you can also use the j flag in order to speed up building of the project. Here we assume I have access to 4 cores and am building bitcoin for source

Code:
./autogen.sh
./configure
make -j4

Here we assume I only have access to 2 cores and am using litecoin
Code:
cd src/
make -j2 -f makefile.unix  USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1

Great explanation, will be hard to get a better one.

If OP cant install it with this info. Then will be hard.
hero member
Activity: 750
Merit: 500
December 27, 2014, 11:11:35 PM
#21
If on ubuntu

Code:
sudo add-apt-repository ppa:bitcoin/bitcoin
    sudo apt-get update

Debian
Code:
sudo nano /etc/apt/sources.list
deb http://[mirror]/debian/ oldstable main
sudo apt-get update

In the above steps we gain access to libdb4.8 which at this point is safest as libdb5.1 won't work with wallets built with 4.8

Now the process should be the same for both distro's.

Code:
sudo apt-get install build-essential libtool autotools-dev autoconf  libssl-dev libboost-all-dev libdb4.8-dev libdb4.8++-dev libboost1.54-all-dev libminiupnpc-dev libqt5gui5 libqt5core5 libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev libqrencode-dev

Debian users may need to use libboost1.49-all-dev rather than libboost1.54-all-dev but the above commands should install all the required prerequisites for both the daemon and the QT.

In order to actually make the coin it depends on if its based on the bitcoin 0.9 codebase or the 0.8 base.

If 0.9

Code:
./autogen.sh
./configure
make

if 0.8

Code:
cd src/
make -f makefile.unix USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1

you can also use the j flag in order to speed up building of the project. Here we assume I have access to 4 cores and am building bitcoin for source

Code:
./autogen.sh
./configure
make -j4

Here we assume I only have access to 2 cores and am using litecoin
Code:
cd src/
make -j2 -f makefile.unix  USE_UPNP=1 USE_IPV6=1 USE_QRCODE=1
hero member
Activity: 522
Merit: 500
December 27, 2014, 01:28:54 PM
#20
Thank you so much for your reply gjhiggins, it is really much appreciated. I finally got VTC to work and your answer has given me quite a few clues on how to get this stuff working!

Thanks!
legendary
Activity: 2254
Merit: 1290
December 27, 2014, 01:04:29 PM
#19
I've tried reading the READMEs but they don't seem to provide much information.

Try the unix-specific build notes in /doc, e.g. https://github.com/neoscoin/NEOS/blob/master/doc/build-unix.md

Quote
They always pop up extremely obscure libraries that are missing:

The dependencies are usually listed in the unix-build doc, they are conveniently listed as a one-liner in the article: How To Clone Scrypt Based Altcoins for Fun and Profit, i.e. they should be satisfiable with:

Code:
$ sudo apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev git qt-sdk libminiupnpc-dev

If you experience problems with using the above to satisfy the dependencies then you might be better advised to install Vagrant, set up an Ubuntu 14.04 VM and work off've that.

Quote
I tried to do the following:
./make vTorrent-client.pro

Code:
$ qmake-qt4 vTorrent-client.pro
$ make

Quote
BTW, this is what the README.md looks like for HYPER's wallet:


that's likely just a large, flashing, red, warning sign of a classic CBA * developer, try the unix-build doc: https://github.com/HYPERcrypto/Hyper/blob/master/doc/build-unix.txt

Cheers

Graham


* Can't Be Arsed
hero member
Activity: 522
Merit: 500
December 27, 2014, 12:20:21 PM
#18
Hey,
Thanks for the replies.

I've been trying to install wallets such as vTorrent, Blackcoin, Hyper, Cannacoin-Qt and many others.

I've tried reading the READMEs but they don't seem to provide much information.

They always pop up extremely obscure libraries that are missing:
libboost_system.so.1.48.0
libboost_system.so.1.46.0
libdb_cxx-5.1.so
(Cannacoin-Qt PoSV (Linux) won't run because libboost_system.so.1.46.1 is missing)

I've tried googling most of these to a ridiculous level and haven't really found any straightforward solutions. I've installed countless programs/libraries as suggested by the linux community but I still can't get most of my wallets to actually run.


Using vTorrent as an example,
I tried to do the following:
./make vTorrent-client.pro

first I get errors about qmake being missing and then brew being missing; so I spend half an hour googling how to install these two things (and then adding brew to my .bashrc which doesn't even work). End result is I still can't get it to compile, and the precompiled version doesn't work.

I get that I'm not an expert on linux--but why do these wallets (in their simplest terms: a piece of software that connects to other computers and sends/recieves data) need so many libraries? It absolutely beggars belief that cryptocurrency is this difficult to install on linux. I figured that by installing Ubuntu, and choosing pre-compiled pieces of software for Ubuntu the wallets would "just work". Far from it.

Why are there no standards on this? Every single one needs different libraries.

The worst part is that I'm fairly fluent at computers and willing to learn; if cryptocurrency is meant to be accessible to the masses it should be a lot easier than this to use (and yeah, I know its mostly community-driven, open source and whatnot, but its still a pain in the ass to use.


BTW, this is what the README.md looks like for HYPER's wallet:
legendary
Activity: 1610
Merit: 1008
Forget-about-it
December 24, 2014, 10:46:55 AM
#17
Check the source code for Readme.txt which will point to the install info perhaps in the docs folder, build-unix or readme-qt.  these will mention dependancies such as:
Quote
sudo apt-get install build-essential
sudo apt-get install libssl-dev
for basic systems or more specific instructions for various flavors. Once you have the dependencies is where I walways have the issue as I'm a noob on linux and finding the right makefile or pro file is hard personally I end up typing run, install, blah, blah a bunch of itmes til it compiles (yes dont kill the noob)
hero member
Activity: 518
Merit: 500
December 24, 2014, 10:34:49 AM
#16
its better to install most of the dependencies.
with Linux you can use: sudo add-apt-repository ppa: bitcoin/bitcoin
sudo apt-get update.

u can also quickly compile ur own wallets.
hero member
Activity: 672
Merit: 502
December 24, 2014, 09:12:27 AM
#15
I have used Electrum on Linux and it was very easy to install following the instructions on the site.
legendary
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
December 24, 2014, 04:32:56 AM
#14
lol yeah just ignore the part where it installs a firewall without telling you.

It's used on a Pi usually so it's set up to be an all in one script. He said he had at least basic knowledge of Linux so I assumed he would read what a script does before running it. It's all VERY clearly labeled
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
December 23, 2014, 06:19:55 PM
#13
lol yeah just ignore the part where it installs a firewall without telling you.
legendary
Activity: 2548
Merit: 1054
CPU Web Mining 🕸️ on webmining.io
December 23, 2014, 05:31:11 PM
#12
You should look at the script I posted for the BALLS wallet on Raspberry Pi. It will walk you through all the steps and works on both ARM and desktops

Use it to see how it works and read it to see what it does
legendary
Activity: 3346
Merit: 3130
December 23, 2014, 04:34:25 PM
#11


Hey,
I'm an average-skilled user of Linux; I have one set up to serve as a remote wallet (at the moment I'm constantly moving around which is why I want one).

So I have my VPS set up, I asked for Ubuntu x64, which it has. I've installed the desktop, VNC etc and done some hardening.

The problem I now face is installing the wallets; a lot of coins have their wallets precompiled (3 out of 4 of these don't work, its always some obscure missing library file that the OS wants and as much as I Google I can't find a solution anywhere for some of them) and some ask you to compile it from source or use Qt creator (tried this and failed too).

So I'm really just asking/begging for some useful advice on how to get these wallets working on Ubuntu? (or if there is a better OS that will make it easier for an idiot to install wallets besides Windows/Mac OS X).

Thanks.

Hi.

I use Centos Linux in my home PC and i have installed Bitcoin qt, and multibit on it. No problems for the installation.

What is the error you got when you try to install this wallets?
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
December 23, 2014, 04:28:39 PM
#10
well right, sky is the limit for software in general

Coin wallets are all pretty much clones of each other so it helps to keep the variety of dependencies down.
sr. member
Activity: 326
Merit: 250
December 23, 2014, 04:21:21 PM
#9
actually I would guess at least 75% of all crypto wallets have the exact same dependencies

I never compiled a wallet on Linux but I found with regular software it often breaks because of a particular version of a file that is missing. The file is usually easy to get but always results in an error saying it's the wrong version of the file.
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
December 23, 2014, 03:50:32 PM
#8
actually I would guess at least 75% of all crypto wallets have the exact same dependencies
sr. member
Activity: 326
Merit: 250
December 23, 2014, 03:46:55 PM
#7
I think software breaking due to some obscure missing library file is a common event when using Linux. I often had the same problem when trying to compile non-crypto software. There are so many different Linux flavors that it must be extremely difficult to release software that works on all of them, and keep it updated so it keeps on working on all of them.
sr. member
Activity: 531
Merit: 260
Vires in Numeris
December 23, 2014, 02:43:51 PM
#6
I think you can compile 32bit on 64bit but you need the libraries for that as 32bit. Google compiling 32bit on 64bit or similar..
legendary
Activity: 1610
Merit: 1000
Crackpot Idealist
December 23, 2014, 10:52:59 AM
#5
post a wallet you are trying to install and I can walk you through it.

You should always compile from source.
Pages:
Jump to: