{"id":3206,"date":"2012-05-24T23:22:36","date_gmt":"2012-05-24T15:22:36","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3206"},"modified":"2023-04-28T09:49:16","modified_gmt":"2023-04-28T09:49:16","slug":"how-to-install-man-command-on-centos-5-8","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-man-command-on-centos-5-8\/","title":{"rendered":"How to Install \u201cman\u201d Command on CentOS 5.8"},"content":{"rendered":"<p>Man pages are a common way to learn the commands that are on your system. man is actually the system\u2019s manual pager. The man command will give you all the details of a given command, including switches used, and syntax. man formats and displays the on-line manual pages. Each page argument given to man is normally the name of a program, utility or function.<\/p>\n<p>If your server does not installed with man command, you will get this error when you run it :<\/p>\n<pre>\n[root@centos58 ~]# man chage\n-bash: man: command not found\n<\/pre>\n<p>Simply run this command to install &#8220;man&#8221; command on linux CentOS 5.8.<\/p>\n<pre>\n[root@centos58 ~]# yum install man -y\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: mirror.oscc.org.my\n * epel: mirror.nus.edu.sg\n * extras: mirror.oscc.org.my\n * rpmforge: mirror.oscc.org.my\n * updates: mirrors.hostemo.com\nCentOS5.8-Repository                                                         | 1.3 kB     00:00\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package man.i386 0:1.6d-2.el5 set to be updated\n--> Processing Dependency: groff >= 1.18 for package: man\n--> Processing Dependency: bzip2 for package: man\n--> Processing Dependency: nroff-i18n for package: man\n--> Running transaction check\n---> Package bzip2.i386 0:1.0.3-6.el5_5 set to be updated\n---> Package groff.i386 0:1.18.1.1-13.el5 set to be updated\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package          Arch            Version                     Repository                       Size\n====================================================================================================\nInstalling:\n man              i386            1.6d-2.el5                  CentOS5.8-Repository            262 k\nInstalling for dependencies:\n bzip2            i386            1.0.3-6.el5_5               base                             49 k\n groff            i386            1.18.1.1-13.el5             base                            1.9 M\n\nTransaction Summary\n====================================================================================================\nInstall       3 Package(s)\nUpgrade       0 Package(s)\n\nTotal download size: 2.2 M\nDownloading Packages:\n(1\/3): bzip2-1.0.3-6.el5_5.i386.rpm                                          |  49 kB     00:00\n(2\/3): groff-1.18.1.1-13.el5.i386.rpm                                        | 1.9 MB     00:17\n----------------------------------------------------------------------------------------------------\nTotal                                                                95 kB\/s | 2.2 MB     00:23\nRunning rpm_check_debug\nRunning Transaction Test\nFinished Transaction Test\nTransaction Test Succeeded\nRunning Transaction\n  Installing     : bzip2                                                                        1\/3\n  Installing     : groff                                                                        2\/3\n  Installing     : man                                                                          3\/3\n\nInstalled:\n  man.i386 0:1.6d-2.el5\n\nDependency Installed:\n  bzip2.i386 0:1.0.3-6.el5_5                      groff.i386 0:1.18.1.1-13.el5\n\nComplete!\n<\/pre>\n<p>Example of man usage : <\/p>\n<pre>\n[root@centos58 ~]# man chage\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Man pages are a common way to learn the commands that are on your system. man is actually the system\u2019s manual pager. The man command will give you all the&#8230;<\/p>\n","protected":false},"author":6,"featured_media":349,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055],"tags":[1536,1546,1562,1563,1564],"class_list":["post-3206","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-linux","tag-linux-utilities","tag-man","tag-manual","tag-manual-pager"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=3206"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3206\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/349"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=3206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}