?
Solved

how to install dependencies during package installation in Centos 6.5 and change repositories

Posted on 2014-12-04
2
Medium Priority
?
485 Views
Last Modified: 2014-12-10
Dear experts,

Recently I was trying to install a package called dbf2mysql into CentOS 6.5. Unfortunately, this package doesn't come with yum install. Instead I have to install with rpm command. When I tried to install the package, the message popped up some dependency files that I need for this package.

I am wondering if there is a way for CentOS to auto install those dependencies as well or there are other methods to resolve it?

I also like to find out what other ways I can change my repositories with CentOS because I got stuck with the yum update/upgrade at one of the file which it may seem to be a broken link.

Thanks.
0
Comment
Question by:Kinderly Wade
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Assisted Solution

by:slubek
slubek earned 1000 total points
ID: 40482070
1. You can install rpm package with all dependencies (if they are available in repositories you use, of course) with
# yum localinstall package.rpm

Open in new window

2. CentOS repositories are defined in /etc/yum.repos.d/*.repo files. If you want to disable repo, edit its configuration and set enabled=0 option. You can also disable repo temporarily with
# yum --disablerepo=reponame

Open in new window

0
 
LVL 19

Accepted Solution

by:
jools earned 1000 total points
ID: 40491367
Try getting the package listed in a repo, pbone seems to have a version but you need to register to get the repo (free)

http://rpm.pbone.net/index.php3/stat/39

once you install the repo you should be able to do yum install dbf2mysql (or possibly get a bit further along than you are)
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question