Friday, October 5, 2018

HOW TO INSTALL LXQT GUI ON CENTOS 7 NetInstall (from bootable USB)/Minimal Installation version chosen

I prepared the USB bootable disc with "dd"-command from another Linux distro;
dd if=/path/to/your/net_install_iso of=/dev/sdx    ##x is your USB drive (check with fdisk -l)
Next, install CentOS NetInstall as usual (google HOWTO and you will get many pages with print screens). Important is to select "Minimal Installation" in the SoftwareSelection section with all additional packages i.e.:
debugging tools
compativility libraries
development tools
security tools
smart card support
system administration tools
Without the above I had issues with my LXQT GUI running on CentOS7.
As last step you need to create password for root user and create another user. I have made this new user an admin requiring no password (check in/check out relevant boxes in the installation GUI), hence all the below commands require "sudo" in front of them.

Ok, here's the main part to install LXQT GUI in CentOS 7 (tested twice):

sudo yum update
sudo yum install wget
cd /etc/yum.repos.d/
sudo yum -y install epel-release
sudo yum -y wget http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo rpm -Uhv nux-dextop-release-0-5.el7.nux.noarch.rpm
sudo yum repolist

sudo yum group install "X Window System"
>>For some reason not all group was installed so list the packages related to this group and install them with "yum install package_name" instead:

sudo yum install glx-utils initial-setup-gui mesa-dri-drivers plymouth-system-theme spice-vdagent xvattr tigervnc-server wayland-protocols-devel xorg-x11-drv-keyboard xorg-x11-drv-libinput xorg-x11-drv-mouse xorg-x11-drv-openchrome xorg-server xorg-xinit xorg-server-utils

[sudo yum install *Xorg* ##This step is only required when the above software installed doesn't start LXQT GUI - for me it worked without this command].
lspci | grep -i VGA    ##to check if your vga card was correclty recognized and installed]

sudo yum install *lxqt* -y
sudo yum install -y libqtxdg libsysstat lxqt-build-tools liblxqt lxqt-about lxqt-admin lxqt-config lxqt-globalkeys lxqt-l10n lxqt-notificationd lxqt-openssh-askpass lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo lxqt-themes libfm-qt pcmanfm-qt lximage-qt compton-conf obconf-qt pavucontrol-qt qterminal qtermwidget qps screengrab lxqt-common lxqt-config-l10n lxqt-globalkeys-devel lxqt-panel-devel lxqt-wallet
>>Out of the above the below packages weren't found in repos:
No package qps available.
No package lxqt-admin available.
No package lxqt-themes available.
No package compton-conf available.


sudo systemctl get-default    ##check the current run-level
sudo systemctl set-default graphical.target    ##change to the graphical GUI as default
sudo systemctl get-default    ##it should point at the graphical.target now, symlink removed and new created
cd    ##cd to your home directory where .xinitrc file is going to be created:
echo "exec startlxqt" >> /home/breadfan/.xinitrc

reboot    ## log in and type "startx" => LXQT works!!!

-----------------------------------------------------------------------------------------
sudo yum install *bash*
sudo yum install ksysguard yakuake firefox vim*