Introduction and use of ES1en ES2en and apt command under Ubuntu
- 2020-06-19 12:23:01
- OfStack
preface
This article mainly introduces the apt-ES5en /apt command under Ubuntu related content, share for your reference and study, the following words do not say much, let's have a look at the detailed introduction.
Command details:
Usage: ES12en-ES13en [Options] command
apt-get [option] install|remove pkg1 [pkg2...]
apt-get [Option] source pkg1 [pkg2...]
apt-get is a simple command-line interface for downloading and installing software packages.
The most common command is update(update)
And install(installation).
Command:
Options:
Use examples:
apt-cache search packagename Search package
apt-cache show packagename Gets information about the package, such as description, size, version, and so on
apt-get install packagename The installation package
apt-get install packagename - - reinstall Reinstall package
apt-get -f install Repair installation "-f = --fix-missing"
apt-get remove packagename Delete the package
apt-get remove packagename - - purge Delete packages, including deleting configuration files, and so on
apt-get update Update the source
apt-get upgrade Update installed packages
apt-get dist-upgrade Upgrade system
apt-get dselect-upgrade use dselect upgrade
apt-cache depends packagename Understanding usage dependencies
apt-cache rdepends packagename Is to see which packages the package is dependent on
apt-get build-dep packagename Install the relevant compilation environment
apt-get source packagename Download the source code for the package
apt-get clean Clear out unwanted packages
apt-get autoclean Clear out unwanted packages
apt-get check Check for corrupt dependencies
conclusion