[SOLVED] Package tracker, installation tracker, program tracker for linux
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Package tracker, installation tracker, program tracker for linux
I often have problem with uninstalling packages installed not by pamac and pacman.
The reason being:
eg1:
For example, i have OBS software installed, it runs good, but once it crashed, i can not launch the software anymore. Even when i uninstalled OBS and reinstalled, I still can't launch it.. This proved there are some settings stored on my pc that is not removed even when i uninstalled the software. But i can't find the setting to wipe out so that i can have a clean installation of the OBS software.
eg2:
I recently install grive2 package to access google drive.. After build it, i realized it does not have the function that i need. But there is no "uninstall" for grive2. Why should i keep all those junk on pc since i won't be using grive2 anymore..
Hence i think i need to install a installation tracker for all software installed on linux be it manual installation , build ....etc. This will facilitate "uninstallation" process in the future.
Your OBS. You haven't understood the structure and locations in filesystem hierarchy. Settings can be stored, yes, and configuration files may be not tracked by package manager. In short, systemwide configuration which applies to all users goes to /etc/* and is not user editable, root only manages that. User configuration for same application goes to his/her home directory, it can't be elsewhere, user has no write rights outside of home directory. When you ran your OBS it wrote into your home directory its setting and maybe also its status when exiting. Most applications put their conf into ~/.config/ - so this is the place to look first. See also 'man hier'.
Edit: You may also want to check the tmp directory, some cruft may be left there when an application crashes. Uninstalling and reinstalling is complete waste of time, it is an invalid approach, learned from that other operating system.
Your OBS. You haven't understood the structure and locations in filesystem hierarchy. Settings can be stored, yes, and configuration files may be not tracked by package manager. In short, systemwide configuration which applies to all users goes to /etc/* and is not user editable, root only manages that. User configuration for same application goes to his/her home directory, it can't be elsewhere, user has no write rights outside of home directory. When you ran your OBS it wrote into your home directory its setting and maybe also its status when exiting. Most applications put their conf into ~/.config/ - so this is the place to look first. See also 'man hier'.
Edit: You may also want to check the tmp directory, some cruft may be left there when an application crashes. Uninstalling and reinstalling is complete waste of time, it is an invalid approach, learned from that other operating system.
Thank you. Your info is super valuable to me, i will look into it.. Thank you.
Can you also tell me thing like grive2 (google drive sync cli tool), where could it reside in ? so that i can wipe it off ?
If i wipe it off , will it leaves behind something in system some where ? for example when i remove the executable file from my system, when i type "$grive" into my terminal, will it prompts something like "can't find executable file" (which means there are some cruft left..) ? which is something often happened in windows os when we remove the *.exe file manually ..
the standard location for applications you build from source is /usr/local/*, executable goes to /usr/local/bin/, your grive2 went there. You can safely delete everything you find there, it won't affect the normal operation of your distro, this location is not used by distro package manager.
If i wipe it off , will it leaves behind something in system some where ? for example when i remove the executable file from my system, when i type "$grive" into my terminal, will it prompts something like "can't find executable file" (which means there are some cruft left..) ? which is something often happened in windows os when we remove the *.exe file manually ..
There are several places to look for user specific configs, and all are located in or under your $HOME.
Try .local/share, .config, .cache, and a dot file or directory with the name of the app. Beyond that you might need to search a little more but it will be there. Exactly where depends upon the app itself.
Last edited by computersavvy; 02-28-2021 at 12:51 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.