2016-03-06

title

← Older revision

Revision as of 05:19, 6 March 2016

(4 intermediate revisions by the same user not shown)

Line 1:

Line 1:



[[Category
:
About Arch]]

+

#REDIRECT
: [[
Frequently
asked questions#64-bit]]



[[
ar:64-bit FAQ]]

+



[[cs:64-bit FAQ]]

+



[[el:64-bit FAQ]]

+



[[es:64-bit FAQ]]

+



[[it:64-bit FAQ]]

+



[[ja:Arch64 FAQ]]

+



[[ru:64-bit FAQ]]

+



[[sr:64-bit FAQ]]

+



[[uk:64-bit FAQ]]

+



[[zh-cn:64-bit FAQ]]

+



Below is a list of frequently
asked questions
about Arch Linux on 64-bit.

+



+



== How do I determine if my processor is x86_64 compatible? ==

+



=== Linux users ===

+



If your processor is [[wikipedia:X86-64|x86_64]] compatible, you will have the {{ic|lm}} flag in {{ic|/proc/cpuinfo}}. For example,

+



+



$ grep -w lm /proc/cpuinfo

+



+



=== Windows users ===

+



Using the freeware [http://www.cpuid.com/cpuz.php CPU-Z] you can determine whether your CPU is 64-bit compatible.

+



CPUs with AMD's instruction set "AMD64" or Intel's solution "EM64T" should be compatible with the x86_64 releases and binary packages.

+



+



== Should I use the 32 or 64 bit version of Arch? ==

+



If your processor is x86_64 compatible, you should use 64-bit Arch Linux.

+



+



== Will I have all the packages from my 32-bit Arch? ==

+



Most official packages have 64-bit versions, though you may need to enable the [[multilib]] repository to run some 32-bit programs. [https://www.archlinux.org/packages/differences/ Package Differences] lists the few cases where the multilib packages differ from the native 32-bit versions.

+



+



The only exception is [[AUR]] packages which only have {{ic|'i686'}} listed, but even then they may work for 64-bit too. Just try adding {{ic|'x86_64'}} to the [[PKGBUILD]].

+



+



As a last resort, you can always [[install bundled 32-bit system in 64-bit system|install a 32-bit system inside your 64-bit system]].

+



+



== Why 64-bit? ==

+



It is faster under most circumstances and as an added bonus also inherently more secure due to the nature of [[wikipedia:Address space layout randomization|Address space layout randomization (ASLR)]] in combination with [[wikipedia:Position-independent code|Position-independent code (PIC)]] and the [[wikipedia:NX Bit|NX Bit]] which is not available in the stock i686 kernel due to disabled PAE. If your computer has more than 4GB of RAM, only a 64-bit OS will be able to fully utilize it.

+



+



Programmers also increasingly tend to care less about 32-bit ("legacy") as "new" x86 CPUs typically support the 64-bit extensions.

+



+



There are many more reasons we could list here to tell you to avoid 32-bit, but between the kernel, userspace and individual programs it is simply not viable to list every last thing that 64-bit does much better these days.

+



+



== Can I build 32-bit packages for i686 inside 64-bit Arch? ==

+



Yes. You can use the [[multilib]] repository with a [[Makepkg
#
Build 32-bit packages on a
64-bit
system|makepkg config]] or [[install bundled 32-bit system in 64-bit system|install a 32-bit system inside your 64-bit system]].

+



+



== Can I switch from i686 to x86_64 without reinstalling? ==

+



No. All packages need to be reinstalled for the new architecture and configuration changes may be necessary. However, you do not need to repartition or reformat your hard drives during installation, so it possible to migrate all of your old data. A forum thread has been created [https://bbs.archlinux.org/viewtopic.php?id=64485 here] which outlines steps taken to migrate an install from 32 to 64 bit without losing any configurations/settings/data using a large external hard drive.

+



+



However, you can also start the system with the 64-bit installation ISO, mount the disk, backup anything you may want to keep that is not a 32-bit binary (e.g: {{ic|/home}} & {{ic|/etc}}), and install.

+



+



You may also want to read about [[migrating between architectures
]]
.

+

Show more