First, update the source1. Find the domestic mirror source
The so-called source of the image: can be understood as a place to download software, such as Android phone can download software on the 91 mobile phone assistant, iOS phone can download software AppStore
2. Backup Ubuntu default Source address
sudo cp/etc/apt/sources.list/etc/apt/sources.list.backup
3. Update the source server list
4. Update the source
sudo apt-get update
Second, the Ubuntu software operation related commands
sudo apt-get update update source sudo apt-get install package installer sudo apt-get Remove package Remove the sudo apt-cache search packages Packages sudo apt-cache show package get information about packages, such as description, size, version, etc. sudo apt-get install package--reinstall Reinstall packages sudo apt-get-f Install fix installation sudo apt-get remove package--purge remove packages, including configuration files such as sudo apt-get BUILD-DEP pack installation related compilation environment sudo apt-get Upgra De update installed packages sudo apt-get dist-upgrade upgrade system sudo Apt-cache depends package learn to use the package dependent on those packages sudo apt-cache rdepends package to see what packages the packages are Rely on sudo apt-get source package to download the source code of the packages sudo apt-get clean && sudo apt-get autoclean cleanup useless packages sudo apt-get check check Whether there is a damaged dependency
---------------------------------------------------
Source: Organize from Network
Linux Learning Notes IX ———— Ubuntu software installation and uninstallation