Solved

How to manuelly install GNOME or KDE on RHEL6

Posted on 2011-09-08
10
2,538 Views
Last Modified: 2013-12-16
Hi, I am wondering if its possible to mannuelly install gnome or KDE on REDHAT? If yes which packages should I install.

P.S: I don't have internet installed on that server so YUM is not an option
0
Comment
Question by:cismoney
  • 3
  • 2
  • 2
  • +1
10 Comments
 
LVL 88

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 36502000
If you have all the Installation CD's or DVD's, then you can still use yum to install gnome or KDE. Make sure that the optical drive is included in the software sources (check the Link below, it should give you an idea):

http://www.cyberciti.biz/faq/centos-linux-install-packages-from-dvd-using-yum/

and then use

yum install gnome-desktop

or

yum install kde-desktop
0
 

Author Comment

by:cismoney
ID: 36502265
great but do you know the exact path for redhat 6 (i am newbie)?? your  example is for cent os.

 

for example

# vi /etc/yum.repos.d/CentOS-Media.repo
# yum --enablerepo=c5-media install pacakge-name

# yum --disablerepo=\* --enablerepo=c5-media install pacakge-name
# yum --disablerepo=\* --enablerepo=c5-media groupinstall 'Virtualization'
0
 
LVL 88

Expert Comment

by:rindi
ID: 36502289
As CentOS is a clone of Redhat, you can probably just replace the word CentOS with Redhat, and c5-media with RH6-media, but as I'm guessing since I don't use Redhat, you should be able to check this on the Redhat site. They should usually have have similar documentation on their site.
0
 
LVL 7

Assisted Solution

by:boon86
boon86 earned 125 total points
ID: 36509246
check this for rhel 6 repo:

http://www.cyberciti.biz/faq/rhel6-beta-howto-use-yum-command-to-install-packages-without-rhn/

to install kde i guess is: yum install kde  or yum install gnome

you can search using: yum search gnome or yum search kde

hope that help
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:cismoney
ID: 36509382
I want to use yum to install kde with all the dependancies using the dvd.
0
 
LVL 7

Expert Comment

by:boon86
ID: 36509423
All you need to do is mount the  dvd to, for example, /home/me/disk and then create a file dvd.repo in /etc/yum.repos.d/ with the following lines:
[dvd]
name=Fedora DVD
baseurl=file:///home/me/disk
enabled=1
gpgcheck=0

Open in new window


yum localinstall package


hope that help
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 36509430
Here's another way to do it:

vi /etc/yum.repos.d/myrepo.repo

This would be the contents of the file myrepo.repo
 
[dvd]
mediaid=xxxxxxxxxx.xxxxxx
name=RHEL 6 DVD
baseurl=file:///media/RHEL6
enabled=1
gpgcheck=0



mediaid: This value can be found in the file .discinfo in the root of the DVD

If the Original DVD name of the Redhat DVD is used as the mountpoint, then you'll have to substitute every space with a %20.

For Example:

/media/RHEL_6.1 x86_64 Disc 1

would be:

baseurl=file:///media/RHEL_6.1%20x86_64%20Disc%201
0
 
LVL 6

Accepted Solution

by:
mohansahu earned 125 total points
ID: 36509959
Hi,

 this is the way u can go to install gnome or KDE desktop

mkdir /media/dvd

mount /dev/dvd /media/dvd

yum localinstall /media/dvd/Server/createrepo...rpm

mkdir /myrepo/

cd /myrepo

cat /media/dvd/*/repodata/*.xml >> mycomps.xml
vi mycomps.xml
   #remove all <comps> </comps>
   #except the top <comps> and
   #the bottom </comps>

cp -av /media/dvd .

createrepo -g mycomps .

vi /etc/yum.repos.d/rhel60-dvd.repo
[myrhel6]
name=Red Hat Enterprise Linux x86_64
baseurl=file:///myrepo
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

MS
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Anti-virus for Linux Server 15 121
Wrap Oraccle SQL*Plus executable Command 4 66
Xymon customize http timeout 2 62
Printing to old printer through Linux (CUPS) Print Server? 7 46
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now