I am looking for a process to clean up orphaned applications or modules. Is this available?
Thank you for replying.
I am looking for a process to clean up orphaned applications or modules. Is this available?
Thank you for replying.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Can you give an example of when this is necessary? What is an “orphaned
application or module”? Most of the time RPMs are installed for the
software on a system and removing them removes all of the files associated
with them. Dependency relationships are also maintained within the RPM
database so you are protected (until you override the system) from
breaking your system when you remove something depended-upon by something
else.
Good luck.
ve3fd wrote:
> I am looking for a process to clean up orphaned applications or modules.
> Is this available?
>
> Thank you for replying.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJK6xOCAAoJEF+XTK08PnB5ygwP+gNm0ZJAxwtETXtXQCBPzpm7
M5tvw8+XeLiOnx4YPMG1zDdIbyE5CblkeCIyhGJ0AUtua8MDUDJO+nXA9mHL+AMy
Mr2LGxTUXjtohga3CwmL1C5ZI3iwnf82+LLEwRHfrq7fFry9giLBm+UcQ0e2u7Au
nmY9+E5bPJpK0SLUUZkPG5SzjhtedyNP4PgoaATyCmKxTgleZHAAqFsAX4pIQ72U
5CQyiZioHL9mickWsVcodSC/6SdP+mMd81x2nhWeg0drxu02GimIIFXvgYalORWI
FwbBldkscJUDTyLLsEEC4QytbEhbA+ZQH2/frOwAbMYzCuJrv+iKHyrhH8bHgkHf
v/hHx+dPffqHyj18BSNVEpCiXU3TiHWQSny5xXOrFaT4bNGbmq4drwFSNzjFjd8i
tf35MVztS/yP/mS1Se0RXWsHXxXJwFlkSsVWiA9nGZVgJQR4PYIJSszLq6N6KwTa
IUMVFU5bVN5v1zQts+j0oCAIuFqhv7dEjTuOFa0Z6mVqswQ3ILISClocVcA1S8hK
oY8X50JCIy3snEGYQe6jpOy3+xwAoa4a86iiXtS55/ErpcFPl1WJfJNNCc4Rmhc8
spMUevH+tK9Lt70Hi62qfpXlV2xkSk6dbwtiC9yx4BV6jKqE+4pN4ib0Y8pGkrI4
aEeD+q4Pr/RC+bJh+7+x
=9tEY
-----END PGP SIGNATURE-----
Hi,
maybe this rpmorphan - Find & delete orphaned packages in openSUSE | SUSE & openSUSE is what you are searching for when you mean orphaned rpms (libraries).
Hope this helps
I can see that dependent all files are deleted when uninstalling an rpm package. However I have had not much luck when trying to delete a tar ball. Not all interesting applications are available as a rpm package. The result is that the machine gets cluttered with all sorts of files which are not used - I suppose.
This is a good suggestion. Thank you for that. We, the non-geeks, are actually lucky to have knowledgeable people around to answer questions.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Other options from what Monex has already provided may be searching for
old files by their creation timestamp. This is not always the best
indicator of what is required and what is old and optional. This is one
reason package management is nice.
The best thing to do (in my not-so-humble opinion) is to keep track of
files you add to your system. For example I create an ‘apps’ directory in
my user’s home directory (/home/ab/apps) in which I create a directory for
every non-RPM application I install. If I get tired of something or go
back a year later and find it there and unused I can just nuke the
directory. I also have a ‘dnlds’ (downloads) directory as a sibling for
holding all of my downloaded (and kept because I liked them) files added
to my system. Files only make it to ‘dnlds’ if they are good and survive
basic tests (keeping junk stresses me out, so I avoid it).
Documents/media/etc. all have their own location as well (provided by the
creation of my user) but cleaning those out never affects applications
running.
I guess in my own experience (OS-agnostic) don’t put things on the system
that you don’t need, and if you stop needing them then remove them again.
Also keep track of what you do from time to time (create a Tomboy note,
for example, of software added as you add it and where) so you can always
work out these types of things. Finally, in the Open Source spirit, if
you really like something see if you can work out how to compile it and
add it to the OpenSUSE Build Service (OBS) (as an RPM) so you can use RPM
features as well as let others (who are likely wanting the same app) take
advantage of the tool. This all assumes that the application isn’t
already available via OBS.
Good luck.
ve3fd wrote:
> I can see that dependent all files are deleted when uninstalling an rpm
> package. However I have had not much luck when trying to delete a tar
> ball. Not all interesting applications are available as a rpm package.
> The result is that the machine gets cluttered with all sorts of files
> which are not used - I suppose.
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJK64UKAAoJEF+XTK08PnB5mYMP/0ureZiVRKaDZQHwGfJfqFWf
BlIijD3PCmfOFfs37VfEK5u/BEpiqPPIex3dC76imnNmBe0qR8Par7ZpZt2pyCDx
hCqnqNk9xAMCgqieQUQqjtnQ7LewiTM1N+Z5VAje+KGeNtaEZ/xRI5fFxw5Y9uWZ
gTOP+pHSFswec+Eij+YR7Ev/x5deKFmtST0KB2LjxosXr1nrz3H6P3f8lsC1lZRI
vnIaUmlXHCWMGdwSftSG7kzVQHoKOZv/CdPChPlOaA6zT4O3SG6R463Ksgh3A97U
6se2E9lmZ/0ZfbCRqkBumIC9q3ahe4Cwd/l78sCwkSXucGrXY8BIse86L5zCQM/5
oe4DjI64MhzxHbUa4GtDexd3mzi9QnNnTFBUHvjywgrzV0Augj2Fj5Ba3GnzNe3g
ErTskZQJlIkxxjWHKLgQ72j1utTp0Bzwc+X467grke92Uv0CRRTHjL69mBUvVst0
VyeanKRMZUouUSxsOTJD5IcbXWXw+5Ag6fXjm98gqNs+DSFa710oLDT1NuVLh+ZW
Yh/bqN/q7QKWueyZYl2Rs9FNLibDY6vO9Owkc7HHEgXPxqdc5qNV1N9b/ZZwo0e9
+wql8TODIKFdGgPxFeC8nRrb/eOhEfmKyJ+uAWEDBNAUN3Sj9LGbVF11CPlt2Nyv
hmb4nbrdsMrsZbqUDOb0
=3eCp
-----END PGP SIGNATURE-----