Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: ik_do on December 23, 2014, 10:58:25 AM



Title: wallets in general on linux
Post by: ik_do on December 23, 2014, 10:58:25 AM
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.


Title: Re: wallets in general on linux
Post by: Parazyd on December 23, 2014, 11:04:36 AM
Wait, what wallets are you trying to install?
I'm pretty sure you can apt-get Bitcoin Core.

Also, every other wallet will have install instructions on their forum thread/website.


Title: Re: wallets in general on linux
Post by: Newar on December 23, 2014, 11:18:43 AM
[...] a lot of coins [...]

Pretty sure this is about alts.


Title: Re: wallets in general on linux
Post by: ik_do on December 23, 2014, 12:14:03 PM
[...] a lot of coins [...]

Pretty sure this is about alts.

I thought that was evident from what I wrote but anyway. Yes various other currencies (there is no technical support section I could find for other currencies so sorry if I posted in the wrong area)



Title: Re: wallets in general on linux
Post by: billotronic on December 23, 2014, 03:52:59 PM
post a wallet you are trying to install and I can walk you through it.

You should always compile from source.


Title: Re: wallets in general on linux
Post by: davidpbrown on December 23, 2014, 07:43:51 PM
I think you can compile 32bit on 64bit but you need the libraries for that as 32bit. Google compiling 32bit on 64bit or similar..


Title: Re: wallets in general on linux
Post by: unent on December 23, 2014, 08:46:55 PM
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.


Title: Re: wallets in general on linux
Post by: billotronic on December 23, 2014, 08:50:32 PM
actually I would guess at least 75% of all crypto wallets have the exact same dependencies


Title: Re: wallets in general on linux
Post by: unent on December 23, 2014, 09:21:21 PM
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.


Title: Re: wallets in general on linux
Post by: billotronic on December 23, 2014, 09:28:39 PM
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.


Title: Re: wallets in general on linux
Post by: seoincorporation on December 23, 2014, 09:34:25 PM


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?


Title: Re: wallets in general on linux
Post by: iGotSpots on December 23, 2014, 10:31:11 PM
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


Title: Re: wallets in general on linux
Post by: billotronic on December 23, 2014, 11:19:55 PM
lol yeah just ignore the part where it installs a firewall without telling you.


Title: Re: wallets in general on linux
Post by: iGotSpots on December 24, 2014, 09:32:56 AM
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


Title: Re: wallets in general on linux
Post by: twister on December 24, 2014, 02:12:27 PM
I have used Electrum on Linux and it was very easy to install following the instructions on the site.


Title: Re: wallets in general on linux
Post by: activebiz on December 24, 2014, 03:34:49 PM
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.


Title: Re: wallets in general on linux
Post by: jasemoney on December 24, 2014, 03:46:55 PM
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)


Title: Re: wallets in general on linux
Post by: ik_do on December 27, 2014, 05:20:21 PM
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:
https://i.imgur.com/jqJvm4b.png


Title: Re: wallets in general on linux
Post by: gjhiggins on December 27, 2014, 06:04:29 PM
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 (http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide), 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:
https://i.imgur.com/jqJvm4b.png

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


Title: Re: wallets in general on linux
Post by: ik_do on December 27, 2014, 06:28:54 PM
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!


Title: Re: wallets in general on linux
Post by: esotericizm on December 28, 2014, 04:11:35 AM
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


Title: Re: wallets in general on linux
Post by: seoincorporation on December 29, 2014, 01:32:30 AM
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.


Title: Re: wallets in general on linux
Post by: ik_do on December 30, 2014, 03:14:38 AM
Thanks for the further explanation it has been a real help.


Title: Re: wallets in general on linux
Post by: HeroCat on December 30, 2014, 09:16:12 AM
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  ;D