How Do I Install Uuidgen
I Need Uuidgen for My Linux Shell Scripts, but It's Not on My Debian 7.1 Net Install. Apt-Get Install Uuidgen Fails, It's Not Clear What Package I Should Be...
I need uuidgen for my Linux shell scripts, but it's not on my Debian 7.1 net install.
apt-get install uuidgen fails, it's not clear what package I should be using, and existing questions seem to ask for alternatives rather than the real uuidgen.
Could someone with experience with uuidgen comment on where to get it, and why it's not in its own package?
PS. If this is on the wrong StackExchange site, point me in the correct direction.
3 Answers
Try installing this:
sudo apt-get install uuid-runtime
To find out which package provides a file use apt-file:
sudo apt-get install apt-file
sudo apt-file update
apt-file search uuidgen
This will yield as output
uuid-runtime: /usr/bin/uuidgen
So 'uuid-runtime' is the package to install.
sudo apt-get install uuid-runtime.
As Donal Lafferty's link states, it is contained in the package uuid-runtime.