
UC-8100-LX Software Manual
General Debian Package Usage
5-21
128B
Check Broken Dependencies
The ‘
check
‘ command is a diagnostic tool. It used to update package cache and checks for broken
dependencies.
moxa@Moxa:~$ sudo apt-get check
129B
Search and Build Dependencies
This ‘build-dep‘ command searches the local repositories in the system and install the build dependencies for
package. If the package does not exists in the local repository it will return an error code.
moxa@Moxa:~$ sudo apt-get build-dep wget
130B
Auto Clean Apt-Get Cache
The ‘
autoclean
‘ command deletes all
.deb
files from
/var/cache/apt/archives
to free-up significant
volume of disk space.
moxa@Moxa:~$ sudo apt-get autoclean
131B
Auto Remove Installed Packages
The ‘
autoremove
‘ sub command is used to auto remove packages that were certainly installed to satisfy
dependencies for other packages and but they were now no longer required. For example, the following
command will remove an installed package with its dependencies.
moxa@Moxa:~$ sudo apt-get autoremove wget