I want to find out the linux flavor running on the vm created using minikube-kubernetes.
I log in to the vm and do a cat /proc/version
Linux version 4.9.13 gcc version 5.4.0 (Buildroot 2017.02)
.
Can someone tell me which flavor this is?
Obviously not ubuntu as none of the commands man, apt-get work.
Asked
Active
Viewed 3,164 times
6

NSP
- 1,193
- 4
- 15
- 26
3 Answers
5
cat /etc/*release
This works across most distributions.

Raman Sailopal
- 12,320
- 2
- 11
- 18
-
It gives me an unfamiliar output. Could you explain. NAME=Buildroot, VERSION=2017.20, ID=buildroot, PRETTY_NAME="buildroot 2017.02" – NSP Jul 13 '17 at 09:34
-
According to Google Buildroot apparently is an embedded version of Linux similar to BusyBox. – Raman Sailopal Jul 13 '17 at 09:41
-
More information is also here: https://stackoverflow.com/questions/32907093/how-to-install-packages-or-natively-compile-package-on-a-minimal-linux-kernel-co – Raman Sailopal Jul 13 '17 at 09:43
5
The minikube distro is custom built using buildroot. It is meant to be a minimal distro and does not include a package manager or package repository.

Sameer Naik
- 193
- 6
0
lsb_release -ai
but you might need to install lsb
module.

dlmeetei
- 9,905
- 3
- 31
- 38
-
i am not sure of which package manager is running because i don't understand the linux flavor in the VM – NSP Jul 13 '17 at 09:38
-
do you either `yum` or `yast`? you can test this by typing and terminal and press "Enter" – dlmeetei Jul 13 '17 at 09:38
-
`bash: lsb_release: command not found` means lsb module is not installed – dlmeetei Jul 13 '17 at 09:39
-
Kinda looks like then it is non `LSB` compliant system then. It is neither `RHEL` based nor SUSE based or Ubuntu based as you have specified – dlmeetei Jul 13 '17 at 09:44