特殊:Badtitle/NS100:32bit and 64bit/zh:修订间差异
小无编辑摘要 |
无编辑摘要 |
||
(未显示11个用户的13个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/32bit_and_64bit}} | {{From|https://help.ubuntu.com/community/32bit_and_64bit}} {{Languages|UbuntuHelp:32bit_and_64bit}} {{Translator|水妖上邪 yiding.he}} | ||
{{Languages|UbuntuHelp:32bit_and_64bit}} | |||
{{Translator|水妖上邪}} | |||
===x86_64与AMD64=== | |||
“x86-64”,由 AMD 设计,推出时被称为“AMD64”,其后也为英特尔所采用,现时英特尔称之为“Intel 64”。 | |||
x86-64是 64 位微处理器架构及其相应指令集的一种,也是 Intel x86 架构的延伸产品。“x64”之前曾使用过 Clackamas Technology (CT)、IA-32e及EM64T。外界多使用 "x86-64" 或 "x64" 去称呼此 64 位架构,从而保持中立,不偏袒任何厂商。Debian采用AMD64的构架称谓,因为提供了Intel的IA-64构架支持。Ubuntu继承了Debian的这种称呼! | |||
==64位与32位计算机== | |||
2005年以后的多数计算机都是64位的。能够运行64位模式的处理器有AMD的速龙x64,FX,X2以及之后的系列,Intel的Itanium与Xeon,Intel的Core2,奔腾D,奔腾4与赛扬D部分型号。 | |||
支持AMD64的AMD处理器,和支持EM64T的Intel处理器都可以运行在64位模式下。 | |||
=== | ===32位与64位的含义=== | ||
所谓32位与64位,实际上指的是计算机存储寄存器的大小(或者叫宽度)。一台32位计算机的字节宽度是32位,它的寻址能力非常大(4GB的物理内存)。而一台64位计算机的寻址能力简直就是惊人的。二进制,所以,2的32次方,和2的64次方,你该知道其差异。 | |||
我们正在步入一个信息以TB为单位来存储的时代。某些计算机将能够存储好几年的你所喜爱的电视节目。当我们想移动如此大量的数据并对其进行压缩以便更有效率地存储数据时,我们需要64位处理器所提供的更强大能力。 | |||
===优劣=== | |||
64位处理器代表了现在,32位代表了过去(手机你就别担心太多了)。 | |||
2GB,大概是使用64位基本的内存要求,低于1.5GB,大概你还是32位比较好。 | |||
AMD的64位处理器在32位的环境下也运转良好。有人可能建议继续使用32位的软件,因为32位软件的传统商业支持更广泛,除了媒体(影音视感)领域,早已全部转向64位。 | |||
多数人都将拥有两台以上计算机,不包括手机。 | |||
问题在于对自由软件来说这并不重要。软件代码可以互转,因为使用的是源代码,所以大多数软件都“还不错”。不幸的是,要将有的程序从32位转换为64位实际上有些麻烦,所以某些程序无法在真正的64位模式运行。这些程序可以在模拟的模式下工作,但稍微慢一些。某些代码在64位环境下实际运行速度甚至更慢,这是由于处理器的微妙差异造成的。 | |||
如果使用支持AMD64或EM64T的处理器,64位模式可能比32位模式效率略高。其(技术)原因是,在64位模式下处理器可用的寄存器更多、位数更宽,这意味着为64位模式编译的程序可以更高效地运行。 | |||
===在64位机器上运行32位程序=== | |||
目前,拥有64位处理器的用户也可以安装32位的Ubuntu系统。 | |||
并非所有软件在64位环境下都可用,尤其是,非免费的程序通常都是32位。 | |||
有的程序可在64位Ubuntu下运行,不过要使用32位的库。 | 有的程序可在64位Ubuntu下运行,不过要使用32位的库。 | ||
可以使用 [[UbuntuHelp:Rootsudo|sudo]] 和 [[UbuntuHelp:AptGetHowTo|apt-get]] 来安装这些库。 | |||
<pre>sudo apt-get install ia32-libs* | |||
</pre> | |||
也可以用 [[UbuntuHelp:SynapticHowto|新立得软件包管理器]] 安装 32 位库。 | |||
还有个办法是用 [[UbuntuHelp:DebootstrapChroot|chroot]] 建立一个32位环境。 | |||
;rfu | |||
还有个办法是用[[UbuntuHelp:DebootstrapChroot|chroot]]建立一个32位环境。 | |||
[[ | [[Category:CategoryCleanup]] | ||
[[Category:UbuntuHelp]] | |||
[[Category:基础知识]] |
2013年10月3日 (四) 14:45的最新版本
![]() |
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/32bit_and_64bit }} |
![]() |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/af | • {{#if: UbuntuHelp:32bit_and_64bit|Afrikaans| [[::32bit and 64bit/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ar | • {{#if: UbuntuHelp:32bit_and_64bit|العربية| [[::32bit and 64bit/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/az | • {{#if: UbuntuHelp:32bit_and_64bit|azərbaycanca| [[::32bit and 64bit/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/bcc | • {{#if: UbuntuHelp:32bit_and_64bit|جهلسری بلوچی| [[::32bit and 64bit/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/bg | • {{#if: UbuntuHelp:32bit_and_64bit|български| [[::32bit and 64bit/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/br | • {{#if: UbuntuHelp:32bit_and_64bit|brezhoneg| [[::32bit and 64bit/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ca | • {{#if: UbuntuHelp:32bit_and_64bit|català| [[::32bit and 64bit/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/cs | • {{#if: UbuntuHelp:32bit_and_64bit|čeština| [[::32bit and 64bit/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/de | • {{#if: UbuntuHelp:32bit_and_64bit|Deutsch| [[::32bit and 64bit/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/el | • {{#if: UbuntuHelp:32bit_and_64bit|Ελληνικά| [[::32bit and 64bit/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/es | • {{#if: UbuntuHelp:32bit_and_64bit|español| [[::32bit and 64bit/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/fa | • {{#if: UbuntuHelp:32bit_and_64bit|فارسی| [[::32bit and 64bit/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/fi | • {{#if: UbuntuHelp:32bit_and_64bit|suomi| [[::32bit and 64bit/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/fr | • {{#if: UbuntuHelp:32bit_and_64bit|français| [[::32bit and 64bit/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/gu | • {{#if: UbuntuHelp:32bit_and_64bit|ગુજરાતી| [[::32bit and 64bit/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/he | • {{#if: UbuntuHelp:32bit_and_64bit|עברית| [[::32bit and 64bit/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/hu | • {{#if: UbuntuHelp:32bit_and_64bit|magyar| [[::32bit and 64bit/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/id | • {{#if: UbuntuHelp:32bit_and_64bit|Bahasa Indonesia| [[::32bit and 64bit/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/it | • {{#if: UbuntuHelp:32bit_and_64bit|italiano| [[::32bit and 64bit/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ja | • {{#if: UbuntuHelp:32bit_and_64bit|日本語| [[::32bit and 64bit/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ko | • {{#if: UbuntuHelp:32bit_and_64bit|한국어| [[::32bit and 64bit/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ksh | • {{#if: UbuntuHelp:32bit_and_64bit|Ripoarisch| [[::32bit and 64bit/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/mr | • {{#if: UbuntuHelp:32bit_and_64bit|मराठी| [[::32bit and 64bit/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ms | • {{#if: UbuntuHelp:32bit_and_64bit|Bahasa Melayu| [[::32bit and 64bit/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/nl | • {{#if: UbuntuHelp:32bit_and_64bit|Nederlands| [[::32bit and 64bit/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/no | • {{#if: UbuntuHelp:32bit_and_64bit|norsk| [[::32bit and 64bit/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/oc | • {{#if: UbuntuHelp:32bit_and_64bit|occitan| [[::32bit and 64bit/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/pl | • {{#if: UbuntuHelp:32bit_and_64bit|polski| [[::32bit and 64bit/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/pt | • {{#if: UbuntuHelp:32bit_and_64bit|português| [[::32bit and 64bit/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ro | • {{#if: UbuntuHelp:32bit_and_64bit|română| [[::32bit and 64bit/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/ru | • {{#if: UbuntuHelp:32bit_and_64bit|русский| [[::32bit and 64bit/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/si | • {{#if: UbuntuHelp:32bit_and_64bit|සිංහල| [[::32bit and 64bit/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/sq | • {{#if: UbuntuHelp:32bit_and_64bit|shqip| [[::32bit and 64bit/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/sr | • {{#if: UbuntuHelp:32bit_and_64bit|српски / srpski| [[::32bit and 64bit/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/sv | • {{#if: UbuntuHelp:32bit_and_64bit|svenska| [[::32bit and 64bit/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/th | • {{#if: UbuntuHelp:32bit_and_64bit|ไทย| [[::32bit and 64bit/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/tr | • {{#if: UbuntuHelp:32bit_and_64bit|Türkçe| [[::32bit and 64bit/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/vi | • {{#if: UbuntuHelp:32bit_and_64bit|Tiếng Việt| [[::32bit and 64bit/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/yue | • {{#if: UbuntuHelp:32bit_and_64bit|粵語| [[::32bit and 64bit/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/zh | • {{#if: UbuntuHelp:32bit_and_64bit|中文| [[::32bit and 64bit/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/zh-hans | • {{#if: UbuntuHelp:32bit_and_64bit|中文(简体)| [[::32bit and 64bit/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:32bit_and_64bit | UbuntuHelp:32bit_and_64bit | {{#if: | :}}32bit and 64bit/zh}}/zh-hant | • {{#if: UbuntuHelp:32bit_and_64bit|中文(繁體)| [[::32bit and 64bit/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:32bit_and_64bit|:32bit and 64bit/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :32bit and 64bit/zh/zh | | {{#ifexist: 32bit and 64bit/zh/zh | | {{#ifeq: {{#titleparts:32bit and 64bit/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:32bit and 64bit/zh|1|-1|}} | zh | | }}
x86_64与AMD64
“x86-64”,由 AMD 设计,推出时被称为“AMD64”,其后也为英特尔所采用,现时英特尔称之为“Intel 64”。
x86-64是 64 位微处理器架构及其相应指令集的一种,也是 Intel x86 架构的延伸产品。“x64”之前曾使用过 Clackamas Technology (CT)、IA-32e及EM64T。外界多使用 "x86-64" 或 "x64" 去称呼此 64 位架构,从而保持中立,不偏袒任何厂商。Debian采用AMD64的构架称谓,因为提供了Intel的IA-64构架支持。Ubuntu继承了Debian的这种称呼!
64位与32位计算机
2005年以后的多数计算机都是64位的。能够运行64位模式的处理器有AMD的速龙x64,FX,X2以及之后的系列,Intel的Itanium与Xeon,Intel的Core2,奔腾D,奔腾4与赛扬D部分型号。
支持AMD64的AMD处理器,和支持EM64T的Intel处理器都可以运行在64位模式下。
32位与64位的含义
所谓32位与64位,实际上指的是计算机存储寄存器的大小(或者叫宽度)。一台32位计算机的字节宽度是32位,它的寻址能力非常大(4GB的物理内存)。而一台64位计算机的寻址能力简直就是惊人的。二进制,所以,2的32次方,和2的64次方,你该知道其差异。
我们正在步入一个信息以TB为单位来存储的时代。某些计算机将能够存储好几年的你所喜爱的电视节目。当我们想移动如此大量的数据并对其进行压缩以便更有效率地存储数据时,我们需要64位处理器所提供的更强大能力。
优劣
64位处理器代表了现在,32位代表了过去(手机你就别担心太多了)。
2GB,大概是使用64位基本的内存要求,低于1.5GB,大概你还是32位比较好。
AMD的64位处理器在32位的环境下也运转良好。有人可能建议继续使用32位的软件,因为32位软件的传统商业支持更广泛,除了媒体(影音视感)领域,早已全部转向64位。
多数人都将拥有两台以上计算机,不包括手机。
问题在于对自由软件来说这并不重要。软件代码可以互转,因为使用的是源代码,所以大多数软件都“还不错”。不幸的是,要将有的程序从32位转换为64位实际上有些麻烦,所以某些程序无法在真正的64位模式运行。这些程序可以在模拟的模式下工作,但稍微慢一些。某些代码在64位环境下实际运行速度甚至更慢,这是由于处理器的微妙差异造成的。
如果使用支持AMD64或EM64T的处理器,64位模式可能比32位模式效率略高。其(技术)原因是,在64位模式下处理器可用的寄存器更多、位数更宽,这意味着为64位模式编译的程序可以更高效地运行。
在64位机器上运行32位程序
目前,拥有64位处理器的用户也可以安装32位的Ubuntu系统。
并非所有软件在64位环境下都可用,尤其是,非免费的程序通常都是32位。
有的程序可在64位Ubuntu下运行,不过要使用32位的库。 可以使用 sudo 和 apt-get 来安装这些库。
sudo apt-get install ia32-libs*
也可以用 新立得软件包管理器 安装 32 位库。
还有个办法是用 chroot 建立一个32位环境。 ;rfu