The following describes how to quickly locate the installation path of the Debian system software in Ubuntu. Dpkg is also used to install, uninstall, and supply information related to the. deb software package. [Plain] find the path of the program in dpkgisatooltoinstall, build, removeandm... Ubuntu. The following describes how to quickly locate the installation path of the Debian system software. Dpkg is also used to install, uninstall, and supply information related to the. deb software package. [Plain] dpkg is a tool to install, build, remove and manage Debian packages. These two functions are mainly used: [html]-L | -- listfiles ... List files 'owners' by package (s).-l | -- list [ ...] List packages concisely. example: for example, we want to find the path of the chrome browser [html] androidyue @ ubuntu :~ /Myscript $ dpkg-l | grep chrome ii google-chrome-stable 22.0.1229.94-r161065 The web browser from Google ii xserver-xorg-video-openchrome 1:0. svn1050-1ubuntu0.1 2.904 + X. org X server -- VIA display driver so that we can find the correct package name, and then use the package name to find the address: [html] androidyue @ ubuntu :~ /Myscript $ dpkg-L google-chrome-stable /. /usr/bin/usr/share/applications/usr/share/menu/google-chrome.menu/usr/share/gnome-control-center /usr/share/gnome-control-center/default-apps/google-chrome.xml/usr/share/man/usr/share /man/man1/usr/share/man/man1/google-chrome.1/usr/share/doc/google-chrome /changelog.gz/etc/cron. daily/etc/cron. daily/google-chrome/opt
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service