LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Add/Remove Component For CentOS 5.3 (https://www.linuxquestions.org/questions/linux-server-73/add-remove-component-for-centos-5-3-a-752600/)

k_oudom 09-04-2009 04:26 AM

Add/Remove Component For CentOS 5.3
 
What is command to run Add/Remove Component for CentOS? For Ubuntu I use tasksel. While I am installing CentOS I select GNOME but I might uncheck to many component, so it boot to text mode and I can't start Graphic Mode even if I use startx.

colucix 09-04-2009 04:48 AM

If you can't start the X environment, you cannot run the Add/Remove software application (pirut from the command line). In text mode you have to deal with yum, the package manager. Indeed Add/Remove Software is a wrapper to run yum commands in a more comfortable graphical interface. Here is the documentation from the CentOS site: http://www.centos.org/docs/5/html/yum/.

If you want to re-install (or add missing component to GNOME) you can try to install the whole group of packages. Here is some useful command line:
Code:

yum grouplist                                ### lists all installed and available groups
yum groupinfo "GNOME Desktop Environment"    ### lists the packages in the group classified
                                              ### as mandatory, default and optional
yum groupinstall "GNOME Desktop Environment"  ### installs the specified group



All times are GMT -5. The time now is 07:23 PM.