LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to tell if an application is installed or not. (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-tell-if-an-application-is-installed-or-not-917618/)

gfrechet 12-07-2011 03:16 PM

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.

corp769 12-07-2011 03:31 PM

You can do it a few ways....

You can use the "find" command, "whereis" or "which"

repo 12-07-2011 03:40 PM

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

Kind regards

Knightron 12-07-2011 07:28 PM

Tell us which distribution of gnu/linux you are using and we will be able to be more specific for you.

RSridhar 12-08-2011 07:21 AM

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

gfrechet 12-08-2011 02:16 PM

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,

John VV 12-08-2011 02:44 PM

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 .

gfrechet 12-08-2011 03:12 PM

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,

John VV 12-08-2011 03:34 PM

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/

sgosnell 12-08-2011 08:42 PM

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.


All times are GMT -5. The time now is 01:22 PM.