Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to use yum to install package "pkg-config" but fail , I am wonder the package "pkg-config" is common that should be available to install ( except this package , I also found other package is not available to install ) , could advise why I can not find it by yum ? except download it from http web page ( eg. rpmfind ) how to install it ? do I need to re-config the yum setting ? thanks
yum install pkg-config
Loaded plugins: downloadonly, rhnplugin, security
Setting up Install Process
No package pkg-config available.
Nothing to do
it tried many sites but still can not installed , the error is as below.
HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/04beb06960588ca2774ec666e566ce1344122443-filelists.sqlite.bz2 from epel: [Errno 256] No more mirrors to try
it tried many sites but still can not installed , the error is as below.
HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/04beb06960588ca2774ec666e566ce1344122443-filelists.sqlite.bz2 from epel: [Errno 256] No more mirrors to try
The package is named pkgconfig. Try yum install pkgconfig.
The above error message indicates that something is wrong with your repository configuration, so that yum install is unlikely to work either.
What Linux distro and version are you using?
The package is named pkgconfig. Try yum install pkgconfig.
The above error message indicates that something is wrong with your repository configuration, so that yum install is unlikely to work either.
What Linux distro and version are you using?
Another question , if it asks to install prerequisites when yum package , how to automatically install prerequisites ? thanks
yum does install prerequisites automatically if they are available in one of the configured repos. If it doesn't, it's because it can't find the prerequisites.
In such a case you have to figure out where the required package is and install it manually, or add the repository that has it to your configuration.
almost everything is going to be missing if you only install package config by it's self
"yum " so guessing this is ???????
RHEL 6.5
RHEL 5.10
CentOS 6.5
CentOS 5.10
SL 6.4
SL 5.10
or
Fedora 18
fedora 19
fedora 20 -testing
or did you install yum on suse and bypass zypper ?
pkgconfig is part of the development group as part of autotools
the best way to install it is to install EVERYTHING it is going to NEED also
yum does install prerequisites automatically if they are available in one of the configured repos. If it doesn't, it's because it can't find the prerequisites.
In such a case you have to figure out where the required package is and install it manually, or add the repository that has it to your configuration.
thanks reply , if it can't find the prerequisites , is it because the server point to wrong web site ? do I need to re-config the yum setting ? thanks
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.