LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2011, 03:16 PM   #1
gfrechet
LQ Newbie
 
Registered: Dec 2011
Location: Maine, USA
Distribution: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Posts: 3

Rep: Reputation: Disabled
Question How to tell if an application is installed or not.


I'm brand new to Linux. How can I tell if my Oracle application is installed on my Linux server? I see directories out there (/opt/oracle/admin). Does this alone indicate that an install took place? I'm used to checking this stuff in Windows only.

I see that others have had the same question, so I'll continue to search once I enter this (my first) entry.
 
Old 12-07-2011, 03:31 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
You can do it a few ways....

You can use the "find" command, "whereis" or "which"
 
Old 12-07-2011, 03:40 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Depending on the distribution, you can use the packagemanager to find out if a package is installed.

Kind regards
 
1 members found this post helpful.
Old 12-07-2011, 07:28 PM   #4
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: OpenSUSE
Posts: 1,396
Blog Entries: 7

Rep: Reputation: 166Reputation: 166
Tell us which distribution of gnu/linux you are using and we will be able to be more specific for you.
 
Old 12-08-2011, 07:21 AM   #5
RSridhar
LQ Newbie
 
Registered: Sep 2009
Posts: 13

Rep: Reputation: 4
Thumbs up

try one or both of the following in terminal

yum list installed [package name]

rpm -q [package name]

see also man rpm for other options
 
Old 12-08-2011, 02:16 PM   #6
gfrechet
LQ Newbie
 
Registered: Dec 2011
Location: Maine, USA
Distribution: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Posts: 3

Original Poster
Rep: Reputation: Disabled
Additional info on my installation.

I ran the following 'cat' and got the results displayed as seen below.

bash-3.2$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

I have no /opt/bin directory, and I have no idea what that means. I do, however, have a /bin directory and I don't see an entry for Oracle there. It seems to me that it's a system directory.

I also tried the following:

bash-3.2$ rpm -q oracle
package oracle is not installed
bash-3.2$

So, does all this tell me that Oracle is not installed? Should I just try installing it again?

I wonder/doubt since I do have the following directory structure on the server: /opt/oracle/admin

I tend to believe that the directory structure was created, but the software wasn't installed.


My thanks to everyone who has responded.

I would like to request one thing of you though (for your benefit as well as mine): if you are asking me for further information (or ANY information), I will likely not know how to obtain it, at least not without reading lots of documentation. If you would provide the command, I'll be glad to post that as soon as I am able. I know I may be asking for a lot from those who are so willing to help me, but I know your time is as valuable as mine is, and I'd like to get back to you as soon as I can.

Regards,
 
Old 12-08-2011, 02:44 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
seeing as RHEL 5.7 is not free
And you MUST have a paid for license ( a server license for one year is $1299 USD)
http://www.redhat.com/support/
also Oracl is also NOT free
a support contract is also needed

now seeing as oracle has its own version of linux "unbreakable Linux"

you are paying oracle a lot of cash so use this paid for support
https://support.oracle.com/CSP/ui/flash.html


if you do not intend on paying them then DO NOT use it
there is a "free" alternative to RHEL called CentOS

oracle ? yes and no it depends . Use MySQL for most everyday database needs .
 
Old 12-08-2011, 03:12 PM   #8
gfrechet
LQ Newbie
 
Registered: Dec 2011
Location: Maine, USA
Distribution: Red Hat Enterprise Linux Server release 5.7 (Tikanga)
Posts: 3

Original Poster
Rep: Reputation: Disabled
Wink Clarification

John,

Thanks for your response. To clarify, I'm working for a corporation that presented me with the task of migrating our Windows Oracle DB to a Linux 64bit DB. All licenses have been purchased. I wouldn't be doing this on my own - .

So, I'm having to learn a brand new OS, as well as Oracle on Linux. We're not using Oracle's version of Linux though. That's a corporate decision.

Regards,
 
Old 12-08-2011, 03:34 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,093

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
that is the case then you have two different, and not cheep , paid for support ( yes a phone call or a support ticket on the web)
Oracle's and Red Hat's

now the rhel documentation is
https://access.redhat.com/knowledge/docs/
or
you can search the red hat knowledge base
https://access.redhat.com/knowledge/search
for that thou you WILL need your red hat username and password ( log in to the support)

oracle docs
http://docs.redhat.com/docs/en-US/Re...ide/index.html
a PDF file

seeing as this is a database server pay very close attention to SELinux warnings !
DO NOT turn SE off ,but FIX all and every warning .
http://docs.redhat.com/docs/en-US/Re...nux/index.html
- for an older fedora version BUT good for red hat
http://docs.fedoraproject.org/en-US/...nhanced_Linux/

now from the sound of it it looks like ( a collage example ) you are trying to do the work for a 400 to 600 class in your freshman year
NOT GOOD
some Linux/unix basics
-- a bit old but still good--
"Bash Guide for Beginners"
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
"Rute User's Tutorial and Exposition"
http://rute.2038bug.com/rute.html.gz
-- a good resource --
http://www.howtoforge.com/

http://tldp.org/
 
Old 12-08-2011, 08:42 PM   #10
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian
Posts: 1,054

Rep: Reputation: 279Reputation: 279Reputation: 279
Your corporation is paying a lot of money for tech support, so you may as well use it and get help you know should be correct, not just something you get from anonymous internet users. Oracle and RedHat should be able to tell you anything you need to know, quickly and accurately.
 
  


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
How to check installed application sanmugamnkl Linux - Newbie 7 11-14-2011 09:56 AM
Can't open installed application iMadhavan Linux - Software 1 03-16-2009 04:42 AM
No application installed that can open it? rotorruter Debian 2 03-19-2006 10:36 AM
How do I know if an application is installed or not? frankie_DJ Linux - Newbie 7 07-19-2005 04:25 AM
How do you know where your application got installed too? eww Linux - Software 7 12-11-2003 09:52 AM


All times are GMT -5. The time now is 04:20 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