I'm starting to work with a box that has a custom (small) Linux build on it. How can I tell whether this is a Debian or Red Hat-based build?
This is what I know so far:
$ cat /proc/version
Linux version 2.6.31-2.5 (build@build-desktop) (gcc version 4.4.3 (Broadcom stbgcc-4.4.3-1.2) ) #7
$ apt-get
-sh: apt-get: command not found
$ yum
-sh: yum: command not found
Running uname -a
should give you some general information about the system. Also, you can run apropos "package manager"
or with similar keywords to hopefully find out more about the package manager. Look in /etc
for a file named xyz-release
where xyz
should be whatever distro is running.
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加