LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2016, 08:28 AM   #1
ariyanto
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Rep: Reputation: Disabled
how to install man command in rhel 6.4 using rpm


hi

in my redhat 6.4.
man, whatis, apropos, locate, finger, pg command is not found.
how to install man, whatis, apropos, locate, finger, pg command using rpm not yum.

thanks

Last edited by ariyanto; 04-14-2016 at 08:45 AM.
 
Old 04-14-2016, 08:35 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 8,504

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
have you checked the man page of rpm? http://linux.die.net/man/8/rpm
Just download the package and use rpm -i
(if you have no better idea)
 
Old 04-14-2016, 08:37 AM   #3
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,359
Blog Entries: 2

Rep: Reputation: Disabled
choose one or more packages from the following list generated with "yum list | grep man"

man.x86_64 1.6f-32.el6 core
man-pages.noarch 3.22-20.el6 core
man-pages-cs.noarch 0.18.20090209-2.1.el6 core
man-pages-es.noarch 1.55-14.el6 core
man-pages-es-extra.noarch 1.55-14.el6 core
man-pages-fr.noarch 3.23-12.el6 core
man-pages-it.noarch 2.80-6.el6 core
man-pages-ja.noarch 20100115-10.el6 core
man-pages-ko.noarch 2:20050219-17.el6 core
man-pages-overrides.noarch 6.7.5-1.el6 core
man-pages-pl.noarch 0.24-8.1.el6 core
man-pages-ru.noarch 0.97-9.el6 core
man-pages-uk.noarch 0.1-0.11.20071108.el6 core
man-pages-zh-CN.noarch 1.5.1-3.el6 epel

Transfer the package to the machine and install it with a variation of the rpm -i command.
 
Old 04-14-2016, 08:41 AM   #4
ariyanto
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
have you checked the man page of rpm? http://linux.die.net/man/8/rpm
Just download the package and use rpm -i
(if you have no better idea)
where i can download the package ??
 
Old 04-14-2016, 08:44 AM   #5
ariyanto
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dijetlo View Post
choose one or more packages from the following list generated with "yum list | grep man"

man.x86_64 1.6f-32.el6 core
man-pages.noarch 3.22-20.el6 core
man-pages-cs.noarch 0.18.20090209-2.1.el6 core
man-pages-es.noarch 1.55-14.el6 core
man-pages-es-extra.noarch 1.55-14.el6 core
man-pages-fr.noarch 3.23-12.el6 core
man-pages-it.noarch 2.80-6.el6 core
man-pages-ja.noarch 20100115-10.el6 core
man-pages-ko.noarch 2:20050219-17.el6 core
man-pages-overrides.noarch 6.7.5-1.el6 core
man-pages-pl.noarch 0.24-8.1.el6 core
man-pages-ru.noarch 0.97-9.el6 core
man-pages-uk.noarch 0.1-0.11.20071108.el6 core
man-pages-zh-CN.noarch 1.5.1-3.el6 epel

Transfer the package to the machine and install it with a variation of the rpm -i command.
how to transfer the package to machine ??
 
Old 04-14-2016, 08:47 AM   #6
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,359
Blog Entries: 2

Rep: Reputation: Disabled
A little googeling...
RE: Transferring the package to your machine, I normally either download it locally on the instance or download it to my laptop and scp it to the instance if the instance doesn't have internet access.

Last edited by dijetlo; 04-14-2016 at 08:48 AM.
 
2 members found this post helpful.
Old 04-14-2016, 09:34 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880
Quote:
Originally Posted by ariyanto View Post
hi
in my redhat 6.4. man, whatis, apropos, locate, finger, pg command is not found. how to install man, whatis, apropos, locate, finger, pg command using rpm not yum.
First, WHY do you not want to use yum??? That is the best way to install items. You are PAYING FOR RHEL, aren't you??? If not, why are you using it, rather than using CentOS for free?

Installing packages with RPM isn't the best way to do things.
Quote:
Originally Posted by ariyanto
where i can download the package ??
From Red Hat's website, if you don't already have it on the installation media you installed the system with. Again, if you're using RHEL, then you have access to the Red Hat network, for packages....IF YOU PAY.
Quote:
Originally Posted by ariyanto
how to transfer the package to machine ??
You tell us....does your machine have FTP installed? SSH? Free USB port where you can use a thumb drive? Email? We have no idea how you set your machine up, and what services you ahve access to.
 
1 members found this post helpful.
Old 04-14-2016, 11:05 AM   #8
ariyanto
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
First, WHY do you not want to use yum??? That is the best way to install items. You are PAYING FOR RHEL, aren't you??? If not, why are you using it, rather than using CentOS for free?

Installing packages with RPM isn't the best way to do things.

From Red Hat's website, if you don't already have it on the installation media you installed the system with. Again, if you're using RHEL, then you have access to the Red Hat network, for packages....IF YOU PAY.

You tell us....does your machine have FTP installed? SSH? Free USB port where you can use a thumb drive? Email? We have no idea how you set your machine up, and what services you ahve access to.
I dont use yum because I install rhel 6.4 in VMware and no internet connection in vmware. but i can downloads the package using wifi
 
Old 04-14-2016, 11:37 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880
Quote:
Originally Posted by ariyanto View Post
I dont use yum because I install rhel 6.4 in VMware and no internet connection in vmware. but i can downloads the package using wifi
This makes absolutely ZERO sense...you first say you have "no internet connection"....but then go on to say you can download packages via Wifi...which implies you DO have an internet connection.

Yum is the package manager...."yum install <package rpm from disk>" will work just fine. And again, if you are PAYING for RHEL, you can use yum. If you don't have an internet connection, you need to sort that out first.
 
Old 04-14-2016, 11:45 AM   #10
ariyanto
LQ Newbie
 
Registered: Apr 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
I downloads the package in my friend home there is a wifi.

But in my home no internet connection.

I install the rhel on vmware on my computer

Last edited by ariyanto; 04-14-2016 at 11:48 AM.
 
Old 04-14-2016, 01:35 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880
Quote:
Originally Posted by ariyanto View Post
I downloads the package in my friend home there is a wifi.

But in my home no internet connection. I install the rhel on vmware on my computer
...then do the installation at your FRIENDS HOME, where there *IS* an internet connection.
 
Old 04-14-2016, 02:02 PM   #12
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,358

Rep: Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990Reputation: 1990
Do you have the RHEL installation DVD ISO?

If so, then pass it into the VM using VMWare and set it up as a local package repo. Then you can use yum to install whatever you want from the installation ISO including all dependencies. Going outside of yum and downloading random rpm packages is NOT the right way to administer an RHEL system, internet connection or no.
 
1 members found this post helpful.
Old 04-14-2016, 02:22 PM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,318

Rep: Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880Reputation: 3880
Quote:
Originally Posted by suicidaleggroll View Post
Do you have the RHEL installation DVD ISO?

If so, then pass it into the VM using VMWare and set it up as a local package repo. Then you can use yum to install whatever you want from the installation ISO including all dependencies. Going outside of yum and downloading random rpm packages is NOT the right way to administer an RHEL system, internet connection or no.
Agreed...suggested to OP previously.
 
Old 04-15-2016, 01:31 AM   #14
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
keep in mind rhel6.4 is old and out of date and i think not supported by redhat
the current in the older 6 series is 6.7 with RHEL 7.2 the current

BUT
unless you BOUGHT!!! the required !!!!! support contract
you can NOT install software

the REQUIRED support contract is
$299 per year for a desktop install and $799 per year for a server install

or

install the FREE CentOS 7.2
unless you MUST USE!!! the older 6.7
 
  


Reply


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
unable to install rpm pkgs on RHEL 6 shruti1605 Linux - Newbie 4 03-26-2014 04:48 AM
[SOLVED] man command not found on a Fresh Installation of RHEL 5 Hi_This_is_Dev Linux - Server 5 12-15-2013 06:05 AM
LXer: RPM (Red Hat Package Manager) Command Tutorials in CentOS/RHEL/Fedora LXer Syndicated Linux News 0 07-23-2013 09:02 PM
How to install libaio-0.3.96 rpm in RHEL 4 AS gavi11 Red Hat 2 01-06-2008 02:58 PM
Install GNOME RPM after minimum RHEL install linuxhead Linux - Newbie 4 02-23-2007 04:36 PM


All times are GMT -5. The time now is 03:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration