Apt-get command error

sarah@dev01 ~ ➜ sudo apt-get install git-man
sudo: apt-get: command not found

not able to proceed further due to this error

Are you sure the system you’re checking is even using apt? That would need to be a Debian or ubuntu type system. You can run “cat /etc/os-release” to see what kind of OS you’re using. If it’s RedHat or CentOS, you’ll need to use yum or dnf.


it’s Alpine Linux

Yes. It’s Alpine. The first question in the lab asks to verify this.
I’ll ask the team to update the instructions in the lab.

Meanwhile, for this lab, you can install sudo apk add git-doc and complete it.

Thanks Santosh will go with suggestion

FYI, the lab is updated with the correct command for Alpine.
Thanks for highlighting this.

Thanks will try that as well.