![]() |
Help on uninstalling a program and dependency tree
Is there a way to find which dependencies of the whole dependency tree is not needed from other programs so as to uninstall them? Eg if I want to uninstall webkit-gtk or chromium I should also uninstall the dependencies (some of them go 3-4 levels deep). How could I know which ones are not used by other programs?
Thank you! |
1)
Keep a track of what you are installing to start of with. 2) You can see all the linked libs for and application like so Code:
ldd /usr/lib64/libwebkitgtk-1.0.so Use a package manager of some sort, for instance I use my own and can get a dependency list like so Code:
keithhedger@LFSDev:~-> lfspkg -F webkitgtk-2 |
On Debian-based systems you can use the deborphan command to pick out "orphaned" packages.
|
Quote:
|
Quote:
|
No problem
|
Quote:
Keith, your package manager can be used for something like that on svn? Thank you for help! |
Quote:
|
Sorry about svn. What I wanted to ask is if your package manager can find the dependencies of a package that will be uninstalled, that can safely be uninstalled because they are not dependenies of any other package.
|
Yes, but only those packages installed by the package manager ( and their dependencies installed by the package manager ), some other pkg managers can do this but usually only for packages and deps installed by the manager itself, if you install something outside of the manager of it will know nothing about it, doing it retroactively is really difficult.
E.G: Code:
keithhedger@LFSDev:~-> lfspkg -h |
Can your package manager handle installations that need patches or more complicated installations like Chromium?
Do I have to install your package manager on chapter 6 or can I use it from now on to handle what I install from now on? |
It can be installed at any point after the chapter 5.
Packages are made from compiled source so any patches etc are applied while building the package, and yes therenis a build scricpt for chromium |
Although a package manager would make my life easier, I would like to find solutions without a package manager, because that is why I left Gentoo and installed LFS, to have everything manual.
So, I would be greatful if you can make suggestions to this direction. Thank you! |
Do you think GraphViz would help to track the dependency tree of installed packages?
|
Quote:
|
All times are GMT -5. The time now is 09:11 PM. |