LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 09-11-2015, 08:34 AM   #1
Donquixote
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Rep: Reputation: Disabled
CentOS man -k not working


Hi guys,

I have installed CentOS 7 on virtual box and when I type in for instance "man -k time" it says "nothing appropriate". The same thing happens on my RHEL 7 as well.

I have run "rpm -q man" it says man packages not installed then when I go into root and type in "yum install man" it says man is already installed. I find that odd.

I have then checked if the man-pages package is installed that comes out installed.

If someone could help me I would be eternally grateful

Kind Regards
 
Old 09-11-2015, 09:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

# yum install man-pages

http://mirror.centos.org/centos/7.1....6_64/Packages/
... No package by name "man". But you get /usr/bin/man
EDIT : Please run $ rpm -ql man-pages | grep bin ,,, to know other "man commands"
/usr/bin/apropos EDIT : See post #4.
/usr/bin/man
/usr/bin/man2dvi
/usr/bin/man2html
/usr/bin/manpath
/usr/bin/whatis
/usr/sbin/makewhatis

-

Last edited by knudfl; 09-11-2015 at 10:50 AM.
 
Old 09-11-2015, 09:28 AM   #3
Donquixote
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
rpm -ql man-pages | grep bin
/usr/share/man/man2/bind.2.gz
/usr/share/man/man2/mbind.2.gz
/usr/share/man/man3/bindresvport.3.gz
/usr/share/man/man3p/bind.3p.gz
/usr/share/man/man5/slabinfo.5.gz


thats all i get what does that mean? that man pages is not installed?
 
Old 09-11-2015, 10:46 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3.

Sorry, I must have mixed up somthing, when I did rpm -ql man-pages .. on CentOS 7.

The package man-db provides
/usr/bin/apropos
/usr/bin/catman
/usr/bin/lexgrog
/usr/bin/man
/usr/bin/mandb
/usr/bin/manpath
/usr/bin/whatis


-

Last edited by knudfl; 09-11-2015 at 10:49 AM.
 
Old 09-11-2015, 10:51 AM   #5
Donquixote
LQ Newbie
 
Registered: Sep 2015
Posts: 3

Original Poster
Rep: Reputation: Disabled
rpm -ql man-db | grep bin
/usr/bin/apropos
/usr/bin/catman
/usr/bin/lexgrog
/usr/bin/man
/usr/bin/mandb
/usr/bin/manpath
/usr/bin/whatis
/usr/libexec/man-db/globbing
/usr/sbin/accessdb


this is what I get when I do the man-db package
 
Old 09-11-2015, 11:09 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3

Yes, post #4 only shows the /usr/bin/ executable`s.
 
  


Reply



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
[SOLVED] centos 5.6: how to let man pages remain after exit needsleep Linux - Newbie 4 05-23-2011 02:32 PM
man -k not working Allie Linux - Newbie 8 08-01-2009 03:02 PM
working for the man. nchoe123 LinuxQuestions.org Member Intro 2 04-09-2009 11:57 AM
LXer: Working for The Man LXer Syndicated Linux News 1 04-06-2007 01:38 PM
Man not working Zeseft Linux - Software 7 12-02-2003 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration