ubuntu19.04下查看软件安装目录和详细信息

1、查看软件安装路径:

pascal@pascal:~$ dpkg -L python3
/.
/usr
/usr/bin
/usr/lib
/usr/lib/valgrind
/usr/lib/valgrind/python3.supp
/usr/share
/usr/share/doc
/usr/share/doc/python3
....

 

2、查看软件安装的详细信息:

pascal@pascal:~$ apt show python3
Package: python3
Version: 3.7.3-1
Priority: important
Section: python
Source: python3-defaults
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 191 kB
Provides: python3-profiler
Pre-Depends: python3-minimal (= 3.7.3-1)
Depends: python3.7 (>= 3.7.3-1~), libpython3-stdlib (= 3.7.3-1)
Suggests: python3-doc (>= 3.7.3-1), python3-tk (>= 3.7.2-1~), python3-venv (>= 3.7.3-1)
Replaces: python3-minimal (<< 3.1.2-2)
Homepage: https://www.python.org/
Task: minimal, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-minimal-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-desktop-default-languages, ubuntu-core
Cnf-Extra-Commands: python
Cnf-Priority-Bonus: 5
Supported: 9m
Download-Size: 47.2 kB
APT-Manual-Installed: no
APT-Sources: http://mirrors.huaweicloud.com/repository/ubuntu disco/main amd64 Packages
Description: interactive high-level object-oriented language (default python3 version)
 Python, the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
 .
 This package is a dependency package, which depends on Debian's default
 Python 3 version (currently v3.7).

 

转载于:https://www.cnblogs.com/pascal1000/p/10849597.html

你可能感兴趣的:(ubuntu19.04下查看软件安装目录和详细信息)