Ruby

Get package for uuistools and load with gem

sudo gem install uuidtools

code it

UUIDTools::UUID.random_create
    
source from uuidtools.rubyforge.org

*Claims to conform to RFC 4122 GIUD specification when possible*