I haven't configured YUM .
How do I do it? Sorry if this is a really stupid question, but I have no idea about it. Moreover, I would also like to use APT afterwards.
I really want to try both of these. I have used apt-get before many a times, but never used YUM.
Can anybody post the procedure to get this working? Which repositories to be added, how it is to be configured?
And yes, how do i use the apt-get on Cent OS too.
Note that I will be using only one at a time. And I will keep the other thing for future reference.
Thank you.
First, YUM is always installed & configured by defaut. To insure it is installed, run this command # rpm -qv yum If the answer were that package yum is not installed so you should use the installtion CDs to install it or use any of the download mirrors listed @ http://www.centos.org/modules/tinycontent/index.php?id=13
If it is already installed run the following command # yum -y update if it is a fresh install you may get a message about missing GPG key, in this case run the following command # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4 for CentOS-4 OR # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-3 for CentOS-3 Otherwise, if you got messages about setting up repos so your YUM is working
To install any package issue the command # yum -y install Package_Name
Finally, Main yum configuration file is /etc/yum.conf & repos configuration resides under /etc/yum.repos.d
Also, you can find apt RPM @ http://centos.karan.org/el4/extras/stable/i386/RPMS/repodata/repoview/apt-0-...
Hope this will help Hameed
(Contents of the configuration files below based on CentOS-4 only, Don't use for CentOS-3) Default main configuration file is /etc/yum.conf & here is a snapshot of its default settings
########################## Begin /etc/yum.conf ########################## [main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=centos-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1
# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d ########################## End /etc/yum.conf ##########################
Under /etc/yum.repos.d you should have the repos files
----- Original Message ----- From: "duffmckagan" mckagan@gmail.com To: "CentOS mailing list" centos@centos.org Sent: Saturday, August 13, 2005 7:19 AM Subject: [CentOS] Using YUM
I haven't configured YUM .
How do I do it? Sorry if this is a really stupid question, but I have no idea about it. Moreover, I would also like to use APT afterwards.
I really want to try both of these. I have used apt-get before many a times, but never used YUM.
Can anybody post the procedure to get this working? Which repositories to be added, how it is to be configured?
And yes, how do i use the apt-get on Cent OS too.
Note that I will be using only one at a time. And I will keep the other thing for future reference.
Thank you.
duffmckagan mckagan@gmail.com wrote:
I haven't configured YUM . How do I do it? Sorry if this is a really stupid question, but I have no idea about it. Moreover, I would also like to use APT afterwards. I really want to try both of these. I have used apt-get before many a times, but never used YUM.
<argumentative> YUM and APT are not CentOS-specific and this is not a CentOS question. </argumentative>
-- Bryan
P.S. Before you jump on me, read a few threads back. I'm just using this as an example, and it is not intented to be an insult to Mr. McKagan. Quite the opposite, I think this is a standard CentOS question that should be allowed. If people feel otherwise, then put it in a FAQ and reference it.
On Sat, 2005-08-13 at 19:57 -0700, Bryan J. Smith wrote:
duffmckagan mckagan@gmail.com wrote:
I haven't configured YUM . How do I do it? Sorry if this is a really stupid question, but I have no idea about it. Moreover, I would also like to use APT afterwards. I really want to try both of these. I have used apt-get before many a times, but never used YUM.
<argumentative> YUM and APT are not CentOS-specific and this is not a CentOS question. </argumentative>
-- Bryan
P.S. Before you jump on me, read a few threads back. I'm just using this as an example, and it is not intented to be an insult to Mr. McKagan. Quite the opposite, I think this is a standard CentOS question that should be allowed. If people feel otherwise, then put it in a FAQ and reference it.
----- I get your point - I thought posting about getting Firefox / java / flash going on 86/64 was probably invaluable to some people and the criticism of it unnecessary.
We all know that you have at times rambled on but your knowledge is an asset and I am glad your on this message base and know how to hit the delete when the topic doesn't interest me.
Thanks - please lighten up on the sarcasm
Craig
On 8/12/05, duffmckagan mckagan@gmail.com wrote:
I haven't configured YUM .
How do I do it?
Did you look at man yum.conf? or man yum? Or the yum wiki?
<snip>
And yes, how do i use the apt-get on Cent OS too.
Yum is very simple to use and, if you want, includes lots of extra features - even a plugin system. So, the question becomes why bother getting apt setup on a CentOS box when yum is already installed/configured?
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Greg
On Sun, 2005-08-14 at 15:48 -0600, Greg Knaddison wrote:
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Another thing is IIRC apt for RPM is not under development anymore. I seem to remember reading that on the Fedora Core list.
Regards, Paul Berger
On Sun, 2005-08-14 at 20:37 -0500, Paul wrote:
On Sun, 2005-08-14 at 15:48 -0600, Greg Knaddison wrote:
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Another thing is IIRC apt for RPM is not under development anymore. I seem to remember reading that on the Fedora Core list.
---- http://smartpm.org but is not for RHEL/CentOS (yet)
Craig
On 8/15/05, Craig White craigwhite@azapple.com wrote:
On Sun, 2005-08-14 at 20:37 -0500, Paul wrote:
On Sun, 2005-08-14 at 15:48 -0600, Greg Knaddison wrote:
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Another thing is IIRC apt for RPM is not under development anymore. I seem to remember reading that on the Fedora Core list.
http://smartpm.org but is not for RHEL/CentOS (yet)
Craig
Thanks for the link Craig. That is really cool. :)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
DISCLAIMER: Off-topic, useless to CentOS, killfile me, etc...
On Mon, 2005-08-15 at 17:20 +0000, duffmckagan wrote:
Thanks for the link Craig. That is really cool. :)
SmartPM's resolution logic is working extremely well in my recent testing, and seems more advanced than APT's pinning. Based on the prior Firefox.i386 thread for using i386 plug-ins and libraries, I'm going to come up with a configuration to "pin" select i386 on x86-64.
I'll start with Fedora Core/Extras/Livna.ORG and then more onto CentOS/Plus/Extras/DAG, which should be similar in packages. At least they have been so far (I just had my FC3 box in front me at the time).
On 8/15/05, Paul subsolar@subsolar.com wrote:
On Sun, 2005-08-14 at 15:48 -0600, Greg Knaddison wrote:
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Another thing is IIRC apt for RPM is not under development anymore. I seem to remember reading that on the Fedora Core list.
Regards, Paul Berger
I just wanted to try things out. And yes, Stability is not my concern at the moment. Unlike others, Cent OS has been my base to "try" unusual stuff. :D
I will do a lot of reading, and that should go fine. Thanks for helping me so far guys. :)
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 8/14/05, Greg Knaddison greg.knaddison@gmail.com wrote:
On 8/12/05, duffmckagan mckagan@gmail.com wrote:
I haven't configured YUM .
How do I do it?
Did you look at man yum.conf? or man yum? Or the yum wiki?
<snip>
And yes, how do i use the apt-get on Cent OS too.
Yum is very simple to use and, if you want, includes lots of extra features - even a plugin system. So, the question becomes why bother getting apt setup on a CentOS box when yum is already installed/configured?
"Because I know apt well" isn't much of an answer since yum is easy to learn very very few people use apt on CentOS - meaning you will have a hard time getting support.
Greg ________________________
Well, I was just trying to learn things. I have my hands on YUM now..and I love it. I just wanted to know about apt working on Cent OS, cuz I heard from one of my friend that he was using it on SuSE. So I thought that would be for Cent OS too.
Doesn't matter me anymore. I am happy with Yum.
_______________________
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos