Sunday, June 25, 2006

Prepaid Visa Card In Calgary

Install and manage software with RPM


Installer des RPM
Syntaxe de la commande d'installation: # rpm -ivh vim-common-xxx.rpm
Installe le paquetage
vim-common
. -v
: mode "bavard"
-h : dessine les barres de progression avec le signe dièse
# rpm -ivh --test vim-common-xxx.rpm
Teste l'installation avant d'installer quoi que whatsoever.
Update RPM

The update is done with the option-U
.


# rpm-Uvh vim-common-xxx.rpm Note: you can also use

-U instead of-i for installation.

# rpm-Uvh - test-common vim-xxx.rpm
Used to test the command. Remove from RPM

Removal software is with the-e option
.


# rpm-ev-common vim It is not necessary to invoke the name of the whole package.

# rpm-ev vim-common vim-enhanced
To uninstall multiple programs at once, use a list of elements separated by spaces.
# rpm-ev - nodeps vim-common

Uninstall a package without checking dependencies.
# rpm-ev - test-common vim

Test command before deleting anything.

Obtain information about RPM installed

The query functions begin with the RPM-q option
.


# rpm-q vim-common Ask the RPM database if the package vim-common

is installed.
# rpm-qa
Lists all installed packages.
# rpm-qa

thunderbird-1.0.8-1.4.1.centos4 more June 21, 2006 11:41:39 EDT

gtkcdlabel-1.0pre8-1 more June 14, 2006 13:06:47 EDT
cdlabelgen-3.0 .0-1 more June 14, 2006 13:05:55 EDT


audacity-1.2.4b-1.2.el4.rf more June 14, 2006 10:46:18 EDT
libid3tag-0.15.1b-3.2.el4 . rf more June 14, 2006 10:46:16 EDT

wxgtk-2.4.2-8 more June 14, 2006 10:46:01 EDT
wxgtk-common-2.4.2-8 more June 14, 2006 10: 45:58 EDT xine-0.99.4-4.2.el4.rf more June 7, 2006 16:14:11 EDT

perl-Video-DVDRip-0.52.6-2.el4.kb more June 7, 2006 16:10:30 EDT
ogmtools-1.5-2.el4.rf more June 7, 2006 16:10:29 EDT
subtitleripper-0.3.4-3.el4.rf more June 7, 2006 16:10:28 EDT
perl-libintl-1.11-2.2.el4.rf more 07 June 2006 16:10:25 CEST
Gtk-Perl-0.7008-37 more June 7, 2006 16:10:22 EDT
libglade-0:17 to 15 more June 7, 2006 16:10:21 EDT
libxml -1.8.17-12 more June 7, 2006 16:10:05 EST
Lists the last 15 packages installed.
# rpm-ql
/ usr/share/man/man1/vimdiff.1.gz

/ usr/share/man/man1/vimtutor.1.gz Lists the files installed by the package.
# rpm-qd vim-enhanced
/ usr/share/man/man1/rvim.1.gz

/ usr/share/man/man1/vimdiff.1



/ usr/share/man/man1/vimdiff.1.gz

/ usr/share/man/man1/vimtutor.1.gz Lists the documentation files of a package installed.
# rpm-qc vim-enhanced
/ etc / profile.d / vim.csh

/ etc / profile.d / vim.sh
Lists the configuration files of an installed package.
# rpm-qcf / usr / bin / vim
/ etc / profile.d / vim.csh
/ etc / profile.d / vim.sh
Lists the configuration files an order. The option-f
( - file ) query the package owning the file. See the following example.
# rpm-qi kernel-utils
Name: kernel-utils Relocations: (not relocatable) Version: 2.4 Vendor: CentOS
Release: 13/01/1980 Build Date: Wed, March 8th, 2006 10:50:39 p.m. CET
Install Date: Mon, 05 Jun 2006 2:43:49 p.m. EST Build Host: build-i386 Group
System Environment / Base Source RPM: kernel-utils-2.4-13.1.80.src.rpm


Size: 1505214 License: GPL / OSL Signature
: DSA/SHA1, Thurs, March 9th, 2006 5:06:18 CET, Key ID a53d0bab443e1821 Packager: Johnny Hughes
Summary: Kernel and Hardware related utilities
Description:
kernel-utils contains several utilities that can be used to control
the kernel or your machines hardware. Included are


* cpuspeed - dynamically change the speed of CPUs (if CPU is capable)
* dmidecode - gives information about the bios and motherboard revisions * irqbalance - Evenly distribute interrupt load across CPUs.
* microcode_ctl - updates the microcode on Intel cpus

* rng-tools - Hardware random number generation tools.
* smartctl - monitor the health of your disks
Affiche les informations à propos d'un paquetage.
# Rpm-qif / etc / init.d / gpm

Name: gpm Relocations: (not relocatable) Version: 1.20.1 Vendor: CentOS

Release: 66 Build Date: Tues, February 22, 2005 1:15:21 CET
Install Date: Mon, 05 Jun 2006 2:43:13 p.m. EST Build Host: guru.build.karan.org
Group: System Environment / Daemons Source RPM: gpm-1.20.1-
66.src.rpm Size: 293470 License: GPL Signature
: DSA/SHA1, Sat, February 26, 2005 9:44:23 p.m. CET, Key ID a53d0bab443e1821
Packager : Karanbir Singh
Summary : A mouse server for the Linux console.
Description :
Gpm provides mouse support to text-based Linux applications like the
Emacs editor and the Midnight Commander file management system. Gpm
also provides console cut-and-paste operations using the mouse and
includes a program to allow pop-up menus to appear at the click of a
mouse button.
Affiche les informations à propos d'un fichier ou d'une commande.
# rpm -qf /usr/bin/vim
vim-enhanced-6.3.046-0.40E.7
Lets find out what package a file belongs.
Obtain information about RPM uninstalled
option

-p

performs queries on non-RPM installed.
# rpm-qpl vim-enhanced-xxx.rpm Lists all files installed by the package.



0 comments:

Post a Comment