LinuxQuestions.org
Visit Jeremy's Blog.
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 07-05-2011, 06:02 AM   #1
amitley
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Rep: Reputation: Disabled
Post Yum packages


I have single pc @ my home. I want to install apache,samba and squid server. when i tried it msg was shown that "yum command not found" How can i install yum packges to my single pc.

Last edited by amitley; 07-05-2011 at 06:04 AM.
 
Old 07-05-2011, 06:10 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
yum is found on fedora / centos / redhat etc. You presumably are not using these distros. Please provide more information about your system.
 
Old 07-05-2011, 06:33 AM   #3
amitley
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
yum packges

Quote:
Originally Posted by acid_kewpie View Post
yum is found on fedora / centos / redhat etc. You presumably are not using these distros. Please provide more information about your system.
I am using red hat version el5.I don't know what to add and How to add in yum.repos.d and repo file to get the yum installation.
 
Old 07-05-2011, 06:37 AM   #4
amitley
LQ Newbie
 
Registered: Jul 2011
Posts: 9

Original Poster
Rep: Reputation: Disabled
Post yum packages

chris, I am using red hat version el5.I don't know what to add and How to add in yum.repos.d and repo file to get the yum installation.
 
Old 07-05-2011, 06:56 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Well you should have registered your system with RHN already, right? yum should be there by default, it's just about impossible to not install it on RHEL5. To add repos you would go to the repo site and install a package called <reponame>-release which will sort it all out for you.

to check yum is installed, run "rpm -qi yum"
 
Old 07-05-2011, 06:59 AM   #6
nooneknowme
Member
 
Registered: Feb 2008
Location: Bangalore, India
Posts: 69

Rep: Reputation: 5
If you have the DVD from where you installed the OS. You will have all the required packages inside the "Server" directory.

If you want to configure YUM .. have a look at the below link for a quick start..

 
Old 07-05-2011, 07:00 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Quote:
Originally Posted by nooneknowme View Post
If you have the DVD from where you installed the OS. You will have all the required packages inside the "Server" directory.

If you want to configure YUM .. have a look at the below link for a quick start..
This does not appear to be what they are after at all. They just want to use a repo, not create one.
 
Old 07-05-2011, 07:16 AM   #8
nooneknowme
Member
 
Registered: Feb 2008
Location: Bangalore, India
Posts: 69

Rep: Reputation: 5
Quote:
Originally Posted by acid_kewpie View Post
This does not appear to be what they are after at all. They just want to use a repo, not create one.
Chris .. it seems I read some other post and posted in this one
 
  


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
Yum and Deb packages TheStarLion Linux - Software 9 12-17-2009 05:43 AM
Yum can't install packages mickeyboa Fedora 1 12-06-2009 01:38 PM
Yum Won't Get Packages Arbiter Linux - Newbie 6 12-02-2009 06:49 PM
Using Yum To Install Packages Arty Ziff Linux - Newbie 4 12-30-2008 05:23 PM
using yum for extra packages beowulf405 Fedora 1 06-22-2004 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 PM.

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