Unistalling all unwanted debian and myDSL apps


Forum: Apps
Topic: Unistalling all unwanted debian and myDSL apps
started by: norman784

Posted by norman784 on May 14 2007,19:33
I read much forums, HOWTOS, etc, explain well the process of unistalling debian packages, but, how unistall apps like Dillo, Firefox, VNC, AxysFTP and install others, because I dont use some of the desktop default apps...

some help please!

PD: I'm a newbie in linux, but an intermediate php programmer.. and some basic ms-dos commands...

Posted by mikshaw on May 14 2007,20:07
Most applications will need to be removed manually, meaning you'll need to find the files used by the applications and delete them. There is a good explaination of where particular files are kept here:
< http://www.tldp.org/LDP/Linux-Filesystem-Hierarchy/html/index.html >

What type of installation are you using? If it's live cd, embedded, or frugal, you will need to remaster the KNOPPIX file.

Posted by norman784 on May 14 2007,20:50
I'm using a HD instalation and running in qemu, it's not embedded, because I have instaled them... but if I running on my HD, need to be remaster again?
Posted by norman784 on May 14 2007,22:27
I'm reading the filesystem hierachy, but i'm still more confused that before... for example if I to uninstall  Dillo, how I know what libraries it use and what library I can delete.. because much apps use the same library, right? :S
Posted by mikshaw on May 15 2007,02:44
A harddrive installation *could* be frugal, which would require a remaster. The debian-style install makes a fully-writable filesystem, so you don't need to remaster. If you have /ramdisk and /KNOPPIX directories, you are probably running frugal.

Personally I would not recommend that you touch libraries unless you are sure they aren't needed. Many libraries are shared among multiple programs, as you said. I'm sorry to say I don't think there is any way to check what files depend on a given library. The best you could do is guess, and hope you don't delete something you need.

apart from the dynamic libraries, the files you need to remove typically have the same or similar name as the program.

The executable is found in /bin, /usr/bin, or /usr/local/bin. Those found in /bin are the very basic programs that are common to most Linux system, and probably are not ones you want to remove.

Data files such as images and documentation are in /usr/share and /usr/local/share, usually in a subdirectory.

Configuration files are often found in /etc

Occasionally an application will install data files in a subdirectory of /usr/lib or /usr/local/lib. I have no idea why some developers decide to do that, but it happens.

Posted by ^thehatsrule^ on May 15 2007,03:41
Well... from that page you referenced
Quote
The original idea behind '/usr/local' was to have a separate ('local') '/usr' directory on every machine besides '/usr', which might be just mounted read-only from somewhere else. It copies the structure of '/usr'. These days, '/usr/local' is widely regarded as a good place in which to keep self-compiled or third-party programs. The /usr/local hierarchy is for use by the system administrator when installing software locally. It needs to be safe from being overwritten when the system software is updated. It may be used for programs and data that are shareable amongst a group of hosts, but not found in /usr. Locally installed software must be placed within /usr/local rather than /usr unless it is being installed to replace or upgrade software in /usr.
Now I know why when you ./configure the prefix is usually set by default to /usr/local ... (it sounds a bit like /opt imo)

Posted by mikshaw on May 15 2007,04:58
A bit, but applications installed to /opt should have their own subdirectories (typically self-contained packages), while /usr/local has the same setup as /usr with files from different packages installed into shared subdirectories.
Posted by curaga on May 16 2007,06:16
Any docs can be removed;
If you copy your timezone data to /etc/localtime, you can delete all those too (/usr/share/timezones if I remember right) (~8mb)...

Posted by norman784 on May 16 2007,17:19
thanks.... now I understand more of linux, I think its cool, because is very easy when you know him... other question, how I can unistall the JWM, because I dont use it, and take much space my instalation...
how can I compress a mound HD drive?

Posted by mikshaw on May 16 2007,19:15
Search for files with the name "jwm" and delete them.
Remove references to jwm in /home/dsl/.xinitrc.
Delete the switcher script, if desired.
Remove the "switch to JWM" line in /home/dsl/.fluxbox/menu.

I know there are a couple of other things that are specific to jwm, but I can't recall what they are. Basically, removing the executable and the command in .xinitrc will prevent it from running, but a poorly edited .xinitrc might cause a failure if you try to run jwm after it's removed. It's best to study that file a little and try to understand what it does so you can start X the way you want it.

No idea what your last question means.

Posted by norman784 on May 16 2007,20:37
sorry my english is not so good... its the same as compress a file, but is this is a drive, so left a compressed drive. You can access it normally, but is a little more slower because to read need to unzip... I can install KDE or GNOME in my DSL?
Posted by lucky13 on May 16 2007,21:05
Why would you install either of those if JWM was taking up too much room?
Posted by curaga on May 17 2007,07:09
Exactly. Gnome or KDE takes many hundred mb's, while jwm is about 1mb total..
There are many options for compressing, but they all slow things down..
Knoppix's cloop technology is built in, so once you have a directory finished (meaning you won't add or delete anything more) like /bin, you can make it a ISO and then compress it with cloop.. Then remove anything in /bin (from a livecd preferably) and create a init script to mount that cloop iso.. That will save some room...

Posted by norman784 on May 17 2007,15:33
I'm using the flux... the jwm I dont use, so I want to remove them, and the kde I only want because have a nice enviroment... I understand... is remaster and create a ISO with my config... thnks...

I need to buil every app that I download for linux, but I cant, I have installed the GCC but still packages that I dont have.. how I cant identify them?...

when try to install the hamachi I'll right
make install
and says make is a unkown command...
what I need??

Posted by ^thehatsrule^ on May 17 2007,20:46
Please use the forum search, at the very least.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.