Apt not available with sudo

SO apt and apt-get work fine as normal user but when i try sudo apt or sudo apt-get i get command not found.

Ok so, how do i install apt? as yum and a few other packages say

 yum may be found in the following packages:
chaotic-aur/yum 3.4.3-7       /usr/bin/yum 

How can i fix the above error or whatever

Wrong forum, here is Garuda Linux (arch) not Debian...
Search for pacman rosetta to see the difference.

4 Likes

So, I don't want to be the one to break this to you, but you won't need to use apt-get anymore. You will want to use pacman -S instead.

For the AUR you use yay or paru.

Apt-get is an Ubuntu/Debian thing.

4 Likes

They do? In Arch or Garuda? Holy shit! All these years…I never knew.

(You can certainly alias them, but who’d wanna?)

2 Likes

No they don’t, they open a manual (man) page telling you how to use pacman (which is the actual package manager).

Please read things - it’s very important, and especially so with Arch-based distributions.

No. Bad. :newspaper_roll:

6 Likes

I think I need a beer.

7 Likes
6 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.