Linux Install desktop software

Source: Internet
Author: User

CentOS is a common operating system for servers, but it is rarely used as a desktop environment because of the need for stability and no very fashionable updates. It is usually not necessary to install a desktop environment on the server, and to install CentOS (i.e. minimal CentOS) with minimal installation. However, it is also very convenient to install the desktop environment through YUM in a minimized installation of CentOS.

Unit on that server let me install a minimal CentOS operating system. But colleagues said the operation is not convenient, so I tried, by the way record this installation method. Using the Yum groupinstall command, it is easy to install a GUI-like desktop system.

1. Yum's group Instructions

Yum can install packaged packages in the program group mode. The supported packages can be passed,

# yum Grouplist

Query to. In the group software package, desktop, desktop Platform, KDE desktop, X Window System are the main desktops.

The list of packages is displayed according to the language used by the system and supports simplified Chinese file names. So it is best to use the above command to check before installation. If the system uses Simplified Chinese, and the installation instruction is in English, it may cause errors such as software packages to be queried. The following installation instructions are in English.

2. Graphical Desktop environment

To install the KDE desktop environment, execute the instructions,

# yum Groupinstall "X window System" "KDE desktop" desktop

3 packages are installed at the same time. Note that because both KDE Desktop and X Window System Two package names contain spaces between them, you need to enclose them in quotation marks.

To install the Gnome desktop environment, execute the instructions,

# yum Groupinstall "X window System" "Desktop Platform" desktop

3 packages are installed at the same time, X Window System is required, whether Gnome or KDE.

Since it is a desktop environment, you may also need things like fonts, administrative tools, such as,

# yum-y Groupinstall "Graphical administration Tools" # yum-y Groupinstall "Internet Browser" # yum-y Groupinstall "Gener Al Purpose Desktop "# yum-y Groupinstall" Office Suite and Productivity "# yum-y Groupinstall" Graphics Creation Tools "
3. Enable

Start the graphical desktop environment directly from the command line,

# STARTX

This will launch the default Gnome or KDE desktop environment. If someone likes to install both Gnome and KDE, the switchover method can refer to the CentOS documentation.

If you want to start automatically when you start to the graphical desktop, you need to modify/etc/inittab, change Id:3:initdefault: to Id:5:initdefault:. Reference. It would be convenient to use SED directly,

Sed-i ' s/id:3:initdefault:/id:5:initdefault:/'/etc/inittab

After starting the graphical interface, if you want to switch from the graphical interface to the command line interface, you can use CTRL + ALT + F6 (actually F1 to F6, but they represent different consoles in Linux), or in turn Ctrl + ALT + F7 back to just the graphical interface.

Linux Install desktop software

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.