Jump to content

Install Gnome on a ClearOS 5.2 + nomachine


Leon
 Share

Recommended Posts

  • Administrators

You should probably try this on a virtual machine instance or NON production box first. With the disclaimer that you can’t blame me if you break your box, here’s my mad scientist approach to get Gnome installed on a fresh install of ClearOS 5.2:
#!/bin/sh
 

yum -y install gedit
rpm -ivh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
rpm -ivh ftp://mirror.switch.ch/pool/3/mirror/rpmfusion/free/el/updates/5/x86_64/rpmfusion-free-release-5-0.1.noarch.rpm
rpm -ivh http://centoscn.googlecode.com/files/rpmfusion-nonfree-release-5-0.1.noarch.rpm
rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-fastestmirror-1.1.16-13.el5.centos.noarch.rpm
rpm -Uvh http://vault.centos.org/5.4/os/i386/CentOS/yum-3.2.22-20.el5.centos.noarch.rpm
rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/yum-utils-1.1.16-13.el5.centos.noarch.rpm
rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/switchdesk-4.0.8-6.noarch.rpm
rpm -ivh http://vault.centos.org/5.4/os/i386/CentOS/gtk2-engines-2.8.0-3.el5.i386.rpm
rpm --force -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-logos-4.9.99-11.el5.centos.noarch.rpm
rpm --nodeps -ivh http://vault.centos.org/5.4/os/i386/CentOS/redhat-artwork-5.1.0-28.el5.centos.i386.rpm
rpm -e app-graphical-console
rpm -e xconsole
rpm -Uvh ftp://ftp.pbone.net/mirror/ftp.scientificlinux.org/linux/scientific/55/i386/updates/security/xulrunner-1.9.2.7-2.el5.i386.rpm
rpm -ivh http://vault.centos.org/5.3/os/i386/CentOS/pygtk2-libglade-2.10.1-12.el5.i386.rpm
rpm -Uvh http://vault.centos.org/5.3/extras/i386/RPMS/yumex-2.0.3-2.el5.centos.noarch.rpm
wget --no-check-certificate http://team.osxlatitude.com/home/leon/ClearOS-CentOS-Base.repo
mv ClearOS-CentOS-Base.repo /etc/yum.repos.d
yum clean all
yum -y upgrade yum-fastestmirror yumex yum-protect-packages yum-metadata-parser yum-kmod dkms
yum -y groupinstall "GNOME Desktop Environment"
yum -y install firefox thunderbird rdesktop tsclient wireshark wireshark-gnome gftp logwatch arpwatch

 


Copy and paste all of the above commands into a file on your ClearOS 5.2 system named “ClearOS_to_CentOS.sh” or something as the root user, chmod it to 700 (i.e. “chmod 700 ClearOS_to_CentOS.sh”), then run it (i.e. “./ClearOS_to_CentOS.sh”).
The script will pull all but 2 files from the CentOS valut for version 5.4 (note, if you cat /etc/redhat-release on a ClearOS 5.2 box it identifies the system as CentOS 5.4). The 2 files that don’t come from the CentOS vault are a repo file I created to be able to pull needed CentOS 5.4 packages, and a single RPM for xulrunner-1-9.2.7-2 which is not currently available for CentOS.
In addition, the final command installs what I’d consider to be a core set of applications you’d want in Gnome.

Keep in mind that once the script finishes, you’ll still have the epel and 2 rpmfusion repos enabled on your system. I’d recommend removing them using the following commands to be sure that any updates in them don’t break your system when you update it later on.

Remove them using the following 3 commands, one at a time:

rpm -e rpmfusion-release-nonfree
rpm -e rpmfusion-release-free
rpm -e epel-release

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...