0

What is the centos setup command used in the initial installation? I have a vmware image and i used 'linux text' to install it; now i would like to go back and use the gui version to add some packages. Is this possible?

user9517
  • 115,471
  • 20
  • 215
  • 297
rumz
  • 225
  • 1
  • 4
  • 13

2 Answers2

4

After your system has been installed, you generally install new packages by logging in and using the "yum" command. This is covered in the CentOS documentation:

If you've installed a desktop environment on your system, you can use the graphical Package Management tool:

larsks
  • 43,623
  • 14
  • 121
  • 180
  • So there is no way to run anaconda where you can choose groups of packages, Development, Server, etc? I know how to use yum but i want to use the groups because i am installing a proprietary rpm that has dependencies and it is failing. – rumz Nov 19 '10 at 15:46
  • You can use yum to install the third-party rpm and it will resolve any dependencies: "yum install /path/to/file.rpm". You can also use yum to install groups, see the yum man page and look at the group* command (grouplist, groupinstall, etc). – larsks Nov 19 '10 at 16:03
  • That should be yum localinstall /path/to/file.rpm, right? – Aaron Copley Nov 19 '10 at 16:15
  • Nope, just yum install. Read the man page: "Note that the install command will do a local install, if given a filename." – larsks Nov 19 '10 at 16:16
  • You're right -- I learned it as localinstall (which works, too) and never tested otherwise. Thanks for the tip! – Aaron Copley Nov 19 '10 at 16:19
3

http://www.centos.org/docs/5/html/Deployment_Guide-en-US/ch-graphical-rpm.html

Depending on which window manager you are using, you can either to to

Applications --> Add/Remove Software

Or from a shell type "system-config-packages".

If you get "command not found", then you would first have to run

yum install system-config-packages

aspitzer
  • 977
  • 5
  • 14