Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Recompiling and uninstalling existing applications Post 302632837 by werdenaz on Tuesday 1st of May 2012 12:52:44 AM
Old 05-01-2012
Recompiling and uninstalling existing applications

Hi everyone,

I'm new-ish to Unix outside of being a basic user in the past. So some background on my experience level when asking this question.

My current laptop, running OS X 10.5, had Apache and PHP installed when I bought it. However I need to recompile these now to add features which weren't included 'out of the box'.

Questions:
- Do I need to do anything to 'uninstall' these existing versions of the software before the recompile?
- Do I need to delete the binaries/libraries/other directories/etc of a program I am going to be recompiling (if this isn't answered by the above question) or will this automatically be taken care of?
- How can I make sure I don't leave anything 'hanging around' when I do uninstall a program? Or recompile?
- What resources can I read to learn more about all of this and related?

Thanks!
Charles
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help Uninstalling Linux!

Hello, I have a laptop running Fedora Core 2, and I am trying to wipe it to put on Windows. Even though the CD is listed first in the boot order, it will not boot to the Solaris system disk. How else could I format this laptop? -skeet (4 Replies)
Discussion started by: skeet23
4 Replies

2. AIX

overriding function calls without recompiling

i want to replace the *alloc and free function calls in an existing project with my own functions, to be able to log the adresses etc in a text file. (memoryleak debugging) I think LD_PRELOAD is what i am looking for. That way i could create a Library with my own malloc functions and link them... (1 Reply)
Discussion started by: Lazzar
1 Replies

3. UNIX for Advanced & Expert Users

Perl Installing, Uninstalling

I have some problems with mysql, and maybe perl installation faults. I have installed perl by source. I followed default configuration (e.g. ./configure, make, make install). I have installed perl just because it was required for mysql's installation. But now I have some problems. If I will... (8 Replies)
Discussion started by: kisoun
8 Replies

4. Debian

Uninstalling programs?

How can I uninstall a program the most efficient way? So that I get rid of all the man pages etc. too? I'm running debian. /Richard (1 Reply)
Discussion started by: riwa
1 Replies

5. Solaris

Uninstalling Vendor Software

Hi admins, thanks for community i have installed a software ( it's a specific soft from a specific vendor : i mean it is not a SUN product ). the install was trough a .tar.gz file and with an "install" executable ( so the command was simply #./install ) my pain now is how to uninstall it... (10 Replies)
Discussion started by: hmaiida
10 Replies

6. Cybersecurity

Uninstalling OpenSSH on Tru64

Hi Can anyone point me to any documentation or can provide instructions on uninstalling OpenSSH (4.7p1) on Tru64 UNIX 5.1a? Thanks (0 Replies)
Discussion started by: sgajraj
0 Replies

7. Shell Programming and Scripting

folder existing and file existing

I want to look into a folder to see if there are any folders within it. If there are, I need to check inside each folder to see if it contains a .pdf file So If /myserver/myfolder/ contains a folder AND that folder conatins a .pdf file do X Else do Z I may have multiple folders and... (4 Replies)
Discussion started by: crowman
4 Replies

8. Solaris

Add existing user into an existing group

Pre: no gpasswd/adduser there is just usermod can be used, also there is no -a option for usermod. How should I add a user into a group? (4 Replies)
Discussion started by: a2156z
4 Replies

9. Shell Programming and Scripting

insert pipes for existing and non-existing records

I have a source file like this, L4058S462 34329094 F51010141TK1070000483L4058S462 34329094 0232384840 381892 182 5690 L4058S462 34329094 F51020141FIRST CLEARING, LLC A/C 3432-9094 L4058S462 34329094 F51030141JOHAN HOLMQVIST ... (1 Reply)
Discussion started by: saravanamr
1 Replies

10. AIX

Relink without recompiling

Hello, There is a need to link a new dynamic library to a big number of exes. Unfortunately, I cannot recompile/link all these exes against the new library. Is there any way to link an existing executable with the new library? (everything has been compiled using the xlc tool) Thanks (1 Reply)
Discussion started by: geodimo
1 Replies
condor_cold_stop(1)					      General Commands Manual					       condor_cold_stop(1)

Name
       condor_cold_stop reliably - shut down and uninstall a running Condor instance

Synopsis
       condor_cold_stop -help

       condor_cold_stop[-force]  [-basedir  directory]	[-localdir directory] [-runlocalconfig file] [-cleaninstall] [-cleanlocal] [-stop] [-loga-
       rchive archive] [-spoolarchive archive] [-execarchive archive] [-filelock] [-pid] [-artifact file]  [-nogurl]  [-globuslocation	directory]
       -configfile file

Description
       condor_cold_stop  reliably  shuts  down	and uninstall a running Condor instance. This program first uses condor_local_stopto reliably shut
       down the running Condor instance. It then uses condor_cleanup_localto create and store archives of the  log ,  spool , and  execute  direc-
       tories. Its last task is to uninstall the Condor binaries and libraries using cleanup_release.

Options
       -artifact file

	  Uses fileas the artifact file to determine whether the condor_masterdaemon is still alive.

       -basedir directory

	  Directory where the Condor installation can be found. When not specified, the current working directory is assumed.

       -cleaninstall

	  Remove  the Condor installation. If none of the options -cleaninstall, -cleanlocal, or -stopare specified, the program behaves as though
	  all of them have been provided.

       -cleanlocal

	  The program will remove the  log ,  spool ,  exec directories for this Condor instance. If none of the options -cleaninstall,  -cleanlo-
	  cal, or -stopare specified, the program behaves as though all of them have been provided.

       -configfile file

	  The  same configuration file path given to condor_cold_start. This program assumes the file is in the installation directory or the cur-
	  rent working directory.

       -execarchive archive

	  The program will create a tar'ed and gzip'ed archive of the  execute directory and stores it as archive. The archivecan be a	file  path
	  or a grid-ftp url.

       -filelock

	  Determine whether the condor_masterdaemon has exited using a file lock undertaker. This option must match the corresponding option given
	  to condor_cold_start.

       -force

	  Ignore the status of the condor_schedddaemon (whether it has jobs in the queue or not) when shutting down Condor.

       -globuslocation directory

	  The directory containing the Globus installation. This option is required if any of the options  of  the  form  -*archiveare	used,  and
	  Globus is not installed in  /opt/globus .

       -localdir directory

	  Directory  where  the   log  ,  spool , and  execute directories are stored for this running instance of Condor. Required if the -clean-
	  localoption is specified.

       -logarchive archive

	  The program will create a tar'ed and gzip'ed archive of the  log directory and stores it as archive. The archivecan be a file path or  a
	  grid-ftp url.

       -nogurl

	  Do not use globus-url-copyto store the archives. This implies that the archives can only be stored on mounted file systems.

       -pid

	  Determine  whether  the  condor_masterdaemon	has  exited using a unique process id undertaker. This option must match the corresponding
	  option given to condor_cold_start.

       -runlocalconfig file

	  Bind fileinto the configuration used by this instance of Condor. This option should the one provided to condor_cold_start.

       -spoolarchive archive

	  The program will create a tar'ed and gzip'ed archive of the  spool directory and stores it as archive. The archivecan be a file path	or
	  a grid-ftp url.

       -stop

	  The  program	will  shut down this running instance of Condor. If none of the options -cleaninstall, -cleanlocal, or -stopare specified,
	  the program behaves as though all of them have been provided.

Exit Status
       condor_cold_stop will exit with a status value of 0 (zero) upon success, and non-zero otherwise.

Examples
       To shut down a Condor instance on the target machine:

       % condor_cold_stop  -configfile condor_config.mobile

       To shutdown a Condor instance and archive the log directory:

       % condor_cold_stop  -configfile condor_config.mobile 

	-logarchive /tmp/log.tar.gz

See Also
       condor_cold_start(on page ), filelock_undertaker(on page ), uniq_pid_undertaker(on page ).

Author
       Condor Team, University of Wisconsin-Madison

Copyright
       Copyright (C) 1990-2012 Condor Team, Computer Sciences Department, University of  Wisconsin-Madison,  Madison,  WI.  All  Rights  Reserved.
       Licensed under the Apache License, Version 2.0.

       See the Condor Version 7.8.2 Manualor http://www.condorproject.org/licensefor additional notices. condor-admin@cs.wisc.edu

								  September 2012					       condor_cold_stop(1)
All times are GMT -4. The time now is 03:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy