Ala*_*ano 9 installation paths installed-programs 12.10
我wireshark最近安装了。我不知道它安装在哪个目录中,但它不在/opt.
我如何找到它的安装位置?
Oli*_*Oli 15
假设您从 repos 安装它:
$ dpkg -L wireshark wireshark-common
/.
/usr
/usr/bin
/usr/bin/wireshark
/usr/share
/usr/share/menu
/usr/share/menu/wireshark
/usr/share/pixmaps
/usr/share/pixmaps/wsicon32.xpm
/usr/share/applications
/usr/share/applications/wireshark.desktop
/usr/share/doc
/usr/share/doc/wireshark
/usr/share/doc/wireshark/copyright
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/wireshark.png
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/wireshark.svg
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/wireshark.1.gz
/usr/share/doc/wireshark/changelog.Debian.gz
/usr/share/doc/wireshark/README.Debian
/.
/usr
/usr/bin
/usr/bin/editcap
/usr/bin/text2pcap
/usr/bin/dumpcap
/usr/bin/rawshark
/usr/bin/mergecap
/usr/bin/capinfos
/usr/share
/usr/share/doc
/usr/share/doc/wireshark-common
/usr/share/doc/wireshark-common/README.Debian
/usr/share/doc/wireshark-common/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/wireshark-common
/usr/share/man
/usr/share/man/man4
/usr/share/man/man4/wireshark-filter.4.gz
/usr/share/man/man1
/usr/share/man/man1/mergecap.1.gz
/usr/share/man/man1/capinfos.1.gz
/usr/share/man/man1/dumpcap.1.gz
/usr/share/man/man1/editcap.1.gz
/usr/share/man/man1/text2pcap.1.gz
/usr/share/man/man1/rawshark.1.gz
/usr/share/doc/wireshark-common/changelog.Debian.gz
Run Code Online (Sandbox Code Playgroud)
Rin*_*ind 14
which wireshark将引导您到可执行文件。输出可能类似于:
$ which wireshark
/usr/bin/wireshark
Run Code Online (Sandbox Code Playgroud)
/opt除非您自己这样做,否则软件永远不会被安装。