【问题标题】:Where is the daemon folder in DebianDebian中的守护进程文件夹在哪里
【发布时间】:2013-12-10 07:47:33
【问题描述】:

我刚刚安装了一个守护进程:

apt-get install daemon

我使用的脚本需要守护进程的安装目录。这是在哪里,或者我如何找到它?

【问题讨论】:

  • 你需要守护进程的安装还是它的路径?我很确定您需要输入which daemon 可用的路径。

标签: debian directory daemon file-location


【解决方案1】:

在 apt 缓存中查找下载的包:

ls -alF /var/cache/apt/archives | grep daemon

如果您已经清除了apt缓存,请尝试重新下载包:

sudo apt-get --download-only install daemon

然后在安装后检查这个包的内容和文件路径:

sudo dpkg -c /var/cache/apt/archives/daemon_0.6.4-1_amd64.deb
drwxr-xr-x root/root         0 2010-06-14 23:55 ./
drwxr-xr-x root/root         0 2010-06-14 23:55 ./etc/
-rw-r--r-- root/root       141 2010-06-14 23:55 ./etc/daemon.conf
drwxr-xr-x root/root         0 2010-06-14 23:55 ./usr/
drwxr-xr-x root/root         0 2010-06-14 23:55 ./usr/bin/
-rwxr-xr-x root/root    187080 2010-06-14 23:55 ./usr/bin/daemon
...

我认为答案是 /usr/bin

更新:

上述版本的daemon 软件包实际适用于 Debian 7.3

【讨论】:

    猜你喜欢
    • 2015-09-07
    • 1970-01-01
    • 2012-09-01
    • 2015-09-21
    • 2019-03-24
    • 2014-06-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多