Navigation
Records in this category
- Fedora 11 upgradation
- up2date tutorial
- RHEL5 Kickstart installation using HTTP
- LastLog Editor - Unix LogFiles
- How to enable the fingerprint reader in Linux
- How to use gnome-volume-manager in Gentoo linux
- How to break raid 1 Mirror in Linux ?
- How to set up local exchange server to receive email from my domain or website ?
- How to change file permissions in cpanel to 4755
- How to edit the DNS entries in Cpanel (WHM)
- How to configure Linux and Samba with roaming profile suport for windows clients
- How to restrict "rm -rf *" command in Linux/Unix ?
- How do I change IP Address of my linux machine
- How to check what version of Linux installed in my machine
- How do you open a TCP Port in Debian Linux?
- How to force Ubuntu to re-detect and re-configure Graphics chipset?
- How to mount NTFS file system in Redhat linux 9.0
- How to utomatically mount cd/dvd and usb rhel5?
- How to copy LARGE files using linux cp command ?
- How to find If my linux OS is 64 bit or 32 bit system
- How to mount network drives using Pam_mount.conf.xml?
- How do I compile Squid?
- How to build Squid on various OS
- How do I start Squid?
- How do I start Squid automatically when the system boots?
- How do I tell if Squid is running?
- What are the squid command line options
- Can Squid benefit from SMP systems?
- Is it okay to use separate drives for Squid?
- How do I configure Squid without re-compiling it?
- What does the squid.conf file do?
- How do I join a cache hierarchy in Squid ?
- How do I register my cache with NLANR's registration service?
- Why my cache registration is not appearing in the Tracker database.
- How do I configure Squid to work behind a firewall?
- How do I configure Squid forward all requests to another proxy?
- What ''cache_dir'' size should I use?
- I'm adding a new cache_dir. Will I lose my cache?
- Squid and http-gw from the TIS toolkit.
- What is "HTTP_X_FORWARDED_FOR"? Why does squid provide it to WWW servers, and how can I stop it?
- Can Squid anonymize HTTP requests?
- Can I make Squid go direct for some sites?
- Can I make Squid proxy only, without caching anything?
- Can I prevent users from downloading large files using squid?
- How do I add default gateway in RedHat 7.2
- I can't upgrade any packages, run up2date or rpm. What is wrong?
- What is the safest way how to repair rpm database
- Okay, I am convinced that RPM-based package management is worth exploring, but my (Unix|Linux|BSD|whatever) distribution does not ship a version already pre-built which I can just install.I have looked everywhere, and it is just not available.What should I do?
- How to Disable Ctrl + ALT + Del restart
- How to recover root password in Linux
- What are the User and Group management commands in (RHEL/CentOS/Fedora)
- How to configure a samba file server in Linux
Tags
Sticky FAQs
Linux
up2date tutorial
For Redhat enterprise Linux operating systems, you need to get updates from RHN via Redhat Network Satellite/proxy servers (usually used by big hosting/ISPs or larget RHEL installation setups) to install critical and non-critical security updates as well as binary packages.
This example shows how to register your system with RHN
To register your system with RHN type the following command and just follow on screen instructions:
# up2date --register
Please Note: These examples only works with RHEL version 2.x, 3.x and 4.x only. RHEL version 5.x comes with yum utility to update and install packages.
This example display list of updated software (security fix)
Type the following command at shell prompt:
# up2date -l
This example shows how to [atch up system by applying all updates
To download all update type the following command:
# up2date -u
This example shows how to forcefully update or do patching
Sometime you need to forcefully apply updates. By default RHN does not install new kernel, so you need to run updates using following command:
# up2date -uf
This example shows how to install a new software/rpm
Use up2date command to install new RPM from RHN:
# up2date httpd
This example shows how to update an installed software
To fix latest bugs or to apply a patch use up2date command as follows for php package:
# up2date php
This example shows how to download the source RPM files
Download source packages only but don't install:
# up2date -d --src Package-Name
This example shows how to display the list of available packages
# up2date --showall
# up2date --showall | grep httpd
This example shows how to install a particular architecture package
If you are using 64 bit RHEL version it is possible to install 32 packages:
# up2date --arch=i386 mysql
Above command will install mysql 32 bit version instead of 64 bit version.
This example shows how to display what package provides the file
You can easily find out what RPM package provides the file. For example find out what provides the /etc/passwd file:
# up2date --whatprovides "/etc/passwd"
Output:
setup-2.5.37-1.3.noarch
It queries the RHN servers to resolve the comma separated list of dependencies. It will return a list of packages that will satisfy these dependencies.
This example shows how to display the list of group software
Option --show-groups displays all the component groups that are installable via up2date command. This is good to install entire set of software such as development environment.
# up2date --show-groupsOutput:
Administration Tools
Arabic Support
Assamese Support
Authoring and Publishing
GNOME
GNOME Desktop Environment
GNOME Software Development
Games and Entertainment
Windows File Server
Workstation Common
X Software Development
X Window System
XEmacs
To install group X Software Development just type the command:
# up2date -i "@ X Software Development "
To read man page of up2date command for more information:
man up2date
Related entries:
- Fedora 11 upgradation
- RHEL5 Kickstart installation using HTTP
- LastLog Editor - Unix LogFiles
- Passive Network Traffic Analysis: Understanding a Network Through Passive Monitoring
- Intrusion Detection Terminology (Part Two)
Last update: 2009-06-18 18:48
AuthorLuke Francis
Revision: 1.0
You cannot comment on this entry