-2

Over the years, I kept installing many packages without even tracking their names just so that I can get my required functionalities. It involves installing from apt, snap, ubuntu app centre (snap store), software (GNOME GUI application), .deb packages, flathub, source code installation (cmake, make, ninja, meson, etc), etc.

I feel like I have clutterred my system and want remove things that I do not use anymore. Please instruct my how to do it? If it is too difficult, is it possible to reset my ubuntu system as if I just newly installed it into my hard drive? Also provide suggestions on how to manage libraries/packages that I install in future with emphasis on easy installation and uninstallation.

In case of installing libraries using source code (built using cmake, make, ninja, meson, etc), I can see that files belonging to a certain library/application resides in /usr/local/bin, /usr/local/lib and /usr/local/include, does just removing those files ensures complete removal of that library/application?

Cinverse
  • 101
  • 2

1 Answers1

0

One easy way:

Use your Show Apps button...

enter image description here

Go though your applications listed and remove any that you don't want anymore.

Yes, you will need to figure out how you installed it -- how you remove software depends upon how you installed it. It's not difficult.

Is it possible to reset my ubuntu system as if I just newly installed it into my hard drive?

No. If you want a fresh Ubuntu, then reinstall. You already know how to do that -- you installed once. It's the same process.

Provide suggestions on how to manage libraries/packages that I install in future with emphasis on easy installation and uninstallation.

Stick to a single packaging system (like debs), so the package manager keeps track for you.

Or keep notes. Your choice.

I can see that files belonging to a certain library/application resides in /usr/local/bin, /usr/local/lib and /usr/local/include, does just removing those files ensures complete removal of that library/application?

In the specific case of files installed to /usr/local/* , manual file removal is an acceptable method.

user535733
  • 68,493