Solved

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

Posted on 2014-12-04
2
438 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
2 Comments
 
LVL 7

Assisted Solution

by:slubek
slubek earned 250 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 250 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 84
linux copy files from usb to folder on system 14 58
nagios remote hosts 9 42
Run DOS2UNIX and then execute the command 21 32
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

919 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now