
UC-8100-LX Software Manual
General Debian Package Usage
5-20
120B
Remove Packages Without Configuration
To un-install software packages without removing their configuration files (for later re-use the same
configuration). Use the
‘remove
‘ command as shown.
moxa@Moxa:~$ sudo apt-get remove wget
121B
Completely Remove Packages
To remove software packages including their configuration files, use the ‘purge‘ sub command as shown below.
moxa@Moxa:~$ sudo apt-get remove --purge wget
122B
Clean Up Disk Space
The ‘
clean
‘ command is used to free up the disk space by cleaning retrieved (downloaded)
.deb
files (packages)
from the local repository.
moxa@Moxa:~$ sudo apt-get clean
123B
Download Only Source Code of Package
To download only source code of particular package, use the option ‘
–download-only source
‘ with
‘package-name’ as shown.
moxa@Moxa:~$ sudo apt-get --download-only source wget
124B
Download and Unpack a Package
To download and unpack source code of a package to a specific directory, type the following command.
moxa@Moxa:~$ sudo apt-get source wget
125B
Download, Unpack and Compile a Package
You can also download, unpack and compile the source code at the same time, using option ‘–compile‘ as
shown below.
moxa@Moxa:~$ sudo apt-get --compile source wget
126B
Download a Package Without Installing
Using ‘
download
‘ option, you can download any given package without installing it. For example, the following
command will only download ‘
nethogs
‘ package to current working directory.
moxa@Moxa:~$ sudo apt-get download wget
127B
Check Change Log of Package
The ‘
changelog
‘ flag downloads a package change-log and shows the package version that is installed.
moxa@Moxa:~$ sudo apt-get changelog wget
Содержание UC-8100-LX
Страница 8: ...UC 8100 LX Software Getting Started 2 2...
Страница 38: ...UC 8100 LX Software Manual Security On UC 8100 LX 4 2...