Moxa UC-8410A-T-LX [62/86] Auto clean apt get cache

Moxa UC-8410A-T-LX [62/86] Auto clean apt get cache
UC-8410A Series Linux Software General Debian Package Usage
5-22
Download a Package Without Installing
Use the download option to download any given package without installing it. For example, the following
command will only download the “nethogs” package to the current working directory.
moxa@Moxa:~$ sudo apt-get download wget
Check a Package’s Change Log
The changelog flag downloads a package’s change log and displays the version information of the package
that is installed:
moxa@Moxa:~$ sudo apt-get changelog wget
Check Broken Dependencies
The check command is a diagnostic tool used to update a package cache and check for broken dependencies.
moxa@Moxa:~$ sudo apt-get check
Search and Build Dependencies
The build-dep command searches the local repositories in the system and installs the build dependencies for
a package. If the package does not exist in the local repository, it will return an error code.
moxa@Moxa:~$ sudo apt-get build-dep wget
Auto Clean Apt-Get Cache
The autoclean command deletes all .deb files from /var/cache/apt/archives to free up a significant
volume of disk space:
moxa@Moxa:~$ sudo apt-get autoclean
Auto Remove Installed Packages
The autoremove sub command is used to automatically remove packages that were installed to satisfy
dependencies on other packages, but are no longer required. For example, the following command will remove
the installed package wget, including all its dependent packages:
moxa@Moxa:~$ sudo apt-get autoremove wget

Содержание

Скачать