Please either check (using rpm -qa command) that all these packages are installed or just ask administrator to install them. For typical installation of RHEL6 or CentOS6 many X11 packages should already be there, but in some cases they may be missing. This list was produced with fresh install of CentOS6.3 minimal, for other version there may be variations in the names.

List of packages:

alsa-lib                    atk                         compat-libf2c-34
fontconfig                  freetype                    gsl
gtk2                        libICE                      libSM
libX11                      libXext                     libXft
libXinerama                 libXpm                      libXrender
libXtst                     libXxf86vm                  libgfortran
libgomp                     libjpeg                     libpng
libpng-devel                mesa-libGL                  mesa-libGLU
pango                       postgresql-libs             unixODBC
xorg-x11-fonts-Type1        xorg-x11-fonts-base         xorg-x11-fonts-100dpi
xorg-x11-fonts-truetype     xorg-x11-fonts-75dpi        xorg-x11-fonts-misc

To install everything in one command copy and paste this:

sudo yum install alsa-lib atk compat-libf2c-34 fontconfig freetype gsl libgfortran libgomp libjpeg libpng libpng-devel pango postgresql-libs unixODBC \
       libICE libSM libX11 libXext libXft libXinerama libXpm libXrender libXtst libXxf86vm mesa-libGL mesa-libGLU gtk2 \
       xorg-x11-fonts-Type1 xorg-x11-fonts-base xorg-x11-fonts-100dpi xorg-x11-fonts-truetype xorg-x11-fonts-75dpi xorg-x11-fonts-misc

Do not run this command from the account which has a special .rpmmacros file created by site-setup.sh script. If you need to use that account then do:

% sudo -i
<enter password>
# yum install ...

One can also instal qt packages using:

yum install qt qt-x11
  • No labels