You are not logged in.

#1 2023-08-16 04:18:22

_bobbybilly
Member
Registered: 2023-08-16
Posts: 2

[SOLVED] Trying to remove the yay folder-...

rm yay
rm: cannot remove 'yay': Is a directory
rmdir yay
rmdir: failed to remove 'yay': Directory not empty
rm yay/PKGBUILD
rm: remove write-protected regular file 'yay/PKGBUILD'? Y
rm: cannot remove 'yay/PKGBUILD': Permission denied

If you can't tell, I messed up somewhere.
I am new to Arch Linux and am very confused on how to remove "yay".

Last edited by _bobbybilly (2023-08-16 04:31:25)

Offline

#2 2023-08-16 04:27:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,462
Website

Re: [SOLVED] Trying to remove the yay folder-...

Your question has nothing to do with yay specifically, but rather just knowing how to delete files and understanding permissions.  I'm not sure exactly why you don't have write permission for the PKGBUILD, but I have a few likely guesses - most likely you cloned the package as root (or ran yay as root).  In any case, if you want that gone - and only if you are sure you do:

sudo rm -rf yay

Then go read up on how to run a unix/linux system.  I'd recommend https://ryanstutorials.net


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2023-08-16 04:29:40

_bobbybilly
Member
Registered: 2023-08-16
Posts: 2

Re: [SOLVED] Trying to remove the yay folder-...

Thanks dude.
I'm going to read that now, sorry for the stupid problem.

Offline

Board footer

Powered by FluxBB