• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

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”

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Search keyword in all available man pages – man command
  2. Command to create and delete group in Red Hat and CentOS linux
  3. How to Disable selinux in Red Hat or CentOS
  4. How to install whois client in CentOS and Red Hat
  5. scp command not found in CentOS and Red Hat
  6. mail command not found in Red Hat CentOS Ubuntu Debian
  7. make command not found in linux CentOS Red Hat ubuntu Debian
  8. netstat command not found on CentOS 7 and RHEL 7 (Red Hat Enterprise Linux 7)
  9. Search Keyword In Man Page Like We Search In vi / vim Editor
  10. Password prompt in single user mode is not secure : CentOS/Red Hat

Filed Under: Linux Commands Tagged With: CentOS, linux command, 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

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

Protect from w00tw00t.at.blackhats.romanian.anti-sec

How to install pam_mysql in CentOS or Red Hat

rsync all files,hidden files,symlinks,hardlinks to remotes Linux Server

Allow wget and yum in iptable

How to install korn shell ksh in Linux

Show visitor ip address php code

postgres database backup script using database user password inside

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy