no matter what i want to do i’m always confronting with problem ‘sudo: apt: command not found’. I read every article i found on google and watched every video on youtube, still got nothing… I can’t still even write sudo apt update. Can anybody help me ? (btw. I’m newbie)
Thanks in advance
Sir, thanks for your reply. I have another question; for example if i want to write ‘sudo apt install software-properties-common’ will it be enough to write dnf instead of apt?
As jlehtone suggests you can install via dnf or mosts DEs (kde or gnome for example), have a software centre/store, these make it easier to find and install software/packages.
For instance how can I install Virtualbox
Needs to epel, so may not be the software centre by default.
apt is the package management system for debian and ubuntu linux distributions, and so when you see instructions for installing software that tells you to use apt then you’re looking at instructions for the wrong distribution. Rocky Linux uses the dnf or yum package manager. You should look for installation instructions for Rocky linux 8, RHEL 8 or CentOS 8 the latter two which should always work for Rocky Linux as well. Those will give instructions that use dnf or sometimes yum, but never apt.