![]() ![]() -q/-quiet – omit progress indicators and produce output suitable for logging.-no-download – disable downloading packages.-ignore-hold – ignore packages placed on hold.-m/-ignore-missing/-fix-missing – ignore packages that cannot be retrieved.-f/-fix-broken – attempt to correct a system with broken dependencies.-d/-download-only – download the packages without installing or unpacking them.-install-suggests – install suggested packages as dependencies.-no-install-recommends – only install main dependencies, do not include recommended packages.apt-get īelow you will find a list of all commonly used apt-get options. ![]() The apt-get command is modified by adding one or more options to the syntax. ![]() To remove the unnecessary packages that apt-get automatically installs to satisfy dependencies for other packages, run the command: apt-get autoremove How to Use apt-get Options The clean command removes everything except the local file from /var/cache/apt/archives/ and /var/cache/apt/archives/partial/.Īnother way to empty the local repository of retrieved files is to use autoclean and clear out packages that are no longer available: apt-get autoclean To clean the local repository of retrieved package files, use the command: apt-get clean To remove the package along with its configuration files, use the command: apt-get purge However, this command only removes the package, leaving its configuration files on the system. To remove a package use the command: apt-get remove To download a package with all required dependencies without installing by running: apt-get install -download-only How to Remove Packages with apt-get If you have packages with many reverse dependencies and you need the most up-to-date versions, use the apt-get reinstall command. To install multiple packages at the same time with a single command: apt-get install ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |