Cara Uninstall GUI Di Linux Centos 7

Di kesempatan kali ini saya akan mencoba memposting bagaimana cara uninstall GUI Di Linux Centos 7, cerita sedikit kenapa bisa ada artikel dengan judul ini karena adanya project installasi linux centos namun seiring perjalanan pihak yang punya project mintanya tidak di install GUI Mode tapi Text Mode akhirnya coba di uninstall GUI Mode nya di linux centos saya coba menjalankan syntak seperti di bawah ini :

 yum groupremove ‘X Window System’ ‘GNOME’

Tapi setelah melakukan syntak diatas menemukan masalah reponse nya tidak sesuai harapan kira - kira response nya seperti ini

Loaded plugins: fastestmirror, langpacks
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
base                                                                                                                                                                                | 3.6 kB  00:00:00
extras                                                                                                                                                                              | 3.4 kB  00:00:00
updates                                                                                                                                                                             | 3.4 kB  00:00:00
(1/4): extras/7/x86_64/primary_db                                                                                                                                                   |  90 kB  00:00:03
(2/4): base/7/x86_64/group_gz                                                                                                                                                       | 155 kB  00:00:09
(3/4): updates/7/x86_64/primary_db                                                                                                                                                  | 953 kB  00:00:09
(4/4): base/7/x86_64/primary_db                                                                                                                                                     | 5.3 MB  00:00:10
Determining fastest mirrors
* base: mirror.vastspace.net
* extras: mirror.upsi.edu.my
* updates: mirror.upsi.edu.my
No environment named X Window System exists
No environment named GNOME exists
Maybe run: yum groups mark remove (see man yum)
No packages to remove from groups

Ada error output ‘yum groups mark remove’ dan setelah Googling ada juga nih referencenya https://rmohan.com/?p=5460 solusinya yaitu menambahkan upgrade_group_objects_upgrade=0 atau group_command=simple di /etc/yum.conf

main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
group_command=simple

#  This is the default, if you make this bigger yum won’t see if the metadata
# is newer on the remote and so you’ll “gain” the bandwidth of not having to
# download the new metadata and “pay” for it by yum not having correct
# information.
#  It is esp. important, to have correct metadata, for distributions like
# Fedora which don’t keep old packages around. If you don’t like this checking
# interupting your command line usage, it’s much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

Coba jalankan sintak diatas tadi

yum groupremove ‘X Window System’ ‘GNOME’

Maka mudah - mudahan respon nya seperti ini

Loaded plugins: fastestmirror, langpacks
base                                                                                                                                                                                | 3.6 kB  00:00:00
extras                                                                                                                                                                              | 3.4 kB  00:00:00
updates                                                                                                                                                                             | 3.4 kB  00:00:00
Loading mirror speeds from cached hostfile
* base: mirror.vastspace.net
* extras: mirror.upsi.edu.my
* updates: mirror.upsi.edu.my
No environment named X Window System exists
No environment named GNOME exists
Resolving Dependencies
–> Running transaction check
—> Package PackageKit-command-not-found.x86_64 0:1.0.7-5.el7.centos will be erased
—> Package PackageKit-gtk3-module.x86_64 0:1.0.7-5.el7.centos will be erased
—> Package abrt-desktop.x86_64 0:2.1.11-36.el7.centos will be erased
—> Package at-spi2-atk.x86_64 0:2.8.1-4.el7 will be erased
–> Processing Dependency: libatk-bridge-2.0.so.0()(64bit) for package: gtk3-3.14.13-16.el7.x86_64
—> Package at-spi2-core.x86_64 0:2.8.0-6.el7 will be erased
–> Processing Dependency: at-spi2-core for package: pyatspi-2.8.0-3.el7.noarch

org-x11-drv-ati                                                    x86_64                           7.5.0-3.el7                                                @base                               444 k
xorg-x11-drv-dummy                                                  x86_64                           0.3.6-21.el7                                               @base                                20 k
xorg-x11-drv-evdev                                                  x86_64                           2.9.2-2.el7                                                @base                                69 k
xorg-x11-drv-fbdev                                                  x86_64                           0.4.3-20.el7                                               @base                                25 k
xorg-x11-drv-intel                                                  x86_64                           2.99.917-8.20150615.el7                                    @base                               1.9 M
xorg-x11-drv-nouveau                                                x86_64                           1:1.0.11-2.el7                                             @base                               217 k
xorg-x11-drv-qxl                                                    x86_64                           0.1.1-18.el7                                               @base                               179 k
xorg-x11-drv-synaptics                                              x86_64                           1.8.2-1.el7                                                @base                               131 k
xorg-x11-drv-v4l                                                    x86_64                           0.2.0-42.el7                                               @base                                24 k
xorg-x11-drv-vesa                                                   x86_64                           2.3.2-20.el7                                               @base                                29 k
xorg-x11-drv-vmmouse                                                x86_64                           13.0.0-11.el7                                              @base                                29 k
xorg-x11-drv-vmware                                                 x86_64                           13.0.2-7.20150211git8f0cf7c.el7                            @base                               164 k
xorg-x11-drv-void                                                   x86_64                           1.4.1-1.el7                                                @base                                15 k
xorg-x11-drv-wacom                                                  x86_64                           0.29.0-1.el7                                               @base                               957 k
yelp-libs                                                           x86_64                           1:3.14.2-1.el7                                             @base                               243 k
zenity                                                              x86_64                           3.8.0-5.el7                                                @base                               5.3 M

Transaction Summary
===========================================================================================================================================================================================================
Remove  98 Packages (+133 Dependent packages)

Installed size: 634 M
Is this ok [y/N]:

Demikianlah postingan kali ini tentang linux server, semoga bermanfaat ya

Related Articles

Comments