First, Apt-get installation
Deb is the Debian Linus installation format, very similar to Red Hat rpm, the most basic installation command is: Dpkg-i file.deb or directly double-click the file
Dpkg is a shorthand for the Debian package, a suite management system specifically developed for Debian, which facilitates the installation, updating and removal of software. All Linux distributions originating from Debian use dpkg, such as Ubuntu, Knoppix, and so on.
Here are some common uses of Dpkg:
1, Dpkg-i
Install a Debian package, such as files you have manually downloaded.
2, Dpkg-c
The listed content.
3, Dpkg-i
Extract the package information from it.
4, Dpkg-r
Remove a package that has already been installed.
5, Dpkg-p
Completely clears an installed package. Unlike remove, remove just deletes the data and executable files, and purge also removes all the configuration files.
6, Dpkg-l
Lists all installed file listings. Also see Dpkg-c to check the contents of a. deb file.
7, Dpkg-s
Displays information about the packages that have been installed. Also see Apt-cache displays the package information in the Debian archive, as well as dpkg-i to display the package information extracted from a. deb file.
8, Dpkg-reconfigure
Reconfigure an already installed package if it is using debconf (debconf provides a unified configuration interface for package installation).
Second, the software after the installation of the relevant file location
1. Download the software storage location
/var/cache/apt/archives
2. Post-installation software default location
/usr/share
3. executable file location
/usr/bin
4. configuration file Location
/etc
5.lib File Location
/usr/lib
Apt-get installation and default path in Ubuntu