当前位置:网站首页>How do I install the software using the apt get command?

How do I install the software using the apt get command?

2022-06-25 08:08:00 Ashes collector

Active address : Graduation season · The technique of attack er

Use apt-get Command how to install the software ? There are two ways of software installation: offline installation and online installation .; Use  apt-get  The command is to change the image source for online installation , Improve download and installation speed .
Learning goals : Use apt-get Command to install software .

1. What is software installation ?

Ubuntu There are two ways to install software : Offline installation (deb File format installation )、 Online installation (apt-get Way to install ).

2. deb File format installation

yes Ubuntu Installation package format for , have access to dpkg Command to install and uninstall the software .

dpkg Command options :

dpkg Command rendering :

3. apt-get Way to install

It's an online installation deb The command of the software package , It is mainly used to search online from the software warehouse on the Internet 、 install 、 upgrade 、 Uninstall software . Online installation software command format :sudo apt–get install Installation package , Indicates online installation deb Installation package

4. Change mirror source

Because use apt-get The default command is to download and install software from a foreign server, which will cause slow download and installation , Therefore, it is necessary to change to the domestic image source server .

Image source description : The image source is the server from which the software is downloaded .

Mirror source rendering :

Change how you mirror the source : Change the mirror source visually 、 Manually change the mirror source

Change the mirror source visually :    

Manually change the mirror source :     

explain : Manually modify the mirror source , After the configuration is completed, you need to execute sudo apt-get update This command , Update the image source to ensure that you can download the latest software .

Use apt-get The way to install software must be networked

5. Summary

Ubuntu There are two ways to install software for the operating system :sudo dpkg -i Install package command ;sudo apt-get install Install package command uninstall ; Use apt-get This command means that online installation requires changing the image source to improve the download and installation speed .

原网站

版权声明
本文为[Ashes collector]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250642302778.html