You are not logged in.

#1 2023-11-23 21:54:04

jojo06
Member
Registered: 2023-11-04
Posts: 388

[SOLVED]How to check missing essentials & remove unnneded files ?

I had previously installed some things like cinnamon etc (which I don't use now), I guess you have to uninstall everything with pacman -Rsnc. But because of the dependency issue, I uninstalled with -R as suggested.

When I was installing the Sway theme, I realized that there are some corruptions when uninstalling and reinstalling the sway and its configuration, because the old files are not completely removed. When I did ls -a in Home, I found cinnamon and gnome and even lightdm and etc. that I had uninstalled before. There were config and system files that were empty. I deleted all of them, there seems to be no problem now.

But I need two commands.
1-) How do I delete old files of unnecessary installations ?
2-) I uninstalled gtk etc. How do I check for missing necessary and essential files and reinstall them ?

Last edited by jojo06 (2023-11-23 23:48:52)

Offline

#2 2023-11-23 22:03:51

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 636

Re: [SOLVED]How to check missing essentials & remove unnneded files ?

Offline

#3 2023-11-23 22:05:03

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: [SOLVED]How to check missing essentials & remove unnneded files ?

You are conflating system files (i.e. those installed by pacman) and userspace files (i.e. those created by applications within a user's home directory). The latter are your responsibility to manage, as you see fit. If you delete an application's config files, the application will (likely) recreate them with defaults the next time you run it. If you want a completely clean break, create a new user.

See also: https://wiki.archlinux.org/title/System … tion_files


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2023-11-23 23:48:40

jojo06
Member
Registered: 2023-11-04
Posts: 388

Re: [SOLVED]How to check missing essentials & remove unnneded files ?

Attaboy with attitude

WorMzy wrote:

You are conflating system files (i.e. those installed by pacman) and userspace files (i.e. those created by applications within a user's home directory). The latter are your responsibility to manage, as you see fit. If you delete an application's config files, the application will (likely) recreate them with defaults the next time you run it. If you want a completely clean break, create a new user.

See also: https://wiki.archlinux.org/title/System … tion_files

Thank you very much for your help and answer. That should do the trick.

Offline

Board footer

Powered by FluxBB