[SOLVED] man command not found on a Fresh Installation of RHEL 5
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Rep:
man command not found on a Fresh Installation of RHEL 5
Hi,
This evening I reinstalled RHEL 5 on my system and as I was in a hurry leaving for office so I could not check whether the installation was properly done or not. So, I just tried some commands to see if it was functioning properly. When I tried the following command:
man ls
there was an error saying that the command was not found. So, I take it for granted that man pages ddin't get installed...? I tried man command with some other 1 or 2 commands but it didn't work. Should I install RHEL 5 again? (Oh! I am tired now!)
Is there anyway to verify whether Linux has been properly installed or not with all its functionalities and features/options selected at installation time?
It may be the man command simply isn't in your PATH.
Type "rpm -q man" to see if the man package is installed. This is the one that gives you the man command itself. The actually man pages come from various other packages (e.g. There are several man pages that come with the bash package.)
A lot of the basic man pages are in a package called "man-pages". Typing "rpm -q man-pages" should let you know if it is installed.
Last edited by MensaWater; 08-31-2009 at 03:16 PM.
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254
Original Poster
Rep:
Well, I reinstalled RHEL. Anyways, thanks for the the info!
Quote:
Originally Posted by jlightner
It may be the man command simply isn't in your PATH.
Type "rpm -q man" to see if the man package is installed. This is the one that gives you the man command itself. The actually man pages come from various other packages (e.g. There are several man pages that come with the bash package.)
A lot of the basic man pages are in a package called "man-pages". Typing "rpm -q man-pages" should let you know if it is installed.
If you had successfully installed previously AND registered on RedHat Network you can add packages with the yum command instead of reinstalling.
(Late information I know - just hoping to save you from another reinstall if you find something else missing.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.