23

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. Repost from https://stackoverflow.com/questions/17710958/how-do-i-install-uuidgen?noredirect=1#comment25824003_17710958

1

2 Answers 2

32

The package uuid-runtime contains the uuidgen program.

This package contains the uuidgen program and the uuidd daemon.

2
  • 5
    Used apt-get install uuid-runtime Jul 18, 2013 at 11:04
  • 1
    If you get the error message "Package uuid-runtime is not available, but is referred to by another package." etc make sure to first run apt-get update (both likely also require sudo) May 5, 2022 at 22:32
2

To add to loop's answer, install with:

sudo apt-get install uuid-runtime

It is probably best to run an update prior to installing

sudo apt-get update

These commands are taken from info in the comments by Donal and Oskar

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .