Moxa UC-8410A-T-LX [60/86] Bupgrade all software packages

Moxa UC-8410A-T-LX [60/86] Bupgrade all software packages
UC-8410A Series Linux Software General Debian Package Usage
5-20
Check Package Information
To get more detailed package information (e.g., version number, check sums, size, installed size, category)
along with the short description, use the
show sub-command, as shown below:
moxa@Moxa:~$ sudo apt-cache show vim
Check Dependencies for Specific Packages
Use the showpkg sub command to check the dependencies for particular software packages, and whether
those dependent packages are installed or not. For example, use the
showpkg command along with the
package name as shown below:
moxa@Moxa:~$ sudo apt-cache showpkg vim
Check Cache Statistics
The stats sub command displays the overall statistics of the cache. For example, the following command will
show the complete package information of all packages found in the cache:
moxa@Moxa:~$ sudo apt-cache stats
Update System Packages
The update command is used to resynchronize the package index files from the their sources specified in the
/etc/apt/sources.list file. The updated commands will fetch the packages from their locations and update
the packages to the newer version.
moxa@Moxa:~$ sudo apt-get update
Install or Upgrade Specific Packages
Use the install sub command to install or upgrade one or more packages.
moxa@Moxa:~$ sudo apt-get install vim
Upgrade All Software Packages
The upgrade command is used to upgrade all software packages currently installed on the system.
moxa@Moxa:~$ sudo apt-get upgrade
Install Multiple Packages
You can add more than one package name along with the command in order to install multiple packages at the
same time. For example, the following command will install packages “vim” and “goaccess”:
moxa@Moxa:~$ sudo apt-get install vim goaccess
Install Packages Without Upgrading
Use the –no-upgrade sub command to prevent the installed packages from being upgraded.
moxa@Moxa:~$ sudo apt-get install packageName --no-upgrade

Содержание

Скачать