Minimal packages to run X Window System (TWM)
From WBITT's Cooker!
(→System stats (before and after)) |
|||
Line 49: | Line 49: | ||
[root@testx ~]# | [root@testx ~]# | ||
</pre> | </pre> | ||
+ | |||
+ | ===ScreenShot=== | ||
+ | [[File:Minimal-X-1.png]] |
Revision as of 05:33, 29 March 2011
The package list here, was tested on CENTOS 5.5 x86_64 installed with @core. There are two methods to do this.
- YUM method, if you already have a working yum repository available.
- RPM method, if you do not have a yum repository.
YUM method
You can use the command yum groupinstall 'X Window System' to install simple X Window System, with TWM (Tom's Window Manager). This group is already compact enough. Thus there is no benefit in installing X Window System's components by hand.
There is already a yum repository configured in default system installation, by the name 'c5-media', which checks for media in any of the following: /media, /media/cdrom or /media/CentOS . Just mount your CentOS CD/DVD on /media/cdrom.
# mkdir /media/cdrom # mount /dev/cdrom /media/cdrom/
The following will install about 115 MB of packages, and will give you a fully functional X Window System:
# yum --disablerepo=\* --enablerepo=c5-media groupinstall 'X Window System'
System stats (before and after)
Our system:
[root@testkde ~]# uname -a Linux testx 2.6.18-194.el5 #1 SMP Fri Apr 3 14:58:14 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
Before: (only @core / no X)
[root@testx ~]# rpm -qa | wc -l 233 [root@testx ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 2.8G 717M 2.0G 27% / /dev/vda1 99M 12M 82M 13% /boot tmpfs 250M 0 250M 0% /dev/shm [root@testx ~]#
After: (@core and X Window components)
[root@testx ~]# rpm -qa | wc -l 443 [root@testx ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda3 2.8G 1.2G 1.6G 43% / /dev/vda1 99M 12M 82M 13% /boot tmpfs 250M 0 250M 0% /dev/shm [root@testx ~]#