2011年5月12日星期四

Linux Command Line- urpmi_4445

Linux Command Line: urpmi What does urpmi do?

The urpmi command is actually part of a suite of tools developed by Pascal Rigaux to overcome some of the limitations of the rpm command. The suite of tools urpmi belongs to contains the following commands:

urpmi: Install a package urpme: Uninstall a package urpmf: Find a package (NOTE: This does not search your local database but the urpmi media) urpmq: Query the package database urpmi.update: Update your package listing

Obviously each command handles a different task, but each command is related to package management.

Basic Usage

First and foremost Dell Vostro 1510 Battery, the urpmi-related commands all must be cheap run as the root user. The only exceptions to this rule are urpmq and urpmf which can be run as the standard user.

Let us examine the command structure replacement of urpmi.

the structure of the urpmi command is: urpmi [OPTIONS] APP_NAME (Where APP_NAME is the name of the application to install.)

The possible shop options for urpmi are:

--media: Select specific media to use.

--excludemedia: Do not use the specified media.

--update: Search packages in media cheap that is marked as containing updates.

--auto: Install all dependencies without asking.

--auto-update: Same as above but also automatically runs charger urpmi.update.

Now Dell Inspiron 1501 Battery, let's say you want to install Kopete, the KDE chat client. To do this you would issue, as root, urpmi kopete. In the case of Kopete you might have to gateway answer a question such as:

In order to satisfy the 'qca2-plugin-openssl-lib' dependency sony laptop batteries, one of the following packages is needed:

1- new qca2-plugin-openssl-lib-2.0.0-1mdv2008.1.i586: OpenSSL plugin for QCA (to install)

2- libqca2-plugin-openssl-2.0.1-2mdv2008.1.i586: OpenSSL plugin for QCA (to store install)

What is your choice? (1-2)

After that you will have returned exactly what is being done on your system. You will be asked if you wish to continue compaq with the installation. The default is yes so you can just hit enter to continue. If you add the --auto switch to the command you will not have to answer "y" discount to install dependencies. As the package, and the package dependencies, install you will see "#" symbols fly by, indicating progress. Once your requested package acer aspire finally installs you will returned back to the command prompt. Congratulations Dell Vostro 1510 battery, your package is installed.

Final Thoughts

The urpmi tool takes an already solid zxcsky09520 installation too (rpm) and gives it a shot in the arm, making it easier to use and even more reliable. If you use Mandriva Linux, it will behoove you to get to know this handy too

没有评论:

发表评论