Install man command on CentOS 6.4 6.3 5.9 Redhat RHEL Fedora 18 17

Install man command on CentOS 6.4 6.3 5.9 Redhat RHEL Fedora 18 17

centos

Man Command

formats  and displays manual pages.

1. Try to use man command on Centos 6.4

[root@localhost ~]# man
-bash: /usr/bin/man: No such file or directory

2. Install man command by yum on Centos

[root@localhost ~]# yum install man
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: virror.hanoilug.org
* epel: buaya.klas.or.id
* extras: virror.hanoilug.org
* updates: centos.ipserverone.com
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package man.x86_64 0:1.6f-32.el6 will be installed
–> Finished Dependency ResolutionDependencies Resolved=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Installing:
man x86_64 1.6f-32.el6 base 263 k

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

Total download size: 263 k
Installed size: 389 k
Is this ok [y/N]: y
Downloading Packages:
man-1.6f-32.el6.x86_64.rpm | 263 kB 00:01
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : man-1.6f-32.el6.x86_64 1/1
Verifying : man-1.6f-32.el6.x86_64 1/1

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

Complete!
[root@localhost ~]#

3. After installation, we can use man command to view manual pages.

[root@localhost ~]# man vi

That’s it. Thanks for using IThelpblog.com.

 

Leave a reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>