Remove yaourt on manjaro

hi
how ı can remove yaourt on my computer?
i did sudo pacman -R yaourt and ı did sudo pacman -Rsn yaourt but ı got that error there is a no yaourt at the same time when ı did ls ı can see yaourt ıs ın there

yaourt is too old and does not exist in pacman anymore.

But I guess that yaourt is in /usr/bin/yaourt

You can remove it manually:

sudo rm /usr/bin/yaourt
1 Like

ı guess yourt ıs ın there ı put repo ın there nano /etc/pacman.conf
and when ı get sudo rm /usr/bin/yaourt ı got that ıt couldnt remove cause there is a no this file

Check where is yaourt

whereis yaourt

What is this output?

output is nothing ıts that
yaourt:

That means yaourt has already been removed.

But, does yaourt work in terminal?

Try to run yaourt --help

yes its working at the same time that
ls
Belgeler Müzik papers snapd yay
Downloads package_name Resimler Şablonlar
Genel package-query skypeforlinux-stable-bin Videolar
Masaüstü pakku snap yaourt

there is a yaourt too ı didnt understand anything even ı remove links from there too sudo nano /pacman.conf

ı dont know what ı can do more

Check if yaourt exists.

find $HOME/.local/ -name "*yaourt*"
sudo find /usr/ -name "*yaourt*"
sudo find /etc/ -name "*yaourt*"

Please detail.
ls lists files in a target file/folder, or the folder you are currently in if you don’t specify a target.
https://www.man7.org/linux/man-pages/man1/ls.1.html

find $HOME/.local/ -name “yaourt
after that ı saw that you cannot enter and then ı did that
sudo find $HOME/.local/ -name “yaourt
after this thing ı coulnt see anything ıt was empty

sudo find /usr/ -name “yaourt
after that ı got that
/usr/share/icons/Papirus/16x16/apps/yaourtgui.svg
/usr/share/icons/Papirus/64x64/apps/yaourtgui.svg
/usr/share/icons/Papirus/48x48/apps/yaourtgui.svg
/usr/share/icons/Papirus/32x32/apps/yaourtgui.svg
/usr/share/icons/Papirus/24x24/apps/yaourtgui.svg
/usr/share/icons/Papirus/22x22/apps/yaourtgui.svg
/usr/share/zsh/site-functions/_yaourt

sudo find /etc/ -name “yaourt
after that ı didnt get anyting

sorryy i didnt understand clearly

ls
Belgeler Müzik papers snapd yay
Downloads package_name Resimler Şablonlar
Genel package-query skypeforlinux-stable-bin Videolar
Masaüstü pakku snap yaourt

cd yaourt
ls
pkg PKGBUILD src yaourt-1.9-1-any.pkg.tar.zst yaourt-1.9.tar.gz

ls
pkg
PKGBUILD
src
yaourt-1.9-1-any.pkg.tar.zst
yaourt-1.9.tar.gz

This means you have a folder named yaourt in your home directory, nothing more.

okey
can ı delete like that
sudo rm yaourt

It’s in your home directory. You don’t need sudo.
Also it’s a directory, so you rather need

rm -rf yaourt

çok teşekür ederim. thank you soo much and what is different -rf and rm

rm -rf means i use rm (remove) with the options -r (recursive) and -f (force).
https://www.man7.org/linux/man-pages/man1/rm.1.html


thank you soo much again have good night

@Mertkaya1215 When showing the content of a directory, it would be better to show the output of ls -l, which shows more details and makes easier to help you. For example, from my home directory, ls -l shows:

total 0
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Desktop
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Documents
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Downloads
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Music
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Pictures
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Public
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Templates
drwxr-xr-x 1 kiamlaluno kiamlaluno 0 Jul 18 22:00 Videos

It’s easier to see which are the directories, the user account that owns files/directory, and the file/directory permission.

thanks in this time what ıs meaning drwxr-xr and you have only 1 but ı have different number what ıs their meaninig too ?