CentOS Desktop Installation Script (for 64-bit CentOS version)

I run CentOS 7 64-bit as my desktop OS. It is extremely stable, fast and powerful.

Here is a little script that I wrote to install the latest kernel, and some commonly used applications. Just run the script, sit back, and relax, as it installs some commonly used applications.

Script: Centos-Apps-Installer

To use this script:

  1. Make a temporary folder: mkdir temp
  2. Navigate to that folder: cd temp
  3. Download the script to this folder.
  4. Make it executable: chmod +x centos-program-install.sh
  5. Run it as root or using sudo: ./centos-program-install.sh

Once the script completes execution, reboot the system.

After reboot, your system should be on the latest kernel. Run: uname -a

The output should be similar to the following:

Linux localhost.localdomain 4.10.12-ck1 #1 SMP Thu Apr 23 20:35:53 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

You should be able to find all the programs installed by the script.

The contents of the script are as follows:


#First install latest kernel

echo “Installing latest kernel (4.10.12)”

wget http://technichristian.net/Kernels/DESKTOP/PCLinux/kernel-4.10.12_ck1-1.x86_64.rpm

rpm -ivh kernel-4.10.12_ck1-1.x86_64.rpm

grub2-mkconfig -o /boot/grub2/grub.cfg

grub2-set-default 0

#Install additional repos for CentOS 7 packages.

echo “Installing repositories”

#Install EPEL repo

rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-9.noarch.rpm

#Install Remi repo

rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm

#Install Webtactic repo

rpm -ivh http://repo.webtatic.com/yum/el7/webtatic-release.rpm

# Install Nux repo

rpm –import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

rpm -ivh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-1.el7.nux.noarch.rpm

# Install Adobe’s repo

rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-x86_64-1.0-1.noarch.rpm

# update the system

echo “Updating System”

yum -y update

#Install MS Fonts

echo “Installing MS fonts”

yum -y install cabextract

rpm -i https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm

#Install Media Codecs, Mplayer and VLC

echo “Installing Media Codecs, Mplayer and VLC”

yum -y install gstreamer-ffmpeg vlc gstreamer-plugins-ugly gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-ugly ffmpeg libvdpau mpg123 mplayer mplayer-gui gstreamer-plugins-bad-nonfree gstreamer1-libav gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly

# Install DVD stuff

echo “Installing libdvdnav and friends”

yum -y install libdvdnav libdvdplay lsdvd

# Install Adobe Flash

echo “Installing Adobe Flash”

yum -y install flash-plugin

# Install some graphics programs and DVD burner software

echo “Installing Gimp, Digikam, K3B”

yum -y install gimp digikam k3b

# Install axel download accelerator

echo “Installing Axel Download Accelerator”

yum -y install axel

# Install the rar compression format

echo “Installing rar”

yum -y install rar unrar

# Install the Geany programmers Editor

echo “Install geany editor”

yum -y install geany

# Install Skype

# Note that skype is 32-bit and will install a long list of #32-bit libraries

echo “Installing Skype”

yum -y install skype

# Install deluge torrent client

echo “Installing Deluge Torrent Client”

yum -y install deluge

# If you need a music player apart from vlc install Clementine

echo “Installing Clementine music player”

yum -y install clementine

# Install the best of all chat clients IMO (pidgin)

echo “Installing Pidgin chat client”

yum -y install pidgin pidgin-awayonlock pidgin-groupchat-typing-notifications pidgin-guifications pidgin-otr pidgin-sipe pidgin-hangouts pidgin-libsteam pidgin-skypeweb purple-skypeweb purple-libsteam whatsapp-purple

# Install Google Chrome

echo “Installing Google Chrome”

wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

yum -y install ./google-chrome-stable_current_*.rpm

# Install powertop – one heck of a power monitor – esp useful for laptops.

# See https://01.org/powertop/ for more info

echo “Installing Powertop”

yum -y install powertop

#Install Google Earth

echo “Installing Google Earth”

wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_x86_64.rpm

yum -y install ./google-earth-stable_current_x86_64.rpm

# Install Filezilla FTP/SFTP Client

echo “Installing Filezilla FTP/SFTP Client”

yum -y install filezilla

# Clean up everything

echo “Cleaning Up”

yum autoremove

yum clean all

exit 0

Make fonts look better

Download this file (.fonts.conf) to each user’s home directory (for example, mine is /home/michael). Note that the file is to be called .fonts.conf (yes, the . in front indicates it is a hidden file).

Log out and log back in. You should have cleaner fonts.


Here are some screenshots from my system:




Leave a Reply

Your email address will not be published. Required fields are marked *