Yum source configuration file/etc/yum. repos. in the d directory, configure the yum sample [rhel-source] name = RedHatEnterpriseLinux $ releasever-$ basearch-Sourcebaseurl = file: /// home/Oracle/rh6.2/Server/enabled = 1 gpgcheck = 1 gpgkey = file:
Yum source configuration file
Under the/etc/yum. repos. d directory
Sample for configuring yum
[Rhel-source]
Name = Red Hat Enterprise Linux $ releasever-$ basearch-Source
Baseurl = file: // home/Oracle/rh6.2/Server/
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-RedHat-beta, file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[Cdrom]
Name = Red Hat Enterprise Linux2 $ releasever-$ basearch-Source
Baseurl = file: // home/oracle/rh6.2/Server/
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[Rhel-source-beta]
Name = Red Hat Enterprise Linux $ releasever Beta-$ basearch-Source
Baseurl = file: // home/oracle/rh6.2/Server # path/rh6.2 contains all files in the CD
Enabled = 1
Gpgcheck = 1
Gpgkey = file: // etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta, file: /// etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release # The class is used to obtain the system version or certificate.
How to Install KDE in CentOS
By Stephen on October 22,200 9 · 9 comments
In CentOS
To install KDE Desktop, type this:
Yum groupinstall "X Window System" "KDE (K Desktop Environment )"
To install Gnome Desktop, type this:
Yum groupinstall "X Window System" "GNOME Desktop Environment"
After the installation is finished, type this to start KDE or GNOME:
Startx
I used yum groupinstall "X Window System" "KDE *"