Yum updating


This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant.They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.Click Here to receive this Complete Guide absolutely i want to update yum but is it a good idea to use yum for updating itself?I'm a beginner and i need some advice about that I'm also looking about a command that gives me all the available packages in a repository that i added to yum thx You can use yum to update itself - that's absolutely fine.Yum downloads the package lists automatically, and the repositories are configured in files under /etc/yum.repos.d.

$ yum search python rsync ssh ========================= Matched: python, rsync, ssh ========================== rdiff-backup.i386 : Convenient and transparent local/remote incremental : mirror/backup ============================ Matched: python, rsync ============================ cobbler.noarch : Boot server configurator ============================= Matched: python, ssh ============================= denyhosts.noarch : A script to help thwart ssh server attacks pexpect.noarch : Pure Python Expect-like module python-paramiko.noarch : A SSH2 protocol library for python python-twisted-conch.i386 : Twisted SSHv2 implementation ============================= Matched: rsync, ssh ============================== duplicity.i386 : Encrypted bandwidth-efficient backup using rsync algorithm pssh.noarch : Parallel SSH tools $ yum provides MTA 2:postfix-2.5.5-1.fc10.i386 : Postfix Mail Transport Agent Matched from: Other : MTA exim-4.69-7.fc10.i386 : The exim mail transfer agent Matched from: Other : MTA sendmail-8.14.3-1.fc10.i386 : A widely used Mail Transport Agent (MTA) Matched from: Other : Provides-match: MTA $ yum provides \*bin/ls coreutils-6.12-17.fc10.i386 : The GNU core utilities: a set of tools commonly : used in shell scripts Matched from: Filename : /bin/ls During its normal use yum creates a cache of metadata and packages. The yum clean command allows you to clean up these files.

Those that are using RHN Classic management functions via the web or RHN Satellite 5.4 and earlier or Red Hat Satellite 5.6 and later should choose RHN Classic for now.

Customers using older versions of Red Hat Enterprise Linux must continue using RHN Classic. System can also be registered via the command line by using the "subscription-manager" command.

Red Hat Enterprise Linux starting with versions 6.1 and 5.7 introduced a new Red Hat Subscription Management (RHSM) service, which runs in parallel with Red Hat Network (RHN) Classic.

Users that are new to Red Hat or would like the enhanced subscription information and improved content access should use RHSM.

If one or more packages or package globs are specified, Yum will only update the listed packages.

You must have an account to comment. Please register or login here!