Visit Our UNIX and Linux User Community


Solaris, delete install files


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris, delete install files
# 1  
Old 04-30-2012
Solaris, delete install files

Hi
I would like to know if and what installation files can be deleted on a sun solaris server.
From the listing below there are several files that I would like to delete in order to get some free space on the disk.
Is it safe to delete zip, gz and Z files files located in silent_install or will they be used e.g. during uninstall?
Does there exist any maintenance guide for Solaris giving guidelines in how to maintain solaris, do's and don't's?
Code:
-r-xr-xr-x 1 root root 13M Mar 19 2010 /silent_install/Patches/firmware/SE3510/2[1].3_sw_solaris-sparc.zip
-r-xr-xr-x 1 root root 99M Mar 19 2010 /silent_install/Patches/oracle_patches/clonbase.tar.gz
-r-xr-xr-x 1 root root 7.0M Mar 19 2010 /silent_install/Patches/RAC_Packages.tar.gz
-r-xr-xr-x 1 root root 18M Mar 19 2010 /silent_install/Patches/single_patches/126106-33.zip
-rw-r--r-- 1 29080 43093 5.1M Mar 13 2009 /silent_install/Software/emcinit/CX3-20F/EMCpower/reloc/EMCpower/bin/sparcv7/emcpadm
-r-xr-xr-x 1 root root 24M Mar 19 2010 /silent_install/Software/emcinit/source/EMCPower.SOLARIS.5.2.SP2.b012.tar.gz
-r-xr-xr-x 1 root root 17M Mar 19 2010 /silent_install/Software/emcinit/source/NAVICLI_SOLARIS_V26.zip
-r-xr-xr-x 1 root root 121M Mar 19 2010 /silent_install/Software/emcinit/source/patch.zip
-r-xr-xr-x 1 root root 70M Mar 19 2010 /silent_install/Software/esa/Files/esa_3.0.1.bin
-r-xr-xr-x 1 root root 137M Mar 19 2010 /silent_install/Software/java/Files/jdk-6u15-solaris-sparc.tar.Z
-r-xr-xr-x 1 root root 14M Mar 19 2010 /silent_install/Software/java/Files/jdk-6u15-solaris-sparcv9.tar.Z
-r-xr-xr-x 1 root root 8.4M Mar 22 2010 /silent_install/Software/rac_stage2/RAC_Packages.tar
-rw-r--r-- 1 root root 6.3M Jul 2 2009 /silent_install/Software/rac_stage2/RAC_Packages/SUNWscor/archive/none.bz2
-r-xr-xr-x 1 root root 99M Mar 19 2010 /silent_install/Software/rac_stage3/clonbase.tar.gz
-r-xr-xr-x 1 root root 2.5G Mar 19 2010 /silent_install/Software/rac_stage3/Oracle_Server_11.1.tar.gz
-r-xr-xr-x 1 root root 1.5G Mar 19 2010 /silent_install/Software/rac_stage3/RAC_Server_11.1.tar.gz
-r-xr-xr-x 1 root root 449M Mar 19 2010 /silent_install/Software/scinstall/source/suncluster-3_2u1-ga-solaris-sparc.zip

Moderator's Comments:
Mod Comment Please use next time code tags for your code and data

Last edited by vbe; 04-30-2012 at 01:06 PM..
# 2  
Old 05-02-2012
Those come from unpacking patches. Save those files into a tarball, move the tarball somewhere else, compress it, then go back and delete those files.

You are only going to gain less than 1GB by doing this. If you are short of space on the system disk/partition be sure you do not have any user directories on there. If you do, move the whole directory tree out to another filesystem/parititon. And then either use usermod to change login directories or create symlinks on / for the directories you moved.
# 3  
Old 05-03-2012
Hi Jim
Thank you for your reply.
I found some old crash dumps and that solved my problem at least for now.
/Carsten

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Solaris

No way to install a flar archive of Solaris 10 to Solaris 11.4 zone

I want to migrate a solaris 10 os to solaris 11.4 zone. I did this a)Collect some data like id sysid,disks,ip,etc..on solaris10 OK b)Create this file.cfg with this command on solaris 10 zonep2vchk -c > /migration/sol10.cfg OK c)Create the archive flash on Solaris10 (1 Reply)
Discussion started by: Linusolaradm1
1 Replies

2. Shell Programming and Scripting

Script needed to delete to the list of files in a directory based on last created & delete them

Hi My directory structure is as below. dir1, dir2, dir3 I have the list of files to be deleted in the below path as below. /staging/retain_for_2years/Cleanup/log $ ls -lrt total 0 drwxr-xr-x 2 nobody nobody 256 Mar 01 16:15 01-MAR-2015_SPDBS2 drwxr-xr-x 2 root ... (2 Replies)
Discussion started by: prasadn
2 Replies

3. Solaris

Solaris 10 install dvd drive boots, but not recoginized by install process

I am trying to build a Sun Ultra 10 with solaris 10. This computer is one of a collection that was donated to the non-profic company I work for. All media was wiped before I recieved them, so I am starting from stratch. I downloaded the Solaris 10 ISO and burned a DVD. The computer came with a... (4 Replies)
Discussion started by: gwillhight
4 Replies

4. Solaris

Installing Solaris 8 bootblock without Solaris Install CD

Hello everyone, Background: I'm having an issue with booting a clone of hard drive with Solaris 8 installation. For cloning process I have used g4l, running under click'n'clone option. As far as I know the actual operation ran behind g4l's interface was dd, though I do not have any information... (12 Replies)
Discussion started by: johnny994
12 Replies

5. Shell Programming and Scripting

how to delete 3 days old files using ftp in a shell script (Solaris OS)

I need help in writng a script to delete last three days files from a remote server using only FTP / SFTP. I was using find command which is not working and i cant use ssh Immediate response is highly appreciated . Thank in advance! ---------- Post updated 12-05-10 at 09:16 PM ----------... (5 Replies)
Discussion started by: Olivia
5 Replies

6. UNIX for Dummies Questions & Answers

Script to change/find/delete/install a specific file

Hi Very much a newbie to UNIX & scripting, but have identified an area within work that would benefit from being automated, as its repeated manually very often, and it looks like the ideal first script! What I need to do is change directory to a users home (cd ~), and then find and remove a... (6 Replies)
Discussion started by: Great Uncle Kip
6 Replies

7. Solaris

Can I gzip or delete pacct files in solaris ?

Hi, On my server there are so many pacct files in /var/adm. It is eating up my /var partition. Can I delete or gzip those files ? Thanks NeeleshG (3 Replies)
Discussion started by: neel.gurjar
3 Replies

Featured Tech Videos