LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-31-2007, 02:15 PM   #1
intermod
LQ Newbie
 
Registered: Oct 2003
Location: Pleasanton, CA USA
Posts: 13

Rep: Reputation: 0
Freeing space; deleting subdirs after installs


I have the following directories I would like to delete to free up space.

[root@reflector1 usr]# du -ks /home/* | sort -nr | head
108012 /home/bind-9.4.2rc2
30972 /home/openssl-0.9.7e
22980 /home/openssl-engine-0.9.6m
19888 /home/libxslt-1.0.27
10672 /home/openvpn-2.0_rc6
9228 /home/icecast-2.3.1
7648 /home/repeater
5724 /home/speak_freely-7.6a
4956 /home/libshout-2.2
4308 /home/ices-2.0.1

They all generally contain:

[root@reflector1 usr]# ls -al /home/bind-9.4.2rc2
total 2044
drwxrwxr-x 9 10132 wheel 4096 Dec 29 23:07 .
drwxr-xr-x 19 root root 4096 Dec 31 03:02 ..
-rw-rw-r-- 1 10132 wheel 4315 Apr 28 2005 acconfig.h
-rw-rw-r-- 1 10132 wheel 27 May 5 2000 aclocal.m4
drwxrwxr-x 10 10132 wheel 4096 Dec 29 15:32 bin
-rw-rw-r-- 1 10132 wheel 237126 Oct 30 19:07 CHANGES
-rw-rw-r-- 1 10132 wheel 43332 Dec 1 2004 config.guess
-rw-r--r-- 1 root root 9253 Dec 29 15:32 config.h
-rw-rw-r-- 1 10132 wheel 8785 Sep 13 21:27 config.h.in
-rw-rw-r-- 1 10132 wheel 6629 Sep 26 2006 config.h.win32
-rw-r--r-- 1 root root 73370 Dec 29 15:34 config.log
-rwxr-xr-x 1 root root 43728 Dec 29 15:32 config.status
-rw-rw-r-- 1 10132 wheel 31307 Dec 1 2004 config.sub
-rw-rw-r-- 1 10132 wheel 4358 Jul 19 2006 config.threads.in
-rwxrwxr-x 1 10132 wheel 969913 Sep 13 21:27 configure
-rw-rw-r-- 1 10132 wheel 67180 Sep 13 21:26 configure.in
drwxrwxr-x 12 10132 wheel 4096 Dec 29 15:18 contrib
-rw-rw-r-- 1 10132 wheel 1603 Aug 28 00:19 COPYRIGHT
drwxrwxr-x 7 10132 wheel 4096 Dec 29 15:32 doc
drwxrwxr-x 2 10132 wheel 4096 Dec 29 15:18 docutil
-rw-rw-r-- 1 10132 wheel 0 Oct 30 17:35 FAQ
-rw-rw-r-- 1 10132 wheel 38076 Oct 30 18:14 FAQ.xml
-rwxrwxr-x 1 10132 wheel 5577 Jul 31 2000 install-sh
-rwxr-xr-x 1 root root 2859 Dec 29 15:32 isc-config.sh
-rw-rw-r-- 1 10132 wheel 2926 Mar 4 2004 isc-config.sh.in
drwxrwxr-x 11 10132 wheel 4096 Dec 29 15:32 lib
-rw-rw-r-- 1 10132 wheel 212685 Feb 26 2006 libtool.m4
-rw-rw-r-- 1 10132 wheel 183587 Jul 19 2006 ltmain.sh
drwxrwxr-x 2 10132 wheel 4096 Dec 29 15:32 make
-rw-r--r-- 1 root root 7392 Dec 29 15:32 Makefile
-rw-rw-r-- 1 10132 wheel 2001 Sep 3 16:46 Makefile.in
-rwxrwxr-x 1 10132 wheel 727 Sep 20 2000 mkinstalldirs
-rw-rw-r-- 1 10132 wheel 19370 Oct 30 19:15 README
-rw-rw-r-- 1 10132 wheel 3782 Sep 11 2005 README.idnkit
-rw-rw-r-- 1 10132 wheel 207 Oct 30 18:59 version
drwxrwxr-x 2 10132 wheel 4096 Oct 30 22:06 win32utils

These were created after I downloaded and installed/ configured the applications (./configure && make && make install).

The applications are still needed and running.

I used this directory since I was new to Linux and did not know where to properly place new applications after dowloading/unpacking.

Do I need to retain any of these, or are all the binaries, docs, etc already placed elsewhere so I can delete these dirs?

Thanks!

Greg
 
Old 01-01-2008, 07:09 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
It is safe to remove the directories. If you ever want to uninstall that software, you can just get the source again, reconfigure it the same way and run "make uninstall" (assuming that an uninstall target exists in the makefile). You do have a regular user account, right? If not, you should create one as it's unsafe to use the root account all the time.
 
Old 01-01-2008, 03:58 PM   #3
intermod
LQ Newbie
 
Registered: Oct 2003
Location: Pleasanton, CA USA
Posts: 13

Original Poster
Rep: Reputation: 0
Nylex:

Resolved. Thanks. These were removed and everything booted fine and is running.

Root - used root to avoid having to deal with file permissions when first learning linux. Thanks for the warning.....

Greg
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting all of a kind of a file even in subdirs ? Sabinou Linux - Newbie 3 08-18-2006 03:40 AM
Freeing up space hongman Linux - Newbie 7 06-27-2005 02:00 PM
Freeing up some space. How? Rutnut Linux - General 10 06-21-2005 01:00 AM
Freeing up Space stroudt Linux - General 2 08-28-2003 03:14 PM
Freeing up Space stroudt Red Hat 6 08-28-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:37 PM.

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
Open Source Consulting | Domain Registration