LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-31-2009, 02:35 PM   #1
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Rep: Reputation: 18
Lightbulb 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?
 
Old 08-31-2009, 02:51 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
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.
 
Old 08-31-2009, 03:43 PM   #3
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Okay, I will try that and post my finding here. Thanks!
 
Old 09-02-2009, 07:39 AM   #4
Hi_This_is_Dev
Member
 
Registered: May 2009
Location: India
Distribution: On my PC I use RHEL, at office AIX, Solaris, HP-UX, RHEL.
Posts: 254

Original Poster
Rep: Reputation: 18
Well, I reinstalled RHEL. Anyways, thanks for the the info!

Quote:
Originally Posted by jlightner View Post
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.
 
Old 09-02-2009, 07:44 AM   #5
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
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
 
Old 12-15-2013, 05:05 AM   #6
akshay.narvekarr
LQ Newbie
 
Registered: Dec 2013
Location: India,Mumbai
Distribution: Redhat,Centos,Xubuntu,Ubuntu
Posts: 1

Rep: Reputation: Disabled
to enable man command in centos_6.2

firstly ensure that centos image is available on dvd drive then try below commands
cd /dev/
cd /dvdrw
mount /dev/dvdrw /mnt/
cd..
cd /mnt/
cd Packages/
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
man cp
 
  


Reply

Tags
command, man


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
installation of openoffice from internet using yum command on rhel 5 javaid Red Hat 5 08-30-2009 11:20 AM
man command not found shashwath Linux - Newbie 5 05-28-2009 07:06 PM
bash: man: command not found Boleng Linux - Newbie 6 06-25-2008 02:44 AM
boot record not found after fresh installation of fedora -- can't fix! punt Fedora - Installation 16 01-24-2006 07:26 AM
6.14.2 glibc installation - patch command not found itsjustme Linux From Scratch 4 07-23-2003 05:04 PM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration