How to change the repository settings for yum installer

repositorysoftware installationyum

I am pretty much new to Linux. I am trying to install tint2 on CentOS. When I try to install using the command yum install tint2, it gave following error

checking for X11... configure: error: Package requirements (x11 xcomposite xdamage xinerama xrender xrandr) were not met:

No package 'xcomposite' found
No package 'xdamage' found
No package 'xinerama' found
No package 'xrandr' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.`

When I try to install those packages which I belive should be done using

$>yum install xinerama
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.lga7.us.voxel.net
 * extras: mirror.rackspace.com
 * updates: mirror.atlanticmetro.net
Setting up Install Process
No package xinerama available.
Nothing to do

I am bit unclear here. How can I change the yum settings to look for x* packages at the different repository where packages are available?

What does it mean when it says

"Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.

Best Answer

You can set Yum to phrase alternative repo's by downloading & installing the .rpm file of the repo. Proper instructions can be found in EPEL repo installation

Related Question