Apt-get

xiaoxiao2021-03-06  23

Softwareupgrading

Debianwiki, free encyclopedia

Note!! Execute the "APT-GET" instruction to be executed as "root"!

# APT-GET UPDATE

Soft Database Synchronization: This is the starting point of the "APT-GET" instruction. Before following up any "APT-GET"-related software installation or upgrade instruction, you must first "APT-GET UPDATE" instructions first, which will make the system according to "Sources" .List "Sets the soft source server position of the file record, performs the software library alignment action, so that you can know if the software version installed on the system is consistent with the soft version of the server on the server, if it is not uniformly indicating that there is a new version Software can be upgraded or installed, the next "APT-GET Install, Apt-Get Upgrade, Apt-Get Dist-Upgrade .." can then complete the follow-up action. example:

The drawings update is ETERM that performs "Apt-Get Update":

Drawings UPDATE APT-GET INSTALL

Software installation:

The most fear of installing software is the dependence of the software, the relationship, in the "preface", also mentioned the annoying experience of other GNU / Linux Distribution used in the past, but the installation software in Debian is a very pleasant thing. As long as the "Apt-Get Install" one-line command is simple and easy to complete, all dependence, the Debian will help us take care, you have to do "Say Yes". example:

BRIEF DESCRIPTION OF ETERM: Eterm when installing "ATERM":

Drawings INSTALL - Reinstall Parameters APT-GET Remove

Software removal:

Like Install, Debian will help you process dependence issues that occur when you remove your software. example:

The drawings Remove is the ETERM that removes "ATERM":

Drawings Remove Apt-Get Upgrade

Software upgrade:

It is difficult to conscientiously we have a new version of the dozens or even hundreds of software installed on the system, and now you will automatically find all the new version of the software kit and upgrade one by one. example:

Under the end, the author performs the "APT-GET UPGRADE" system report search situation and asks if the screen is agreed to upgrade:

Diagram UPGRADE

Agree, please type "Y" disagree, please type "N" jump from the upgrade screen. APT-GET DIST-UPGRADE

System Upgrade:

When transfers the entire system, if "Stable" is converted to "Testing", or the system is running for a while, it should be smart to process a lot of software dependence, repellency problems. example:

The author implements the "APT-GET DIST-UPGRADE" screen as drawing DIST-UPGRADE:

Drawing Dist-Upgrade Apt-Get Source

If you want to get the original code of a piece of software suite, you can reach this instruction. Apt-get clean

We will be downloaded under the "/ var / cache / Apt / Archive / Partial /" directory through any software installed through the APT-GET / APT / Archive / Partial / "/ VAR / Cache / APT / Archive / Partial /", and the preset Apt-get is installed. After the software, it will not kill the ".deb" under the above position. If you feel that the system space is insufficient, you can automatically clean the system with "APT-GET CLEAN". Apt-get autoclean

Similar to "Apt-Get Clean", the APT-GET will automatically delete the ".deb" file of the software after installation. APT-GET CHECK

Apt-get is not a million, sometimes there will be problems, as with the figure Broken, you can diagnose the problem with "Apt-Get Check" when you encounter problems.

BROKEN APT-GET Remove --Purge `Deborphan` (Clear system redundant library)

When you use Debian for a while, if you are often installed, remove the soft body will have a residual library in the system. The reason is when you install the software, Debian installed additional library in accordance with the soft body properties, but when you remove When the software, when the Library installed in the beginning, the system will be removed together. After the system, the system will have residual library. At this time, you can use this line of instructions to remove library in the system to ensure the cleaning of the system. . Apt-get build-dep package_name (your own compilation)

Apt-Get Install Pentium-Builder Example (APT-Get Build-Dep LICQ) Other Common Auxiliary Options:

-f (-fix-broker)

If you can't install it, try the "-f" parameter. -d (-download-only)

Only download ".deb" without installing, the downloaded file will be stored under "/ var / cache / APT / Archives /".

Example: "Apt-Get -D Install ATERM". --Purge

This parameter will help you remove the relevant software that you want to remove the software.

Example: "Apt-Get --Purge Remove ATERM".

Take a self

http://wiki.debian.org.tw/index.php/softwareupgrading "

转载请注明原文地址:https://www.9cbs.com/read-65356.html

New Post(0)