Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Gascan on April 26, 2014, 05:58:35 PM



Title: Installing Bitcoind on Kali
Post by: Gascan on April 26, 2014, 05:58:35 PM
Hi all,
Here is the issue: I want to install Bitcoind and there seems to be no way to do it.
Firstly I tried this guide http://askubuntu.com/questions/41001/how-do-i-install-bitcoin (http://"http://askubuntu.com/questions/41001/how-do-i-install-bitcoin"), but it didn't work, then the only tip I found on the internet for Kali is this http://evilgold.net/?p=49 (http://"http://evilgold.net/?p=49"), but it failed ("apt-get build-dep bitcoind" can't find qt4-default).
My sources.list:
Code:
## Regular repositories
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing
deb http://http.kali.org/kali kali main non-free contrib
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb http://http.kali.org/kali kali main/debian-installer
deb http://http.kali.org/ /kali main contrib non-free
deb http://repo.kali.org/kali kali-bleeding-edge main


## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free


deb http://http.kali.org/ /wheezy main contrib non-free
deb-src http://ftp.debian.org/debian/ sid main contrib non-free

deb http://ppa.launchpad.net/noobslab/themes/ubuntu oneiric main
deb http://ppa.launchpad.net/noobslab/indicators/ubuntu oneiric main
deb http://ppa.launchpad.net/kilian/f.lux/ubuntu oneiric main
deb http://ppa.launchpad.net/bitcoin/bitcoin/ubuntu precise main
I tried manually downloading the .deb, and the dependencies (qt4-default and qtchooser 4.8.4), but I got an error because those packages would damage my qbus (4.8.2).
I also tried to manually downloading an old version of bitcoind (0.8.0) and building it with all the dependencies, but when I run the Makefile with "make" (in ../bitcoin-bitcoin-f4d5f06/src), I get this:
Code:
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
Hope you can help me.
Thanks.


Title: Re: Installing Bitcoind on Kali
Post by: dewdeded on April 26, 2014, 06:26:07 PM
https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md


Title: Re: Installing Bitcoind on Kali
Post by: shorena on April 26, 2014, 07:46:51 PM
You dont try to set a server up on kali, are you?

Code:
Single user, root access by design: Due to the nature of security audits, Kali linux is designed to be used in a “single, root user” scenario.

http://docs.kali.org/introduction/should-i-use-kali-linux


Title: Re: Installing Bitcoind on Kali
Post by: Gascan on April 29, 2014, 08:47:13 PM
You dont try to set a server up on kali, are you?

Code:
Single user, root access by design: Due to the nature of security audits, Kali linux is designed to be used in a “single, root user” scenario.

http://docs.kali.org/introduction/should-i-use-kali-linux

No, I'm not trying to set up a server, I know what kind of distro I am using, I just wanted to use kali to manage my bitcoins (as well as doing what kali is planned for :D).

https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
Can you explain me what do I need to do? I read that github page, but I still don't get how to solve my problem.
Thank you.


Title: Re: Installing Bitcoind on Kali
Post by: shorena on April 29, 2014, 09:03:07 PM
No, I'm not trying to set up a server, I know what kind of distro I am using, I just wanted to use kali to manage my bitcoins (as well as doing what kali is planned for :D).

Wouldnt get those two things mixed up.

https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md
Can you explain me what do I need to do? I read that github page, but I still don't get how to solve my problem.
Thank you.

Well I never had to install anything on a kali system, since it pretty much has everything you might want. Unless you want to use it for your everyday stuff. But it is based on debian, so you can just follow the instructions for debian/ubuntu. Did you try using qt5 instead of qt4?


Title: Re: Installing Bitcoind on Kali
Post by: Gascan on April 30, 2014, 05:17:37 PM
Wouldnt get those two things mixed up.
Why?  ;D

Did you try using qt5 instead of qt4?
No, I didn't. How may I do it?
Thank you.


Title: Re: Installing Bitcoind on Kali
Post by: shorena on April 30, 2014, 05:59:19 PM
Wouldnt get those two things mixed up.
Why?  ;D

Because Kali is "for hackers". Well its for pentesting, but for some thats not a difference.

#1 There will be next to no support regarding any problems you might encounter with Kali. You allready struggle to install bitcoin core, as you apparently have to build it yourself on kali. On almost any other Linux you could just download a prebuild and be fine.

#2 With an "Hacker OS" you might attract attention of (other) hackers.

#3 Single user allways root is against the basic principle of linux security. It is a good idea that you dont have allways full rights to change everything when you are just browsing the internet. If you want to sniff packets of the network you need root access, if you want to open myfunnywebpage.com you dont and you shouldnt have.

Install a "regular Linux" for all I care install Arch or Gentoo if you want to learn a lot. Get an USB stick and a small screwdriver to unplug your harddrive for the times you want to mess around with Kali.

Did you try using qt5 instead of qt4?
No, I didn't. How may I do it?
Thank you.

Code:
Pass --with-gui=qt5 to configure to choose Qt5. 


Title: Re: Installing Bitcoind on Kali
Post by: Gascan on April 30, 2014, 08:15:12 PM

Because Kali is "for hackers". Well its for pentesting, but for some thats not a difference.

#1 There will be next to no support regarding any problems you might encounter with Kali. You allready struggle to install bitcoin core, as you apparently have to build it yourself on kali. On almost any other Linux you could just download a prebuild and be fine.

#2 With an "Hacker OS" you might attract attention of (other) hackers.

#3 Single user allways root is against the basic principle of linux security. It is a good idea that you dont have allways full rights to change everything when you are just browsing the internet. If you want to sniff packets of the network you need root access, if you want to open myfunnywebpage.com you dont and you shouldnt have.

Install a "regular Linux" for all I care install Arch or Gentoo if you want to learn a lot. Get an USB stick and a small screwdriver to unplug your harddrive for the times you want to mess around with Kali.
Seems legit. But I won't be doing really heavy attacks or like that, I think I'll use Kali mainly for real pentesting and discovering and testing all its tools. However I'm going to try to solve my issue with your hints.
Thank you.