热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

linux32位运行64位_如何知道我运行的是32位还是64位Linux?[答案]

linux32位运行64位Ifyou’veboughtanewcomputerrecently,youprobablyhavea64-bitprocessorandinstalle
linux32位运行64位

linux32位运行64位

If you’ve bought a new computer recently, you probably have a 64-bit processor and installed the 64-bit version of your Linux distribution. What if your computer is a bit older and you don’t remember?

如果您最近购买了一台新计算机,则可能有一个64位处理器并安装了64位版本Linux发行版。 如果您的计算机较旧并且不记得怎么办?

There is a nice and simple command line program called uname that will tell us exactly that.

有一个很好的和简单的命令行程序称为uname ,它将准确地告诉我们。

Open a terminal window (Applications > Accessories > Terminal).

打开一个终端窗口(应用程序>附件>终端)。

sshot-2

In the terminal window, type in

在终端窗口中,输入

uname –m

ame -m

and hit enter.

然后按回车。

  • If the response is i686, you have a 32-bit version of Linux.

    如果响应为i686 ,则您具有32位版本Linux。

  • If the response is x86_64, you have a 64-bit version of Linux.

    如果响应为x86_64 ,则您具有64位版本Linux。

sshot-3

Note: if you get some other value like i386, you almost certainly have a 32-bit version of Linux.

注意:如果获得其他值,例如i386,则几乎可以肯定具有32位版本Linux。

You can find out more detail about your particular installation of Linux, like your kernel version, by entering

通过输入以下内容,您可以找到有关特定Linux安装的更多详细信息,例如内核版本。

uname –a

ame -a

sshot-1

Thanks to niteshifter and overdrank from this Ubuntu forums thread for this information.

感谢niteshifter和来自Ubuntu论坛线程的过量饮用以获取此信息。

If you’re using Windows, check out our Answers article on how to know if you’re running the 32 or 64-bit version.

如果您使用的是Windows,请查看有关如何知道您正在运行32位还是64位版本的“答案”文章。

翻译自: https://www.howtogeek.com/howto/24842/how-do-i-know-if-im-running-32-bit-or-64-bit-linux-answers/

linux32位运行64位



推荐阅读
author-avatar
kelly最爱梁君诺_795
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有