man command not found on a Fresh Installation of RHEL 5
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:
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.
Okay, I will try that and post my finding here. Thanks!
Well, I reinstalled RHEL. Anyways, thanks for the the info!
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.)
e.g. yum install man or yum install man-pages
to enable man command in centos_6.2
firstly ensure that centos image is available on dvd drive then try below commands
mount /dev/dvdrw /mnt/
rpm -ivh man-pages-cs-0.8.20090209-2.1.e16.noarch.rpm
rpm -ivh man-pages-es-1.55-14.e16.noarch.rpm
rpm -ivh man-pages-es-extra-1.55-14.e16.noarch.rpm
rpm -ivh xz-4.999.9-0.9.beta.20091007git.e16.i686.rpm
rpm -ivh xz-lzma-compat-4.999.9-0.3.beta.20091007git.e16.i686.rpm
rpm -ivh man-pages-3.22-7.e16.noarch.rpm
rpm -ivh man-1.6f-29.el6.i686.rpm
then atlast confirm
|All times are GMT -5. The time now is 08:46 PM.|