You are currently looking at an older section of the website.
Please check the new version of the site at for updated content.

wincent knowledge base

« Using MD5 or SHA1 to verify the integrity of your downloads | Main | Building Subversion 1.1.0 on Mac OS X 10.3 »

November 21, 2004

Building pwgen on Mac OS X 10.3

pwgen is a handy command-line tool to generate passwords with a number of options that control the complexity, length and number of the generated passwords. This article shows how to build pwgen on Mac OS X 10.3 using the latest source at the time of writing, pwgen 2.03.

As per usual, you need the Xcode Tools installed, and wget if you want to use that to pull down the source archive. Lines beginning with hash/pound (#) are comments and don't need to be entered:

# make working directory
mkdir pwgen
cd pwgen

# fetch, extract and build the source wget tar xzvf pwgen-2.03.tar.gz cd pwgen-2.03/ ./configure make
# test the built executable ./pwgen ./pwgen -h
# install the built executable (into /usr/local/bin/) sudo make install

Posted by wincent at November 21, 2004 03:16 AM