cybertimber2008, on 06 January 2013 - 15:42, said:
You might experience a slow down on linux as you add programs and services, but it should decrease as you remove thing. There is some issues with uninstalling however - when you install program x and it needs dependency y, it will install x and y. If you go to remove x one day, it won't necessarily remove y, so some manual cleanup there might be good.
I believe the most distros provide a mechanism for removing dependencies when they are no longer needed. I'm not overly familiar with the packaging systems for other distributions, beyond superficial use, but Debian's package manager keeps track of whether a package was installed manually or automatically. That way, if you install an application, the package you explicitly requested to be installed will be marked as manually installed and all other packages that it requires will be marked as automatically installed. Then if you choose remove that package, APT knows that the automatically installed dependencies are no longer necessary. For example, you could run
sudo apt-get remove vlc to uninstall VLC, then run
sudo apt-get autoremove to remove all of its automatically installed dependencies.
If you suspect that you have applications installed that you no longer require, but you aren't exactly sure, APT has provisions to handle that too. You could either run
sudo dpkg --get-selections to list all the packages installed on your system and decide for yourself what you no longer need, or use
deborphan --guess-all to try to automatically determine which packages should be uninstalled regardless of their manual/automatic selection status. Both of these methods require you to know what each package does and should not be used unless you are sure you know what you are removing, or you run a high risk of damaging your system. If used correctly, however, they can be very powerful. As a general rule of thumb when dealing with
deborphan output, never remove a package whose name starts with
lib unless you are absolutely sure its unnecessary!
The_Decryptor, on 06 January 2013 - 22:20, said:
Linux (and OS X, etc.) still require defrags, the only way they could avoid it was if the filesystem defragged each file when it was modified (Which is too slow, so nobody does it outside of certain areas)
As others have pointed out already, most modern file systems do not require explicit defragmentation. EXT2/3/4, HFS+, and UFS do not have online defragmentation utilities included in their tool suite because it is largely unnecessary. They can be explicitly defragemented, however, using the file system check utility (
fsck) provided with each file system. An EXT4 volume generally has fragmentation less than 2% until it reaches over 95% capacity, in which case the file placement algorithms used to prevent fragmentation break down. (Incidentally, my current fragmentation on my primary EXT4 volume is reported as 0.19%.) The other aforementioned file systems have similar characteristics (but not quite the same).