The default installation path of apt-get install of ubuntu (transfer)

One, apt-get installation

deb is the installation format of debian linus, which is very similar to the rpm of red hat. The most basic installation command is: dpkg -i file.deb or double-click this file directly

dpkg is the abbreviation of Debian Package. It is a package management system specially developed for Debian to facilitate software installation, update and removal. All Linux distributions from Debian use dpkg, such as Ubuntu, Knoppix, etc.
Here are some common usages of Dpkg:

1、 dpkg -i
Install a Debian package, such as a file you downloaded manually.

2、 dpkg -c
The content listed.

3、 dpkg -I
Extract package information from it.

4、 dpkg -r
Remove an installed package.

5、 dpkg -P
Completely remove an installed package. Unlike remove, remove only deletes data and executable files, while purge also deletes all configuration files.

6、 dpkg -L
List all files installed. Also please see dpkg -c to check the contents of a .deb file.

7、 dpkg -s
Display information about installed packages. Also see apt-cache to display package information in Debian archives, and dpkg -I to display package information extracted from a .deb file.

8、 dpkg-reconfigure
Reconfigure an installed package if it uses debconf (debconf provides a unified configuration interface for package installation).

  1. Relevant file location after software installation

  2. The downloaded software storage location
           /var/cache/apt/archives

  3. The default location of the software after installation
        /usr/share

  4. Executable file location
        /usr/bin

  5. Configuration file location
         /etc

5.lib file location
   /usr/lib

Source of this article: http://blog.csdn.net/u012124564/article/details/50463863

Recommended Posts

The default installation path of apt-get install of ubuntu (transfer)
The apt-get command of Ubuntu basic tutorial
The implementation of the Ubuntu18.04 installation Pycharm tutorial
Install the CPU version of Caffe on Ubuntu
Install the old version of seurat under Ubuntu
Modify the default root password of the Ubuntu operating system
Ubuntu install the latest Python 3.
ubuntu view python installation path
[Share] Solve the problem of failed installation of Vitis 2019.2 on Ubuntu 16.04
Happy installation of Jenkins in ubuntu
Installation of deb package under Ubuntu
Detailed steps to install MySQL to change the default password in Ubuntu
Overview of the Ubuntu file system
Detailed explanation of the installation and use of SSH in the Ubuntu environment
Installation of Docker CE under Ubuntu
Ubuntu basic settings: introduction to the installation and use of openssh-server
Install the latest version of Thunderbird and exchange plugins under ubuntu
Install the latest Python 3.6 version on Ubuntu
ubuntu Docker installation and deployment of Rancher
Installation and uninstallation of CUDA under Ubuntu 16.04
Centos install the latest version of cmake
Installation and deployment of Nginx in Ubuntu
Install fonts on Ubuntu and switch default fonts
Installation and use of Win10 subsystem Ubuntu
Install Ubuntu 18.04 in the virtual machine VMware
Where is the pip path of python3
Install the flat theme latabulous on Ubuntu 16.04
Install NeoVim on Ubuntu: the easiest way
Ubuntu modified the default sh to bash
Solve the problem of installing VMwareTools on Ubuntu 18.04
ubuntu adjusts the priority of swap swap space usage
How to install Java on Ubuntu 16.04 using Apt-Get
Installation of pulseaudio and API usage under Ubuntu 12.04
The basic configuration and interface beautification of Ubuntu
The solution to the failure to install .deb under Ubuntu 16.04
Talking about the first experience of using Ubuntu
First look at the new features of Ubuntu 17.10
Win10 install Linux ubuntu-18.04 dual system (installation guide)
The road to reinstallation of ubuntu 18.04 from scratch
Wsl sets the default account to root (ubuntu18.04)
The use of crontab for ubuntu scheduled tasks
The consequences of uninstalling python in ubuntu, very
The ultimate guide to install gooderp on ubuntu
Introduction to the use of Hanlp in ubuntu
Installation, configuration and uninstallation of GitLab in Ubuntu19.1
Cancel the background color of the Ubuntu (wsl) folder
The latest method of installing Mongodb on Ubuntu 16.04
Modify the default encoding of mysql5.6 under CentOS7
Solve the problem of installing Theano on Ubuntu19
Installation and use of SSH in Ubuntu environment
How to install the latest MySQL on Ubuntu 18.04