Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-14-2015, 11:18 AM
|
#1
|
Member
Registered: Jul 2008
Posts: 32
Rep:
|
help installing program
I'm trying to install basex on a centos 7 headless server, but I'm confused on how to install it. I would appreciate any help.
|
|
|
05-14-2015, 11:27 AM
|
#2
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Is it in the repos? a la:
|
|
|
05-14-2015, 11:44 AM
|
#3
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
No it isn't in the repo. I went to their web page and clicked on the centos 7 link and I get this
[home_basex_opensuse]
name=BaseX openSUSE Build (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/repodata/repomd.xml.key
enabled=1
|
|
|
05-14-2015, 12:37 PM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,927
|
|
|
|
05-14-2015, 12:52 PM
|
#5
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
So I need to go to
/etc/yum.repos.d
create a file called
home_basex_opensuse
paste in
[home_basex_opensuse]
name=BaseX openSUSE Build (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/repodata/repomd.xml.key
enabled=1
save file
then import gpgkey
rpm --import http://download.opensuse.org/reposit...repomd.xml.key
then I can run yum install based
???
Sorry new to this method
|
|
|
05-14-2015, 01:01 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,927
|
Yes.
|
|
|
05-14-2015, 01:09 PM
|
#7
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
I tried that, but it still says it can find it. I even tried yum search and yum search all BaseX, but not finding anything.
|
|
|
05-14-2015, 01:11 PM
|
#8
|
Moderator
Registered: Aug 2002
Posts: 26,927
|
Sorry, you need to update yum i.e.
yum update.
|
|
|
05-14-2015, 01:21 PM
|
#9
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
I tried that and still no luck on installing or finding it.
|
|
|
05-14-2015, 01:35 PM
|
#10
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,710
|
then you did NOT add the openSUSE OBS repo
yes opensuse's OBS
save THIS FILE!!!!!
http://download.opensuse.org/reposit...:opensuse.repo
to /etc/yum.repo.d
then update yum ( not really needed yum will AUTO update the database once you start it )
then do a search
AND IT IS CAPITALIZATION SENSITIVE AS WITH EVERYTHING ELSE with linux
Code:
su -
yum search basex
---- you will see it in the output , then
yum install basex
a warning will pop up asking to import the NEW repos security hash
SAY YES!!!! to that
Last edited by John VV; 05-14-2015 at 01:41 PM.
|
|
|
05-14-2015, 01:46 PM
|
#11
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
Here is what I have
pwd
/etc/yum.repos.d
ls
CentOS-Base.repo CentOS-fasttrack.repo epel.repo
CentOS-CR.repo CentOS-Sources.repo epel-testing.repo
CentOS-Debuginfo.repo CentOS-Vault.repo home_basex_opensuse
cat home_basex_opensuse
[home_basex_opensuse]
name=BaseX openSUSE Build (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/basex:/opensuse/CentOS_7/repodata/repomd.xml.key
enabled=1
then did yum update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: dallas.tx.mirror.xygenhosting.com
* epel: reflector.westga.edu
* extras: mirror.oss.ou.edu
* updates: mirrors.gigenet.com
No packages marked for update
What am I missing?
|
|
|
05-14-2015, 01:54 PM
|
#12
|
Moderator
Registered: Aug 2002
Posts: 26,927
|
Change home_basex_opensuse to home_basex_opensuse.repo
|
|
|
05-14-2015, 02:00 PM
|
#13
|
Member
Registered: Jul 2008
Posts: 32
Original Poster
Rep:
|
Thank you guys for all the help. I appreciate it.
|
|
|
All times are GMT -5. The time now is 03:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|