LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-14-2015, 12:18 PM   #1
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Rep: Reputation: 0
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.
 
Old 05-14-2015, 12:27 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Is it in the repos? a la:
Code:
yum search basex
 
Old 05-14-2015, 12:44 PM   #3
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
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
 
Old 05-14-2015, 01:37 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,546

Rep: Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143
You need to add the basex repository.


http://www.cyberciti.biz/tips/rhel5-...epository.html
 
Old 05-14-2015, 01:52 PM   #5
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
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
 
Old 05-14-2015, 02:01 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,546

Rep: Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143
Yes.
 
Old 05-14-2015, 02:09 PM   #7
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
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.
 
Old 05-14-2015, 02:11 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,546

Rep: Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143
Sorry, you need to update yum i.e.
yum update.
 
Old 05-14-2015, 02:21 PM   #9
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
I tried that and still no luck on installing or finding it.
 
Old 05-14-2015, 02:35 PM   #10
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,465

Rep: Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606Reputation: 2606
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 )
Code:
su -
yum update
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 02:41 PM.
 
Old 05-14-2015, 02:46 PM   #11
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
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?
 
Old 05-14-2015, 02:54 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,546

Rep: Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143Reputation: 3143
Change home_basex_opensuse to home_basex_opensuse.repo
 
Old 05-14-2015, 03:00 PM   #13
jdmmis
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 0
Thank you guys for all the help. I appreciate it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing a program... Wilabob Linux - Newbie 4 01-07-2009 10:03 PM
Installing a program PhuckFonix Linux - Newbie 6 05-29-2004 02:36 PM
Installing a program newuser455 Linux - Hardware 3 05-23-2004 10:46 PM
installing program help!!!!!!!!! shadow Linux - General 8 07-09-2003 06:21 PM
installing a program bricast Linux - Newbie 5 08-15-2002 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration