Bitcoin Forum
November 13, 2024, 06:31:23 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using github: Specifically, Vanitygen  (Read 2634 times)
check_status (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


Web Dev, Db Admin, Computer Technician


View Profile
March 05, 2012, 07:03:45 PM
 #1

I'm an apt-get type of person and never have used git. Could someone explain the process?
I hacked up an example from an unrelated git tut but needs some fill in the blanks or corrections.
Are there any dependancies that need to be satisfied before running?
I don't plan on using oclvanitgen as hardware doesn't support 11.11, maybe 8 or 9. Wink Will I be limited to what I can look for?

Code:
steps on how to compile under Linux:
 $ git clone https://github.com/samr7/vanitygen.git
 $ cd *where?*
 $ git checkout -b *what is going on here?*
 $ ./autogen.sh && ./configure *anyflags needed here?* && make
 $ sudo make install

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
mappum
Member
**
Offline Offline

Activity: 82
Merit: 13


View Profile
March 05, 2012, 07:14:52 PM
 #2

apt-get is a package manager, git is source control. The difference is that apt-get packages are usually pre-built binaries, and they are automatically installed (along with any dependencies). Git is just a place for people to keep their source code, and it tracks each change (in case you need to revert some or all of your source). Git is geared toward software development that involves more than one person (whether it is a commercial team, or random internet people contributing to an open source project).

Github doesn't own Git (many people initially assume that), they just happen to be the most prominent free Git host.

To clone a repository, you just use
Code:
git clone <url>
, and a new folder with all the same info and history of changes as the remote repo you are cloning will be created. You can then make changes on the source files, or build the project (how it is built depends on the project).

If you need to update the repo, just go into its folder and hit
Code:
git pull
.
check_status (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


Web Dev, Db Admin, Computer Technician


View Profile
March 05, 2012, 10:19:50 PM
 #3

Quote
At present, vanitygen can be built on Linux, and requires the openssl and pcre libraries.
https://github.com/samr7/vanitygen/blob/master/README

OK, so those are the dependancies for linux, I've got those. There are no build steps listed in the README, are the build steps I listed correct?

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
March 05, 2012, 11:31:05 PM
 #4

sudo apt-get install libpcre3-dev libssl-dev
git clone https://github.com/samr7/vanitygen.git
cd vanitygen
make
./vanitygen

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
check_status (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


Web Dev, Db Admin, Computer Technician


View Profile
March 06, 2012, 03:05:28 AM
Last edit: March 06, 2012, 03:45:14 PM by check_status
 #5

sudo apt-get install libpcre3-dev libssl-dev
git clone https://github.com/samr7/vanitygen.git
cd vanitygen
make
./vanitygen
It's working so far. I didn't have the dev libraries though I did have the regular libs. I guess when building from source files, dev files are needed sometimes.
Code:
./vanitygen -r [^V]abcd[^V]efg  
7 characters + 2 upper and lower. 712,000,000 and none found yet, I think.

Thanks for laying it out Revalin.

Edit: 4.8 billion keys and nothing found yet. Cheesy

For Bitcoin to be a true global currency the value of BTC needs always to rise.
If BTC became the global currency & money supply = 100 Trillion then ⊅1.00 BTC = $4,761,904.76.
P2Pool Server List | How To's and Guides Mega List |  1EndfedSryGUZK9sPrdvxHntYzv2EBexGA
Revalin
Hero Member
*****
Offline Offline

Activity: 728
Merit: 500


165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g


View Profile
March 06, 2012, 03:09:10 AM
 #6

No problem. Smiley

The -dev ones are the headers; the regular ones are the binary libraries.  You need -dev when compiling, but after your have the binary you can uninstall them and just leave the binary libraries if desired.

      War is God's way of teaching Americans geography.  --Ambrose Bierce
Bitcoin is the Devil's way of teaching geeks economics.  --Revalin 165YUuQUWhBz3d27iXKxRiazQnjEtJNG9g
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!