文章目录
本文链接
Linux系统查看系统是32位还是64位方法总结
常见机器的系统类型
- 我的鲲鹏机器
- 我一直以为他是unbuntu呢?
- 后来我
ls /opt/compiler/gcc82/bin
aarch64-redhat-linux-c++ aarch64-redhat-linux-gfortran gcc-ranlib
aarch64-redhat-linux-g++ c++ gcov
aarch64-redhat-linux-gcc cpp gcov-dump
aarch64-redhat-linux-gcc-8.2.0 g++ gcov-tool
aarch64-redhat-linux-gcc-ar gcc gfortran
aarch64-redhat-linux-gcc-nm gcc-ar
aarch64-redhat-linux-gcc-ranlib gcc-nm
- 卧槽,看到了redhat关键字!
- 结果她的确不是和ubuntu是一个系列的!他是!
cat /etc/issue
CentOS Linux release 7.6.1810 (AltArch)
linux命令“文件”显示为“ for GNU / Linux 2.6.24”
查看Linux内核版本命令
一、Linux内核版本
- cat /proc/version
- uname -a
二、Linux系统版本
- lsb_release -a
- 列出所有版本信息:
- 适用于所有Linux发行版,
- Redhat、SuSE、Debian
ztz123@ubuntu:~/Desktop$ uname -a
Linux ubuntu 4.4.0-142-generic #168~14.04.1-Ubuntu SMP Sat Jan 19 11:26:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
ztz123@ubuntu:~/Desktop$ cat /etc/issue
Ubuntu 14.04.6 LTS \n \l
- cat /etc/redhat-release
- 只适合Redhat系的Linux:
- cat /etc/issue
- 适用于所有的Linux发行版。
ztz123@ubuntu:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.6 LTS
Release: 14.04
Codename: trusty
ztz123@ubuntu:~/Desktop$
很强的找包网址
https://pkgs.org/search/?q=g%2B%2B-arm-linux-gnueabihf
centos64下面没有arm-linux-gnueabihf这个包
- 难受!