How do I compile this source or get vanitygen for linux?
Open source link: https://github.com/samr7/vanitygen
Bitcoin Stack Exchange is a question and answer site for Bitcoin users, developers, and enthusiasts. It only takes a minute to sign up.Sign up to join this community
I would suggest you use Bitaddress.org
its open source and secure without the need to install anything.
or you could do that using bitcoin-php library on PHP.
vanitygen is too old and never updated almost since 7 years.
Sorry for the previous suggestion, I thought bitaddress.org has that function.
vanitygen library that you mentioned is too old, you better use
vanitygen-plus, it's up-to-date and supports bitcoin and alt-coins.