Solved

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

Posted on 2014-12-04
2
436 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 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

21 Experts available now in Live!

Get 1:1 Help Now