How do I install uuidgen

前端 未结 3 1653
清歌不尽
清歌不尽 2021-01-12 15: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

相关标签:
3条回答
  • 2021-01-12 16:11

    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.
    
    0 讨论(0)
  • 2021-01-12 16:16

    Try to install this:

    sudo apt-get install uuid-runtime
    
    0 讨论(0)
  • 2021-01-12 16:19

    As Donal Lafferty's link states, it is contained in the package uuid-runtime.

    0 讨论(0)
提交回复
热议问题