• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
sharadchhetri.com

sharadchhetri.com

Linux,Cloud Computing And DevOps

  • Home
  • Linux
  • CloudComputing
    • Introduction Cloud Computing
    • Amazon AWS
  • Free E-Books
  • About Me

man command not found in CentOS and Red Hat

January 6, 2014 by Sharad Chhetri Leave a Comment

Manual pages are software documentation found in Unix like Operating system and man linux distro. To get the information about package and command, we use the syntax yum install Package_name-Command_name.The abbreviation of Manual Page is man page . When you work in Unix like operating system,we generally need help and information about the package and commands.In this case man page of command or software helps you.

So here, we will discuss about the error message man command not found in CentOS and Red Hat .

man command not found

Generally we see this error,when you do minimal installation of operating system because of which man command is not installed.

To solve this problem,run the below given command

yum install man

Below given is the reference from my system when we run the command yum install man

[root@localhost ~]# yum install man
Loaded plugins: fastestmirror
base                                                                         | 3.7 kB     00:00     
base/primary_db                                                              | 4.4 MB     00:09     
extras                                                                       | 3.4 kB     00:00     
extras/primary_db                                                            |  19 kB     00:02     
updates                                                                      | 3.4 kB     00:00     
updates/primary_db                                                           | 1.3 MB     00:03     
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package man.x86_64 0:1.6f-32.el6 will be installed
--> Processing Dependency: lzma for package: man-1.6f-32.el6.x86_64
--> Running transaction check
---> Package xz-lzma-compat.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Processing Dependency: xz = 4.999.9-0.3.beta.20091007git.el6 for package: xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64
--> Running transaction check
---> Package xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                Arch           Version                                   Repository    Size
====================================================================================================
Installing:
 man                    x86_64         1.6f-32.el6                               base         263 k
Installing for dependencies:
 xz                     x86_64         4.999.9-0.3.beta.20091007git.el6          base         137 k
 xz-lzma-compat         x86_64         4.999.9-0.3.beta.20091007git.el6          base          16 k

Transaction Summary
====================================================================================================
Install       3 Package(s)

Total download size: 416 k
Installed size: 886 k
Is this ok [y/N]: y
Downloading Packages:
(1/3): man-1.6f-32.el6.x86_64.rpm                                            | 263 kB     00:00     
(2/3): xz-4.999.9-0.3.beta.20091007git.el6.x86_64.rpm                        | 137 kB     00:00     
(3/3): xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64.rpm            |  16 kB     00:00     
----------------------------------------------------------------------------------------------------
Total                                                               437 kB/s | 416 kB     00:00     
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
 Userid : CentOS-6 Key (CentOS 6 Official Signing Key) 
 Package: centos-release-6-5.el6.centos.11.1.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
 From   : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : xz-4.999.9-0.3.beta.20091007git.el6.x86_64                                       1/3 
  Installing : xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64                           2/3 
  Installing : man-1.6f-32.el6.x86_64                                                           3/3 
  Verifying  : xz-lzma-compat-4.999.9-0.3.beta.20091007git.el6.x86_64                           1/3 
  Verifying  : man-1.6f-32.el6.x86_64                                                           2/3 
  Verifying  : xz-4.999.9-0.3.beta.20091007git.el6.x86_64                                       3/3 

Installed:
  man.x86_64 0:1.6f-32.el6                                                                          

Dependency Installed:
  xz.x86_64 0:4.999.9-0.3.beta.20091007git.el6                                                      
  xz-lzma-compat.x86_64 0:4.999.9-0.3.beta.20091007git.el6                                          

Complete!
[root@localhost ~]# 

After installation, check the command again. for eg.

man ls

You will see there is no more error message “man command not found”

Do'nt be greedy, share the knowledge!

  • Click to share on Facebook (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Twitter (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)

Related

Filed Under: Linux Commands Tagged With: CentOS, man command, Red Hat

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Follow Us

  • Facebook
  • Twitter
  • GitHub
  • YouTube

Recent Posts

  • How to install Java (OpenJDK) on Ubuntu Linux
  • How to install Groovy on Ubuntu 20.04 LTS
  • How to Disable selinux in Red Hat or CentOS
  • How to remove date from WordPress Post URL
  • How to install Mariadb 10.4 server on CentOS 8 / RHEL 8

Top Posts & Pages

  • How to delete mail queue in Postfix
  • How to fix read only USB pen drive in Ubuntu
  • 4 different commands to check the load average in linux
  • How to start / stop / restart / reload iptables on CentOS 7 / RHEL 7
  • How to set hostname and FQDN on CentOS 7 and RHEL 7
  • How to find absolute path of command on Linux / Unix : which command
  • How to create Jenkins user by command line and GUI
  • How to setup Jenkins Credentials for Git repo access
  • make command not found in linux CentOS Red Hat ubuntu Debian
  • How to install MySQL Server 5.6 on CentOS 7 / RHEL 7

DevOps Posts

  • vagrant cloud flow

    Install Vagrant on Ubuntu and create first VM

  • git jenkins credential github

    How to setup Jenkins Credentials for Git repo access

  • terraform

    how to install terraform in Linux : CentOS-Ubuntu

  • docker image

    How to create Ubuntu docker base image

  • Install Ansible on Ubuntu / CentOS / RHEL

Footer

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Sharad Chhetri is an experienced Linux - Cloud Engineer & freelancer. Working on Open Source Technology since RHEL 4.0 (Red Hat Enterprise Linux). He loves sharing the knowledge which earned from real scenarios. Don't be surprised if you find him in technology seminars and meetup groups. You can contact him on email for freelance projects at admin@sharadchhetri.com. Read More…

Tags

Amazon AWS apache automation awk bash script CentOS centos 7 debian devops docker freebsd ftp ghost git grep hostname jenkins kvm linux linux command linux commands MariaDB Server mysql Nagios nginx Octopress owncloud Owncloud 6 php postfix postgres python Red Hat rpm sed selinux ssh swap ubuntu user management vagrant varnish virtualbox vsftp wordpress

Recent Comments

  • Sharad Chhetri on How to install own git server with ssh and http access by using gitolite and gitweb in CentOS
  • Slacker on How to fix read only USB pen drive in Ubuntu
  • Possum on setfacl: Option -m: Invalid argument near character 3
  • UnixNewbie on How to start / stop / restart / reload iptables on CentOS 7 / RHEL 7
  • sop on How to set hostname and FQDN on CentOS 7 and RHEL 7
  • sunil on Managing Jenkins plugins from command line and GUI
  • Corneliu Florea on How to fix read only USB pen drive in Ubuntu
  • Corneliu Florea on How to fix read only USB pen drive in Ubuntu

Copyright © 2009 - 2021 · All Rights Reserved sharadchhetri.com · · Privacy Policy ·
· sitemap.xml · ·The content is copyrighted to sharadchhetri.com and may not be reproduced on other websites without our permission. ·

Copyright © 2021 · Genesis Sample on Genesis Framework · WordPress · Log in