Advantages of using apt command to download management package in Ubuntu environment

Operating system: Ubuntu 18.04 LTS

I. Overview##

Before, under Ubuntu, I always insisted on the habit of downloading the software download package to the designated folder for decompression and installation. On the suggestion of my colleagues in the department, I started to use the apt command to download the management package.

Since there are already many excellent articles on the Internet that analyze the apt command, I won't go into details here. There is a link at the end of the article. I will explain the advantages of using apt to download the management package

Second, the advantages of the apt command##

We know that the traditional operation process of downloading and installing software is to find the download link of this software installation package on the Internet, then download it to the local specified path, unzip, install and run.

However, for some software, we need to import environment variables by ourselves or put the library files in the appropriate directory. At this time, we feel very annoyed. But in the Ubuntu environment, the apt command solves all this.

A piece of software, I roughly drew its composition structure

If we want to download a software installation package named a.deb, it will get the executable file and the corresponding library file after decompression. If you want to put these library files in the specified directory folder under Windows system, But in this step under Linux it does it for you.

However, if there is a dependency description file in the a.deb installation package (this file does not really exist, just to facilitate understanding), the content of this file needs to be the b.deb software installation package it depends on Download it, and so on, if b.deb also needs to rely on a c.deb software installation package, then download it too. However, these steps can be done with a single apt command, and the environment will be automatically configured for you, and the required library files will be placed in the specified folder, saving developers a lot of energy and time.

Therefore, if I want to download an installation package on Ubuntu, first search for the relevant installation package, and then use the apt command to download it.

sudo apt search XXX installation package
sudo apt install XXX installation package

Three, reference materials##

Detailed apt command

[ Detailed explanation of apt-get command (Chinese), and examples)(http://blog.51yip.com/linux/1176.html)

Use the new apt command to manage software packages under Ubuntu 16.04 LTS

Recommended Posts

Advantages of using apt command to download management package in Ubuntu environment
Download OpenJDK11 source code in Ubuntu environment
How to configure TensorFlow use environment in Ubuntu
How to install python in ubuntu server environment
How to use dpkg command in Ubuntu system
Ubuntu package management
Remotely connect to MySQL database in Ubuntu environment
Introduction to the use of Hanlp in ubuntu
Installation and use of SSH in Ubuntu environment
Example of how to automatically download pictures in python
Example of how to modify ip address in Ubuntu20.04
How to create a Python virtual environment in Ubuntu 14.04
How to install memcache and start it in ubuntu environment
Encountered in the process of building a virtual environment in ubuntu
How to compile and install PHP and Nginx in Ubuntu environment
Use of Anaconda in Ubuntu
How to install JDK 13 in the Linux environment using compressed packages