查看apt-get install文件安装到哪里

背景:ECN4上做数据收集包括hddtemp,之前都是apt-get install hddtemp来完成的,然后ECN4上的网口用外网连接都无效,内网就可以,很是奇怪,但是内网可以通。这个问题暂时先不管,当前就是要ECN4上能读取hddtemp


方法:在ECN2上查看命令执行下载了哪些文件,然后通过内网从ECN2上拷贝到ECN4上。


ubuntu@cm1:~$ dpkg -L hddtemp
/.
/etc
/etc/default
/etc/logcheck
/etc/logcheck/ignore.d.server
/etc/logcheck/ignore.d.server/hddtemp
/etc/init.d
/etc/init.d/hddtemp
/etc/hddtemp.db
/usr
/usr/share
/usr/share/doc
/usr/share/doc/hddtemp
/usr/share/doc/hddtemp/contribs
/usr/share/doc/hddtemp/contribs/crash.c
/usr/share/doc/hddtemp/contribs/wminfo
/usr/share/doc/hddtemp/contribs/README
/usr/share/doc/hddtemp/contribs/hddtemp-all.sh
/usr/share/doc/hddtemp/contribs/analyze
/usr/share/doc/hddtemp/contribs/analyze/plot-field.pl
/usr/share/doc/hddtemp/contribs/analyze/graph-field.sh
/usr/share/doc/hddtemp/contribs/analyze/hddtemp_monitor.sh
/usr/share/doc/hddtemp/copyright
/usr/share/doc/hddtemp/README
/usr/share/doc/hddtemp/TODO
/usr/share/doc/hddtemp/changelog.Debian.gz
/usr/share/doc/hddtemp/README.Debian
/usr/share/locale
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/hddtemp.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/hddtemp.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/hddtemp.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/hddtemp.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/hddtemp.mo
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/hddtemp.8.gz
/usr/sbin
/usr/sbin/hddtemp

最后在ECN4上验证:hddtemp -n /dev/sda

输出29.

有效~哦也~

阅读更多
想对作者说点什么? 我来说一句

ubuntu server 安装桌面

2010年09月07日 945B 下载

没有更多推荐了,返回首页

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭