09-01-2008
How To find if Specific Software is installed ?
Hi all,
I have developed an application in linux that uses MySQL and unixODBC. Now I am making a small installer for this application that configures environment for this application.
What I need is the way to check if MySQL and unixODBC is installed on the system before I start installing my application?
Note that I am not creating rpm file instead I am making another application that serves as the purpose of installer. So I want to know how can I check if MySQL is installed on any system using C/C++. Kindly share your knowledge and experience and if you didnt get my question then plz let me know...
Regards
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Is there any command or something to know the versions of the softwares installed ?
Similar to the registry in Windows, is there anything in Unix ...?
We are shifting our server to other one ... so we need to install the same versions on other server also ..
Please advice,
... (3 Replies)
Discussion started by: Jayathirtha
3 Replies
2. UNIX for Dummies Questions & Answers
I am a complete novice/dumbo with Unix. How can I ascertain what software is installed on a unix system? Any help is much appreciated. (3 Replies)
Discussion started by: wakeley
3 Replies
3. UNIX for Dummies Questions & Answers
Pls guys, what command do i use to dispaly the Disk size and Ram Size my system?
thanks (1 Reply)
Discussion started by: tt1ect
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
In Unix, how do we know, which software and tools are installed? Is there any command or info file available for the same?
Regards, (7 Replies)
Discussion started by: hasnain
7 Replies
5. UNIX for Advanced & Expert Users
hi,:)
In redhat linux whats the command to list all the installed s/w.
cheers
RRK (2 Replies)
Discussion started by: ravi raj kumar
2 Replies
6. Shell Programming and Scripting
I have some 30 AIX servers and I want their software packages to be consistent. AIX provides a command to list out all pertinent information on a software package in a colon separate list - I grab this through ssh and collect in a temp directory server_name.log.
Now, I'm stuck. I can create a... (2 Replies)
Discussion started by: ejk67
2 Replies
7. UNIX for Dummies Questions & Answers
Greetings all, first time poster.
I have always had an interest in Unix and so decided to try and learn some on my own. I have learned a great deal by just lurking, so for those of you who patiently share your knowledge-thank you!
I am in the process of compiling and installing some... (3 Replies)
Discussion started by: RobertSubnet
3 Replies
8. Solaris
Hey Forumers-
I know how to tell which update of Solaris 10 is installed on my systems (/etc/release) but how can I determine which software group is installed?
reduced network support software group (SUNWCrnet)
core system support software group (SUNWCreq)
end user system support... (2 Replies)
Discussion started by: bluescreen
2 Replies
9. Red Hat
Hello Team
my scenario is like i have 2 partitions on server. /apps and /home and i am trying to install my software in /apps partition.intstallation is successful but when i am trying to open something in that its showing blank screen.
now if i install that software in /home it works... (2 Replies)
Discussion started by: lalgourav1983
2 Replies
10. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
LEARN ABOUT LINUX
ndb_drop_table
NDB_DROP_TABLE(1) MySQL Database System NDB_DROP_TABLE(1)
NAME
ndb_drop_table - drop an NDB table
SYNOPSIS
ndb_drop_table options
DESCRIPTION
ndb_drop_table drops the specified NDB table. (If you try to use this on a table created with a storage engine other than NDB, the attempt
fails with the error 723: No such table exists.) This operation is extremely fast; in some cases, it can be an order of magnitude faster
than using a MySQL DROP TABLE statement on an NDB table.
Usage
ndb_drop_table -c connect_string tbl_name -d db_name
The following table includes options that are specific to ndb_drop_table. Additional descriptions follow the table. For options common to
most MySQL Cluster programs (including ndb_drop_table), see Options Common to MySQL Cluster Programs(1).
Table 17.19. ndb_drop_table Options and Variables: MySQL Cluster NDB 7.2
+--------------------------+-----------------------------------+-------------------------------------+
|Format | Description | Added / Removed |
+--------------------------+-----------------------------------+-------------------------------------+
| | Name of the database in which the | |
| --database=dbname, | table is found | All MySQL 5.5 based releases |
| | | |
| -d | | |
+--------------------------+-----------------------------------+-------------------------------------+
COPYRIGHT
Copyright (C) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSO
For more information, please refer to the MySQL Reference Manual, which may already be installed locally and which is also available online
at http://dev.mysql.com/doc/.
AUTHOR
Oracle Corporation (http://dev.mysql.com/).
MySQL 5.5 01/30/2014 NDB_DROP_TABLE(1)