up2date command was part of RHEL v4.x or older version. You need to use yum command to update and patch the system using RHN or Internet. Use yum command to install critical and non-critical security updates as well as binary packages. Login as the root user to install and update the system. This page show examples of common sysadmin tasks that you can perform using yum command on a CentOS or RHEL.
How to register my RHEL based system with RHN
To register your RHEL 5.x system with RHN type the following command and just follow on screen instructions (CentOS user skip to the next step):
# rhn_register
To register your RHEL 7.x system with RHN type the folllwong
# subscription-manager register --username tom --password jerry --auto-attach
How to display a list of updated software and security fix
Type the following command at shell prompt:
# yum list updates
Sample outputs:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * epel: repo.ugm.ac.id * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in Updated Packages apr.x86_64 1.3.9-5.el6_9.1 updates device-mapper.x86_64 1.02.117-12.el6_9.1 updates device-mapper-libs.x86_64 1.02.117-12.el6_9.1 updates kernel-devel.x86_64 2.6.32-696.16.1.el6 updates kernel-headers.x86_64 2.6.32-696.16.1.el6 updates libblkid.x86_64 2.17.2-12.28.el6_9.1 updates libuuid.x86_64 2.17.2-12.28.el6_9.1 updates util-linux-ng.x86_64 2.17.2-12.28.el6_9.1 updates
How to find out whether updates exist for packages that are already installed on my system
# yum check-update
Patch up system by applying all updates
To download and install all updates type the following command:
# yum update
Sample outputs:
$ sudo yum update --security
To update specified packages
Updates the specified package. The syntax is
$ yum update {package-name-1}
To check for and update httpd package, enter:
$ sudo yum update httpd
You can update one packages to a particular version say nginx using the following syntax:
$ ## first find a list of all dups ##
$ yum --showduplicates list nginx
$ ## now update to particular version ##
$ sudo yum update-to nginx-version
$ sudo yum update-to nginx-1.12.2-1.el7
List all installed packages
To list all installed packages, enter:
$ rpm -qa ## not recommend just use yum ##
$ yum list installed
Sample outputs:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * epel: mirror1.ku.ac.th * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in Installed Packages GeoIP.x86_64 1.5.0-11.el7 @base OpenEXR-libs.x86_64 1.7.1-7.el7 @base SDL.x86_64 1.2.15-14.el7 @base ShellCheck.x86_64 0.3.5-1.el7 @epel acl.x86_64 2.2.51-12.el7 @base alsa-lib.x86_64 1.1.3-3.el7 @base apr.x86_64 1.4.8-3.el7_4.1 @updates apr-util.x86_64 1.5.2-6.el7 @base atk.x86_64 2.22.0-3.el7 @base atk-devel.x86_64 2.22.0-3.el7 @base atlas.x86_64 3.10.1-12.el7 @base audit-libs.x86_64 2.7.6-3.el7 @base autoconf.noarch 2.69-11.el7 @base autogen-libopts.x86_64 5.18-5.el7 @base .... .. ... yum-plugin-fastestmirror.noarch 1.1.31-42.el7 @base zip.x86_64 3.0-11.el7 @base zlib.x86_64 1.2.7-17.el7 @base zlib-devel.x86_64 1.2.7-17.el7 @base
Find out if httpd package installed or not on the system
$ rpm -qa | grep httpd*
$ yum list installed httpd
Sample outputs:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* epel: repo.ugm.ac.id
* extras: centos.excellmedia.net
* updates: centos.excellmedia.net
Installed Packages
httpd.x86_64 2.4.6-67.el7.centos.6 @updates
Lists all packages that are available to install all packages that are installed on system
$ yum list
$ yum list
$ yum list | more ## [ Use more command to show info one screen at a time ] ##
$ yum list | grep bash ## [ Use grep command to filter out results ] ##
Lists all packages that are available for installation
$ yum list available
$ yum list available | more
$ yum list available | grep nginx
How to search for packages by name
You can search the package descriptions for the specified string using search command. The list command can be used too. To search httpd and all matching perl packages, enter:
$ yum list {package-name}
$ yum list {regex}
$ yum list httpd
$ yum list perl*
$ yum search {package-name}
$ yum search nginx
$ yum search nginx*
Sample output from yum list perl*:
Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Installed Packages perl.i386 4:5.8.8-10.el5_0.2 installed perl-Archive-Tar.noarch 1.30-1.fc6 installed perl-BSD-Resource.i386 1.28-1.fc6.1 installed perl-Compress-Zlib.i386 1.42-1.fc6 installed perl-DBD-MySQL.i386 3.0007-1.fc6 installed perl-DBI.i386 1.52-1.fc6 installed perl-Digest-HMAC.noarch 1.01-15 installed perl-Digest-SHA1.i386 2.11-1.2.1 installed perl-HTML-Parser.i386 3.55-1.fc6 installed ..... ....... .. perl-libxml-perl.noarch 0.08-1.2.1 base perl-suidperl.i386 4:5.8.8-10.el5_0.2 updates
How to see detailed information about a package
The syntax is:
$ yum info {pkg-1} {pkg-2}
$ yum info htop
$ yum info nginx htop
Sample outputs:
How to show dependencies list for a package
The syntax is:
$ yum deplist {pkg}
## show for htop pkg
$ yum deplist htop
Sample outputs:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: repo.ugm.ac.id * extras: centos.excellmedia.net * updates: centos.excellmedia.net package: htop.x86_64 2.0.2-1.el7 dependency: libc.so.6(GLIBC_2.15)(64bit) provider: glibc.x86_64 2.17-196.el7_4.2 dependency: libgcc_s.so.1()(64bit) provider: libgcc.x86_64 4.8.5-16.el7_4.1 dependency: libgcc_s.so.1(GCC_3.0)(64bit) provider: libgcc.x86_64 4.8.5-16.el7_4.1 dependency: libgcc_s.so.1(GCC_3.3.1)(64bit) provider: libgcc.x86_64 4.8.5-16.el7_4.1 dependency: libm.so.6()(64bit) provider: glibc.x86_64 2.17-196.el7_4.2 dependency: libm.so.6(GLIBC_2.2.5)(64bit) provider: glibc.x86_64 2.17-196.el7_4.2 dependency: libncursesw.so.5()(64bit) provider: ncurses-libs.x86_64 5.9-14.20130511.el7_4 dependency: libtinfo.so.5()(64bit) provider: ncurses-libs.x86_64 5.9-14.20130511.el7_4 dependency: rtld(GNU_HASH) provider: glibc.x86_64 2.17-196.el7_4.2 provider: glibc.i686 2.17-196.el7_4.2
How to install the specified packages [ RPM(s) ]
To install package called httpd:
# yum install {package-name-1} {package-name-2}
# yum install httpd
# yum install nginx mariadb-server php-fpm
# yum install htop
Sample outputs:
$ sudo yum localinstall foo.rpm
$ sudo yum https://server1.cyberciti.biz/foo.rpm
It is possible to install particular version too. To find or show duplicates, in repos, in list/search commands
$ yum --showduplicates list php
$ ## now install to particular version ##
$ sudo yum update-to php-version
$ sudo yum update-to php-7.0.2-1.nix
How to downgrade a package to an earlier version
The syntax is:
# yum downgrade {pkg}
# yum downgrade nginx
How to reinstall a package again
The syntax is:
# yum reinstall {pkg}
# yum reinstall httpd
How to remove / uninstall the specified packages [ RPM(s) ]
Remove package called httpd, enter:
# yum remove {package-name-1} {package-name-2}
# yum erase {package-name-1} {package-name-2}
# yum remove httpd
# yum erase htop
How to remove unneeded/unwanted packages/deps
The syntax is:
# yum autoremove
Sample outputs:
Loaded plugins: fastestmirror Resolving Dependencies --> Running transaction check ---> Package tcp_wrappers-libs.x86_64 0:7.6-77.el7 will be erased --> Finished Dependency Resolution --> Finding unneeded leftover dependencies Found and removing 0 unneeded dependencies Dependencies Resolved ======================================================================================================= Package Arch Version Repository Size ======================================================================================================= Removing: tcp_wrappers-libs x86_64 7.6-77.el7 @base 131 k Transaction Summary ======================================================================================================= Remove 1 Package Installed size: 131 k Is this ok [y/N]: y Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Erasing : tcp_wrappers-libs-7.6-77.el7.x86_64 1/1 Verifying : tcp_wrappers-libs-7.6-77.el7.x86_64 1/1 Removed: tcp_wrappers-libs.x86_64 0:7.6-77.el7 Complete!
Display the list of available packages
$ yum list all
Display list of group software
Type the following command:
$ yum grouplist
OR
$ yum groups list
Output:
Installed Groups: Engineering and Scientific MySQL Database Editors System Tools Text-based Internet Legacy Network Server DNS Name Server Dialup Networking Support FTP Server Network Servers Legacy Software Development Legacy Software Support Development Libraries Graphics Web Server Ruby Printing Support Mail Server Server Configuration Tools PostgreSQL Database Available Groups: Office/Productivity Administration Tools Beagle Development Tools GNOME Software Development X Software Development Virtualization GNOME Desktop Environment Authoring and Publishing Mono Games and Entertainment XFCE-4.4 Tomboy Java Java Development Emacs X Window System Windows File Server KDE Software Development KDE (K Desktop Environment) Horde Sound and Video FreeNX and NX News Server Yum Utilities Graphical Internet Done
Install all the default packages by group
Install all ‘Development Tools’ group packages, enter:
# yum groupinstall "Development Tools"
OR
# yum groups install "Development Tools"
Update all the default packages by group
Update all ‘Development Tools’ group packages, enter:
# yum groupupdate "Development Tools"
OR
# yum groups update "Development Tools"
Remove all packages in a group
Remove all ‘Development Tools’ group packages, enter:
# yum groupremove "Development Tools"
OR
# yum groups remove "Development Tools"
Display description and contents of a package group
$ yum groupinfo 'Development Tools'
OR
$ yum groups info 'Development Tools'
$ yum groups info 'File and Print Server'
Sample outputs:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: del-mirrors.extreme-ix.org * epel: ftp.riken.jp * extras: del-mirrors.extreme-ix.org * updates: del-mirrors.extreme-ix.org Environment Group: File and Print Server Environment-Id: file-print-server-environment Description: File, print, and storage server for enterprises. Mandatory Groups: +base +core +file-server +print-server Optional Groups: +backup-client +backup-server +debugging +directory-client +guest-agents +ha +hardware-monitoring +java-platform +large-systems +network-file-system-client +performance +remote-system-management +resilient-storage
Install particular architecture package
If you are using 64 bit RHEL version it is possible to install 32 packages (please note that 32 bit support is dropped in the latest version of CentOS/RHEL 7.x):
# yum install {package-name}.{architecture}
# yum install mysql.i386
Display packages not installed via official RHN subscribed repos
Show all packages not available via subscribed channels or repositories i.e show packages installed via other repos:
$ yum list extras
Sample output:
Loading "installonlyn" plugin Loading "security" plugin Setting up repositories Reading repository metadata in from local files Extra Packages DenyHosts.noarch 2.6-python2.4 installed VMwareTools.i386 6532-44356 installed john.i386 1.7.0.2-3.el5.rf installed kernel.i686 2.6.18-8.1.15.el5 installed kernel-devel.i686 2.6.18-8.1.15.el5 installed lighttpd.i386 1.4.18-1.el5.rf installed lighttpd-fastcgi.i386 1.4.18-1.el5.rf installed psad.i386 2.1-1 installed rssh.i386 2.3.2-1.2.el5.rf installed
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:
$ yum whatprovides /etc/passwd
OR
$ yum provides /etc/passwd
Sample output:
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: centos.excellmedia.net * epel: repo.ugm.ac.id * extras: centos.excellmedia.net * updates: centos.excellmedia.net setup-2.8.71-7.el7.noarch : A set of system configuration and setup files Repo : base Matched from: Filename : /etc/passwd setup-2.8.71-7.el7.noarch : A set of system configuration and setup files Repo : @base Matched from: Filename : /etc/passwd
You can use same command to list packages that satisfy dependencies:
$ yum whatprovides {dependency-1} {dependency-2}
$ yum provides string
$ yum provides '*bin/nginx*'
How to clean yum cache
You can delete all cached and downloaded package, headers and other info:
# yum clean all
Sample outputs:
Loaded plugins: fastestmirror Cleaning repos: base epel extras updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors
Above command can help to clear problems that can result from out-of-date headers, network errors and more. To check the local RPM database for problems:
# yum check
How to list software repositories
$ yum repolist
Sample outputs:
repo id repo name status base/7/x86_64 CentOS-7 - Base 9591 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 12155 extras/7/x86_64 CentOS-7 - Extras 327 nginx/x86_64 nginx repo 313 updates/7/x86_64 CentOS-7 - Updates 1573 repolist: 23959
See information about enabled yum repositories
To get info about nginx repo, run:
$ yum repoinfo nginx
Sample outputs:
Repo-id : nginx/x86_64 Repo-name : nginx repo Repo-status : enabled Repo-revision: 1511279401 Repo-updated : Tue Nov 21 15:50:07 2017 Repo-pkgs : 313 Repo-size : 143 M Repo-baseurl : http://nginx.org/packages/mainline/centos/7/x86_64/ Repo-expire : 21600 second(s) (last: Sat Dec 23 16:49:24 2017) Filter : read-only:present Repo-filename: /etc/yum.repos.d/nginx.repo repolist: 313
How to work with given repository
The syntax is:
# yum repo-pkgs repo_name_id <list|install|remove|upgrade|reinstall> [pkg]
List all packages from nginx repository:
# yum repo-pkgs nginx list
Get info about nginx package from nginx repository:
# yum repo-pkgs nginx info | more
# yum repo-pkgs nginx info nginx
Install a package named ‘nginx’ from nginx repository:
# yum repo-pkgs nginx install nginx
Install ALL PACKAGES from nginx repository:
# yum repo-pkgs nginx install
Erase/remove/delete a package named ‘nginx’ from nginx repository:
# yum repo-pkgs nginx remove nginx
Erase/remove/delete ALL PACKAGES from nginx repository:
# yum repo-pkgs nginx remove
Upgrade nginx package from nginx repository:
# yum repo-pkgs nginx upgrade nginx
Reinstall nginx package from nginx repository:
# yum repo-pkgs nginx reinstall nginx
How to view and use yum history
The syntax is:
# yum history
# yum history list
# yum info ID
# yum undo ID
# yum redo ID
See “CentOS / RHEL: See Detailed History Of yum Commands” for more info.
How to see help about yum command
Refer yum command man page for more information:
$ man yum
$ yum help
$ yum help install
$ yum help erase
Sample outputs:
Loaded plugins: fastestmirror erase PACKAGE... Remove a package or packages from your system alias: remove
Summary of yum command
Command name | Description/usage |
---|---|
yum check-update | Display list of available package updates |
yum update yum update pkg1 |
Update all packages or update the pkg1 package |
yum install pkg | Install a package |
yum localinstall pkg.rpm | Install a package from a file named pkg.rpm |
yum erase pkg | Remove a package |
yum remove pkg | Same as above |
yum autoremove | Free disk space by removing unwanted packages |
yum reinstall pkg | Reinstall a package |
yum downgrade pkg | Downgrade a package to an older version |
yum check | Check rpm database for errors/problems |
yum clean packages | Delete cached packages database |
yum clean all | Delete out all packages and meta data from disk cache |
yum list yum list installed yum list php yum list available |
List package names |
yum deplist pkg1 | Show dependencies for a pkg1 |
yum info pkg | Show info about a package |
yum search pkg yum search regex |
Search package names |
yum provides string yum whatprovides string |
List package that provides the given file or other info |
yum history list | Show a list of all yum command history action such as install/update/erase |
yum history info ID | Get info of yum action ID |
yum history undo ID | Undo the yum command action from ID |
yum history redor ID | Redot the yum command action from ID |
yum grouplist | List package groups |
yum groupinstall ‘Group Name’ | Install all packages in the given group name |
yum groupinfo ‘Group Name’ | See packages in the given group name |
yum groupremove ‘Group Name’ | Remove/Delete all packages in the selected group |
yum repolist | Show a list of all enabled repositories |
yum repoinfo repoID | Show info about repoID |
yum repo-pkgs repoID list | Show packages from repoID repo |
yum repo-pkgs repoID install | Install all packages from repoID repo |
yum repo-pkgs repoID remove | Erase all packages from repoID repo |
yum repo-pkgs repoID reinstall | Reinstall all packages from repoID repo |
yum help yum help commandman yum |
Show help about yum command or read yum command man page |
- CentOS / RHEL / Scientific Linux 6/5 Enable and Install EPEL Repo
- How To Install EPEL Repo on a CentOS and RHEL 7.x
- yum command: Update / Install Packages Under Redhat Enterprise / CentOS Linux Version 5.x
- Install and enable EPEL repo on an RHEL 8.x
- CentOS 8 Install and enable EPEL repo
🐧 78 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Is it possible to update a red hat enterprise 5, without red hat network registration??
Thanks
yes u can update.
How?
Change the repository to cent os repos..then you can update it.
use oracle linux repos, it will work
Hello there
Hi am having problem entering graphic mode in RHEL 5.0,
When am booting into os, It coming up with an error
Cant find x-server, Try to install x-server….
and then it going to text mode for a min and throwing that error
Can any one help me plssss
thnx in advance
i found that something u have entered in inittab,u just change the appropriate run level and change to x-server environment…..the locaton of intitab is vim /etc/inttab…
go to /etc/inittab make settings of runlevels
Hi santosh
allready u gone text mode u give command init 5 it is find graphical mode
Hello there
Hi am having problem entering graphic mode in RHEL 5.0,
When am booting into os, It coming up with an error
Cant find x-server, Try to install x-server….
and then it going to text mode for a min and throwing that error
Can any one help me plssss
thnx in advance
Hi mohan,
how r u,
your problem is booting error
because u system unintall x-server. so pls install the x-server,
ok
hi puskhar kumar,
if you want to install linux or fedora or centos first of all you set a bois setup to first set a cdrom to select for booting process then restart your system and then press f9 then automatically to process for a next version installation.
It is possible to configure yum to install rpms from local media, using the following method:
1. Create a new repository file: /etc/yum.repos.d/local.repo
2. Type the following:
[local]
name=Red Hat Local Repository
baseurl=file:///media/RHEL_5.3%20i386%20DVD/Server
enabled=1
gpgcheck=0
The baseurl should be web-encoded (ie space=%20) point to the local media which contains the rpms to install and any dependent rpms, and the folder repodata/ with repomd.xml and TRANS.TBL.
3. Finally, run (as root):
yum install [package]
nice feature
thanks to hellp
hi,
this is to better commands of other command
bcoz another commands are so hard it is true
and this commands is very simple .
so thanks for this commands,
bye tc , have good day all .
i have a problem about a ubuntu (linux),
the error show, when i insert a disk of film in dvdrom then the error shows
the PlayBack of this movie requires a VCD protocol source plugin which is not installed
plz give me a solucation about this error.
4 yum installation
stp1- cp /etc/yum.repos.d/rhel(press tab) /etc/yum.repos.d/Server.repo
stp2- vi /etc/yum.reppos.d/Server.repo
stp3- in 3rd lin after ftp giv //ur machine ip/pub/Server (becz my Server is copy 2 pub)
stp4- createrepo -v /var/ftp/pub/Server
stp5- service vsftpd restart
stp6- yum update
thank u i am 2nd year eng student
i have this error when instaling yum
# yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named sqlitecachec
Please install a package which provides this module, or
verify that the module is installed correctly.
It’s possible that the above module doesn’t match the
current version of Python, which is:
2.4.3 (#1, Jan 14 2008, 18:32:40)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]
If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
yum install sqlitecachec
This is wonderful way to learn possible problems.
great……………….
I had installed yum from package cd.
I am having dell inspiron 1525 and have problem in running wifi , so can yum help me to install my wifi drivers compatible to my machine.
Thank you for this post. I didn’t know about the ‘groupremove’ function of YUM. That’s going to save HOURS of time later!
Hi hello, this is phanindra
I am having dell latitude 510 lappy and having a problem in running wifi, so can u help me hou to install the wifi drivers tat r compatible to my machine
how to take system backup on centos through graphical mode
Hi,
I want to whats the command to install all the RPMS in one command in RHEL5.
Thanks
This is the best class architecture of installation of yum.
thanks,
your team…
I’m having problem in installing VLC media player can someone help me I’ll gratefull to the person.
I’ve even configured YUM but still I think there is something to know that I don’t so please some body help me ………….
plzzzzzzzzzzzzzz
Ashish Bachchan
install using
yum install vlc* for centos,redhat,
sudo apt-get install vlc* for ubauntu
regards,
Santosh
thanks allot
Hi,
What is the command to add a YUM service on RHEL agent?
Thanks,
Santosh
Hi all,
I have a problem with installation of an software. I have installed on my laptop CentOS5.4 with all repositories activate (I think) and yum upgrade and update. I working in engineering domain, so I am curious how works ANSYS 11 on Linux 64 biti (at my work I use ANSYS on windows).
I installed first on Ubuntu9.10 (unfortunately not all modules works fine) and installation it was ok, and I tested and everything works done. After that I try to install it on CentOS because this software is made to works done only on Rhel platform (.rpm). So, I encountered the next message, which I don’t understand what means and why appear:
>su
>password
>./INSTALL
>bash: ./INSTALL: /bin/sh: bad interpreter: Permission denied
after that I try:
>su
>password
>rpm -i INSTALL
after that I try:
>su
>password
>sudo ./INSTALL
sudo: unable to execute ./INSTALL: Success
I waiting yours answer or opinion reffering to my problem, because I’m very curious.
Best regards
I think you’ll find that the INSTALL file is a text file that gives you instructions on how to compile, then install the program from source.
This install method typically involves:
>./configure
>./make
>./make install
If you have the rpm available, use the “ls” command to search the relavant directory and find the *.rpm file. That’s what you’ll want to run the “rpm -i” command with.
As far as the INSTALL file: instead of trying to execute it, use your favorite editor to view it, or use the cat command:
> cat ./INSTALL |less
Just to add a side note, you don’t use “./” with make and make install, you should only use it with configure, so it would be
# ./configure
# make
# make install
It’s not a bad idea to run the command:
# yum check-updates
This will let you know which packages are due to be updated without actually running the update. Saves a bit of bother if there is a major upgrade about to happen.
So, how do you update an installed yet outdated rpm, when YUM doesn’t find any updates for it?
@Feck McConnel
You can try issuing 3rd party repositories on RH/CentOS such as EPEL, RPMFusion are two good choices, these might have more recent version of your software but remember that RH/CentOS are more geared for stability rather than bleeding edge. In that case you can try Fedora.
Why can’t RedHat make YUM work right? and why can’t they call it something a little more descriptive? Linux is crap! Program names don’t even describe what a program does! How can anything be more non-userfriendly!
Have you tried out yum info command?
how to find all softwares that will install with yum
Hello! I need to install a specific version of packages, for example, if the last version of “seamonkey” is “seamonkey-1.0.9-0.57.el3.i386.rpm” I need to install seamonkey-1.0.9-0.45.el3.i386.rpm, is that possible? obviously I know which is the number of the previous version.
Excuse me for my english.
Thanks so much
Hi,
I am using CentOS5.5 and I want to install few packages through yum.
like gnome-libs,XFree-libs etc. But when I run “yum install gnome-libs” it gives no
package available.
Can you suggest me how to update yum to make these package available?
Thanks…
@suchi
the guide suggests doing this:
yum whatprovides gnome-libs
I use this command to install screen on centos
” yum whatprovides screen”
but it shows this error :
” Warning: 3.0.x versions of yum would erroneously match against filenames.
You can use “*/screen” and/or “*bin/screen” to get that behaviour
No Matches found”
I use ” yum whatprovides */screen ”
” ncurses-5.5-24.20060715.i386 : A terminal handling library
Repo : Rocks-5.4
Matched from:
Filename : /usr/share/terminfo/s/screen”
and something like this, but when I type “screen”, it says :
“-bash: screen: command not found”
I use this command too “yum whatprovides */bin/screen ”
“Rocks-5.4/filelists | 1.4 MB 00:00
No Matches found”
Please help me.
Thanks in advance.
I solve my problem:)
you can download this rpm from this site
http://rpm.pbone.net/index.php3/stat/4/idpl/15801214/dir/centos_5/com/screen-4.0.3-4.el5.x86_64.rpm.html
and then install it by this command:
yum install screen
yum is crap, it was modelled after aptitude which is the debian packages manager, apt is way better than yum, and debian is a kickass to redhat.
-1
-1
Hi,
100 Linux servers which are part of production, doesn’t have access to internet. It’s in private DMZ. YUM will not work here. How would you install the latest patches?
@Sam
Have a look at RHN Proxy Server,
http://www.redhat.com/red_hat_network/faq/
It allows you to cache rpms internally and distribute them to your local network.
hi all,
I have installed centos 5.4, after install i have wired internet connection, but I want to use, my wireless adapter. I go to System>Administration>Networks and have it activited, but it has a message, error in wireless request “set encode” (8B2A). And it can’t determine IP address. Do you think it has to do with the driver of the wireless card? how to install them?
thank you in advance. I really need your help.. :D
Leo
Hi All,
How Can i Group Multiple packages in One repo file and when i fire group install command along with yum all the package will be installed.
Hi,
I am using RHEL 5 and I want to install few packages whit yum.
like vlc media player , real player etc. But when I run “yum install *vlc*nad *realplayer * it gives
no package available.
hi
i’m install netconfig with using of yum : yum install netconfig.
but i cant use netconfig and i dont find related file.i want to know how to i can use netconfig.
thank so much and excuse for bad language.
hi
i’m install vlc player with using rpm commands but i can’t install vlc because this error has occured so pls help me
[root@senthil ~]# rpm -ivh /home/senthil/Desktop/gstreamer-ffmpeg-0.10.11-1.fc14.src.rpm
warning: /home/senthil/Desktop/gstreamer-ffmpeg-0.10.11-1.fc14.src.rpm: Header V3 RSA/SHA256 Signature, key ID 865cc9ea: NOKEY
1:gstreamer-ffmpeg warning: user mockbuild does not exist – using root
warning: group mockbuild does not exist – using root
########################################### [100%]
warning: user mockbuild does not exist – using root
warning: group mockbuild does not exist – using root
hi frind
plase login user root.then u try
I don’t see any errors, I only see warnings with explanations afterwards of what is happening instead of the default.
(e.g. the user ‘mockbuild’ not existing, so it’s using root)
Your (source) RPM has been installed. You might want to install the binary RPM, however. The source RPM is only going to contain the source code, which isn’t going to help you unless you’re compiling it for some custom use.
hi,
i’am makarim come from indonesia…
i have installed RHEL 5.7 and Oracle 10.02g (64 bit)
i will install apache and php5,, can you help me step by step how to install it ?
I have not worked with Red Hat in quite a while I am glad I found this site it gave me a little refresher on update commands. This helped me complete my task that I was working on. Thank You
I want to install some packges using apt-get command. please how to do.
Thanks
Hi,
yum repolist command was working fine till recently. But, all of a sudden it is not working. it is giving an error
OpenSSL.SSL.Error: [(‘SSL routines’, ‘SSL23_GET_SERVER_HELLO’, ‘unknown protocol’)]
I am able to ping rhn.redhat.com from the system.
What may be the problem ? pls. guide.
Hello frinds
I am having problem with my wifi connection. It is of Broadcom. but Linux Enterprize 5 always give error for dhcp at startup and i have tried a lot to configure my wifi setting manually but i am not successful in doing so. so please help me , i am new to linux and i am self lerner
I am facing lot of problem in centos I installed 4.8 server but problem is can’t update any package and can’t go forward for GUI mode. Please help me how to do resolve this problem.
Hi guys.
I’m learning Linux and i have two users in my rhel6 root and redhat users.
i want to give superuser power to redhat user, how to do it???
please help me.
Wht if i have more than one yum repo than how could i install a particular package from a particular repo??
how to instaall nimbuzz in redhat
Hi,
Im trying to access a test machine via the portal on a different windows box.
Its shows error: 502. i guess its related to DNS server settings.. can u help me out..
when tried this command yum list extras.Its showing as
[root@localhost pavan]# yum list extras
Loading “rhnplugin” plugin
Loading “installonlyn” plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up repositories
http://apt.sw.be/redhat/el5Server/en/i386/dag/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: dag
can i know the problem please
yum install gnuchess
Loaded plugins: aliases, changelog, downloadonly, kabi, presto, product-id, refresh-packagekit, security, subscription-manager,
: tmprepo, verify, versionlock
Updating certificate-based repositories.
Loading support for Red Hat kernel ABI
Setting up Install Process
No package gnuchess available.
Error: Nothing to do
i am geeting this error working in distro it is showing wat to do
Hello;
Please help me on below error in RHEL.
[root@localhost /]# yum update
Gathering header information file(s) from server(s)
Server: Red Hat Linux 4AS – x86_64 – Base
retrygrab() failed for:
http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4AS/x86_64/headers/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.dulug.duke.edu/pub/yum-repository/redhat/4AS/x86_64/headers/header.info
[Errno 4] IOError:
hi
I am shariq
I’m learning Linux and i have two users in my rhel6 root and redhat users.
i want to give superuser power to redhat user, how to do it???
Hi,
I am using ‘Amazon Linux AMI release 2014.03’ micro instance. can anyone tell me, why extra packages not install on this machine after epel configured.
I need to download php5-cgi rpms for OEL . Where can i get it ?
please help for below Error:
i want to install packag(numpy) from net..
but error is showing “no package avalaible”
what to do?
how to make a SSL key and SSL certificate for activate rhel7
buz without this activation i’m not able to configure yum
how to install yum packages in redhat Linux 7 for local repository
when I install want to install any package I see this message ” package not available ”
and ” error : nothing to do ” please help me guys