At 08:42 PM 12/27/2005, Jim Perrin wrote:
On 12/27/05, Robert Moskowitz rgm@htt-consult.com wrote:
I just added a couple apps to a server and I was asked to insert CD #3. I had wanted to use HTTP to access the distro on my HTTP server.
Now I want to install on another server, so I have a second chance to get this right....
Don't use the "Add or Remove Programs" menu option. It is horribly broken, and provided because the upstream vendor provides the broken app as well. Instead, open up a terminal of your choosing and use yum.
And what do I ask for say for Thunderbird?
yum install thunderbird
?
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
And what do I ask for say for Thunderbird?
yum install thunderbird
Yes. That's the general idea of it. Read up on the documentation for yum to learn all the tricks.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
On Wed, 2005-12-28 at 09:27 -0500, Jim Perrin wrote:
And what do I ask for say for Thunderbird?
yum install thunderbird
Yes. That's the general idea of it. Read up on the documentation for yum to learn all the tricks.
There is also this guide to using yum for CentOS:
On Wed, 2005-12-28 at 08:47 -0600, Johnny Hughes wrote:
On Wed, 2005-12-28 at 09:27 -0500, Jim Perrin wrote:
And what do I ask for say for Thunderbird?
yum install thunderbird
Yes. That's the general idea of it. Read up on the documentation for yum to learn all the tricks.
There is also this guide to using yum for CentOS:
http://mirror.centos.org/centos/4/docs/html/yum/
Sorry to double post, but this is important :)
http://mirror.centos.org/centos/4/docs/html/yum/sn-software-management-tools...
The above link discusses the "Add/Remove Packages" software (known as system-config-packages). That package is included so that if you are doing an install off off the ISOs and will NOT EVER be updating the install (not a good idea if it is connected to the internet), then you can use system-config-packages to install more software.
Here is the note:
The system-config-packages utility can ONLY be used if you do not update any packages and install only from the CD/DVD. This utility will fail if updates have been done.
Thanks, Johnny Hughes
At 09:56 AM 12/28/2005, Johnny Hughes wrote:
Sorry to double post, but this is important :)
Now you tell me <:-|
http://mirror.centos.org/centos/4/docs/html/yum/sn-software-management-tools...
The above link discusses the "Add/Remove Packages" software (known as system-config-packages). That package is included so that if you are doing an install off off the ISOs and will NOT EVER be updating the install (not a good idea if it is connected to the internet), then you can use system-config-packages to install more software.
Here is the note:
The system-config-packages utility can ONLY be used if you do not update any packages and install only from the CD/DVD. This utility will fail if updates have been done.
Well, I KNOW that I updated system z9m9z with yum update, then came back and added BIND (which I left off in the initial install).
But it DID fail on system Port3890 when trying to add Thunderbird and a few other odds and ends.
I did just install Thunderbird with: yum install thunderbird
I will have to figure out what else I had decided add and do that via yum.
On Wed, 2005-12-28 at 10:09 -0500, Robert Moskowitz wrote:
At 09:56 AM 12/28/2005, Johnny Hughes wrote:
Sorry to double post, but this is important :)
Now you tell me <:-|
http://mirror.centos.org/centos/4/docs/html/yum/sn-software-management-tools...
The above link discusses the "Add/Remove Packages" software (known as system-config-packages). That package is included so that if you are doing an install off off the ISOs and will NOT EVER be updating the install (not a good idea if it is connected to the internet), then you can use system-config-packages to install more software.
Here is the note:
The system-config-packages utility can ONLY be used if you do not update any packages and install only from the CD/DVD. This utility will fail if updates have been done.
Well, I KNOW that I updated system z9m9z with yum update, then came back and added BIND (which I left off in the initial install).
But it DID fail on system Port3890 when trying to add Thunderbird and a few other odds and ends.
I did just install Thunderbird with: yum install thunderbird
I will have to figure out what else I had decided add and do that via yum.
BTW, I know not having a GUI installer is a PITA ...
We are looking at some yum GUI front ends like yumex (which seems to be the best we have checked so far). The only problem I have with yumex so far is that it doesn't work with the yum plugins (at least it did not work with protectbase).
The above linked guide will get you using "yum provides", "yum info xxxxx", "yum search xxxxx" and "yum list xxxxx" so that not having a GUI is at least bearable.
At 10:20 AM 12/28/2005, Johnny Hughes wrote:
BTW, I know not having a GUI installer is a PITA ...
This is NOT 1984 anymore. :-D We are SPOILED. (of course I still run NET USE and XCOPY from a command window.)
We are looking at some yum GUI front ends like yumex (which seems to be the best we have checked so far). The only problem I have with yumex so far is that it doesn't work with the yum plugins (at least it did not work with protectbase).
The above linked guide will get you using "yum provides", "yum info xxxxx", "yum search xxxxx" and "yum list xxxxx" so that not having a GUI is at least bearable.
Knowledge is a dangerous thing....
Given all that yum claims why is RPM still used so much?
From what I read here, if there is a package I want that is not in a yum repository like Scalix CE, I would download the rpm, then use yum with that rpm file. That way I would take care of any dependencies needed by Scalix.
If there was an update to a package not in the yum repository, I would download said package and again use you.
On Wed, Dec 28, 2005 at 11:58:14AM -0500, Robert Moskowitz enlightened us:
At 10:20 AM 12/28/2005, Johnny Hughes wrote:
BTW, I know not having a GUI installer is a PITA ...
This is NOT 1984 anymore. :-D We are SPOILED. (of course I still run NET USE and XCOPY from a command window.)
We are looking at some yum GUI front ends like yumex (which seems to be the best we have checked so far). The only problem I have with yumex so far is that it doesn't work with the yum plugins (at least it did not work with protectbase).
The above linked guide will get you using "yum provides", "yum info xxxxx", "yum search xxxxx" and "yum list xxxxx" so that not having a GUI is at least bearable.
Knowledge is a dangerous thing....
Given all that yum claims why is RPM still used so much?
If by RPM you mean RPM packages: Yum and RPM do completely different things. RPM packages files, lists dependencies, performs pre- and post-install/remove actions, among other things.
Yum uses the information RPM provides to automate much of the "hard work" that has to be done with installing/upgrading/maintaining RPMs.
If by RPM you mean the rpm command, then mostly habit would be my guess.
From what I read here, if there is a package I want that is not in a yum repository like Scalix CE, I would download the rpm, then use yum with that rpm file. That way I would take care of any dependencies needed by Scalix.
Yes, using yum instead of rpm to install the RPM means that if the Scalix CE RPM depends on berkeley db, and berkeley db is not installed, yum will search its configured repositories for a suitable berkeley db rpm, install it first, then install your Scalix RPM. If you did the same with the actual rpm command, then you would have to resolve that dependency yourself.
If there was an update to a package not in the yum repository, I would download said package and again use you.
You can if you like. Again, it might resolve some things for you (if the update requires a newer version of another package, for example). I usually use the rpm command to install local RPM packages and use yum by hand to resolve conflicts, but that's just habit. Yum now comes with a "localinstall" command that would probably replace my method quite handily...I just never remember to use it :-)
Matt
On Wed, 2005-12-28 at 11:58 -0500, Robert Moskowitz wrote:
At 10:20 AM 12/28/2005, Johnny Hughes wrote:
BTW, I know not having a GUI installer is a PITA ...
This is NOT 1984 anymore. :-D We are SPOILED. (of course I still run NET USE and XCOPY from a command window.)
We are looking at some yum GUI front ends like yumex (which seems to be the best we have checked so far). The only problem I have with yumex so far is that it doesn't work with the yum plugins (at least it did not work with protectbase).
The above linked guide will get you using "yum provides", "yum info xxxxx", "yum search xxxxx" and "yum list xxxxx" so that not having a GUI is at least bearable.
Knowledge is a dangerous thing....
Given all that yum claims why is RPM still used so much?
yum uses the RPM database, but does dependency resolution with it's repos.
up2date can do that as well ...
After things are installed via yum or up2date, RPM or anything that uses the rpm database can see them installed.
It is OK to think of yum or up2date (or 3rd party apps like apt or smartpm) as front ends for RPM that do dependency resolution.
From what I read here, if there is a package I want that is not in a yum repository like Scalix CE, I would download the rpm, then use yum with that rpm file. That way I would take care of any dependencies needed by Scalix.
One good thing about yum is it installs RPMS from a local directory and does dependency resolution from there too (as well as from it's repos).
If there was an update to a package not in the yum repository, I would download said package and again use you.
Yum is a really, really nice tool to know! Now that I've gotten familiar with it, I now setup servers with no package groups installed, and just use yum to get whatever I need when I need it.
To see a list of all rpms available via yum
yum list
This can be somewhat slow, so what I tend to do is
yum list > ~/rpmlist
and then grep that file. Eg:
grep -i thunder ~/rpmlist
You can also install groups of items, (EG: All the "KDE" stuff) using groupinstall. EG:
yum groupinstall kde
And to get a list of groups...
yum grouplist
Here are some neat tricks I've discovered...
To remove all of packages matching a pattern, and all dependencies, in this case, postgresql:
yum remove `rpm -qa | grep postgres`
Let's say you have some RPMs in a directory, and want to install them along with the dependencies: (This is one I discovered just yesterday!)
yum install ./postgres*
-Ben
On Tuesday 27 December 2005 22:48, Robert Moskowitz wrote:
At 08:42 PM 12/27/2005, Jim Perrin wrote:
On 12/27/05, Robert Moskowitz rgm@htt-consult.com wrote:
I just added a couple apps to a server and I was asked to insert CD #3. I had wanted to use HTTP to access the distro on my HTTP server.
Now I want to install on another server, so I have a second chance to get this right....
Don't use the "Add or Remove Programs" menu option. It is horribly broken, and provided because the upstream vendor provides the broken app as well. Instead, open up a terminal of your choosing and use yum.
And what do I ask for say for Thunderbird?
yum install thunderbird
?
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos