Skip to main content
21 votes

Install 64 bit programs on a 32 bit OS with a 64 bit processor

Is it possible to install a 64 bit program on a 32 bit OS with a 64 bit processor? In principle yes, but the processor and the OS have to support it. On ARMv8, a 32-bit (Aarch32) kernel cannot run 64-...
Gilles 'SO- stop being evil''s user avatar
20 votes

is my linux ARM 32 or 64 bit?

Seems like most ways to see bit count is to somehow know that arm7=32 bit and while that may be true but what about pi@rpi9:~ $ getconf LONG_BIT 32 And if you want to look for the cpu model I ...
lpaseen's user avatar
  • 701
16 votes
Accepted

What does it take to run 64-bit userland software on a 32-bit kernel?

Running 64-bit applications requires some support from the kernel: the kernel needs to at least set up page tables, interrupt tables etc. as necessary to support running 64-bit code on the CPU, and it ...
Stephen Kitt's user avatar
14 votes

64-bit Linux and x86_64-v1 micro-architecture

Debian’s amd64 variant still supports all 64-bit x86 CPUs, including the “v1” baseline (compare the corresponding section for i386, which mentions unsupported 32-bit CPUs). Apart from RHEL and ...
Stephen Kitt's user avatar
13 votes
Accepted

32 bit apache on a 64 bit linux system

Many distributions support this, in various ways. On Debian and derivatives, you’d install using the amd64 architecture for the system (or even just the kernel), then add the i386 architecture (dpkg -...
Stephen Kitt's user avatar
13 votes
Accepted

64-bit Linux and x86_64-v1 micro-architecture

As of 2024-11-19, a significant majority of Linux distributions that ship 64-bit x86 packages ship all code compiled for baseline x86-64 (equivalent to AMD K8 or Intel Prescott hardware). There are ...
Austin Hemmelgarn's user avatar
12 votes
Accepted

Is it worth reinstalling 64-bit Ubuntu instead of 32-bit on old hardware?

It won't be faster in any meaningful way, but the reality of 32 bit is that it's increasingly legacy, which means, in the real world, bugs are not getting found and fixed. I would install 64 bit if ...
Lizardx's user avatar
  • 3,134
10 votes
Accepted

Is it worth to install some Debian UEFI 64bit on Intel Atom

I suspect that your system combines a 64-bit Atom CPU with a 32-bit UEFI; this was common for Atom systems in the past. This causes problems for a number of distributions, and Ubuntu has had specific ...
Stephen Kitt's user avatar
9 votes
Accepted

How to find what ring a process is running on in Linux?

On x86, the current privilege level is determined by the bottom two bits of the code segment selector, i.e. the value stored in the CS register. So "all" you need to do to determine the current ...
Stephen Kitt's user avatar
9 votes
Accepted

What's inside the kernel part of virtual memory of 64 bit linux processes?

The kernel’s memory map on x86-64 is documented in the kernel itself. The kernel maps user-space (for the current process) PTI data structures all the physical memory the kernel’s data structures, in ...
Stephen Kitt's user avatar
9 votes
Accepted

Wine cannot find Wine Gecko despite installing wine-gecko 2.47.1

If your application is a 32-bit program, you’ll need 32-bit Gecko too: For 64 bit (WoW64) Wine, both the x86 and x86_64 packages are required. wget http://dl.winehq.org/wine/wine-gecko/2.47.1/wine-...
Stephen Kitt's user avatar
8 votes
Accepted

What are the possible options for the --arch option in debootstrap?

The possible values are the codenames of the architectures supported by the target operating system. For Ubuntu, check the architectures for which the C library is built: for 64-bit x86, the ...
Stephen Kitt's user avatar
8 votes

How to run 32-bit (armhf) binaries on 64-bit (arm64) Debian OS on Raspberry Pi?

I had the same issue (multiple package architecture (armhf) does not match system (arm64) when doing apt install libc6:armhf). For me executing dpkg --add-architecture armhf solved this problem.
FPK's user avatar
  • 181
6 votes

How do I run 32-bit programs on a 64-bit Debian/Ubuntu?

If you just have a 32-bit binary you'd like to run on a modern 64-bit Debian/Ubuntu system, do the following: dpkg --add-architecture i386 apt update apt install libc6-i386 This has been tested on ...
cjs's user avatar
  • 728
5 votes

Install 64 bit programs on a 32 bit OS with a 64 bit processor

On some architectures, yes. But not on ARM or x86. You could use QEMU to emulate a 64-bit system, but you don't want to.
Ignacio Vazquez-Abrams's user avatar
5 votes
Accepted

Which Debian architecture should I use for my Intel NUC7I3BNH?

Since https://ark.intel.com/content/www/us/en/ark/products/95066/intel-nuc-kit-nuc7i3bnh.html states, that it supports Windows x64 you should go for amd64.
Virsacer's user avatar
  • 490
5 votes

Is it worth reinstalling 64-bit Ubuntu instead of 32-bit on old hardware?

It's probably worth reinstalling to a 64-bit operating system. As Lizardx mentioned, there's less focus on 32-bit x86 systems right now and people are fixing fewer bugs there. Additionally, it is a ...
bk2204's user avatar
  • 4,497
5 votes
Accepted

Why does the 64bit Linux Mint Live run on my 32bit machine?

If amd64 packages work on your laptop, without QEMU, then it’s a 64-bit x86 system. The T6600 CPU is a 64-bit x86 CPU. Note that 64-bit PCs have been the norm for over 15 years (arguably since 2006). (...
Stephen Kitt's user avatar
5 votes

Why is off_t signed?

As you discovered, off_t has been around for a long time, and has always (as far as I’m aware) been signed. Since that’s “baked in”, POSIX can’t change it. There are other uses for off_t in V7 which ...
Stephen Kitt's user avatar
4 votes

The structure of /proc/kcore on 64-bit machine and relation to physical memory

You should have a look to the output of this command sudo readelf -e -g -t /proc/kcore. You can have the offset for every virtual address space, and then dump it by lseek() and read(). It cost to me ...
Puffy's user avatar
  • 141
4 votes
Accepted

What is cpu_entry_area?

cpu_entry_area contains all the data and code needed to allow the CPU to hand control over to the kernel. When KPTI is enabled, only that part of the kernel is mapped when user-space is running. You ...
Stephen Kitt's user avatar
4 votes

Will running a 32-bit version of ImageMagick result in half the memory usage of a 64-bit version?

64 bit vs. 32 bit programs generally just affect the amount of memory that the program can address directly. The programs themselves may not take up much more space in memory other than a small ...
Mark Stewart's user avatar
4 votes

Install 64 bit programs on a 32 bit OS with a 64 bit processor

Upgrade only your kernel to a 64-bit one, so you will be able to run 64-bit binaries. Essentially, it will run your whole distribution in 32-bit compat mode, and your only 64-bit mongodb will be its ...
peterh's user avatar
  • 10.5k
4 votes

Why is off_t signed?

The answer to most of these sorts of questions is backwards compatibility. Early (pre-standard) versions of C didn't have a concept of unsigned types (while most of the early language was stabilized ...
ShadowRanger's user avatar
3 votes

Will running a 32-bit version of ImageMagick result in half the memory usage of a 64-bit version?

Well, 64-bit vs 32-bit does change the run-time memory usage somewhat, in that it changes the size of pointers. On amd64, an int (the default integer type) is still 32 bits, so that doesn't change. ...
ilkkachu's user avatar
  • 148k
3 votes

What does it take to run 64-bit userland software on a 32-bit kernel?

Snow leopard was able to run 64 bits binaries in an Intel 64 bit CPU. It was also able to boot with a 64 bit kernel when your efi was already 64 bits (my production batch of the Macbook "transition-...
Rui F Ribeiro's user avatar
3 votes
Accepted

Trying to resolve dependency on libz.so.1(ZLIB_1.2.9)

You need to prepend the lib directory of where you compiled and built ZLIB_1.2.11 to your LD_LIBRARY_PATH. For example, I compiled and built it like this: I created these directories /opt/zlib/1.2....
Nasir Riley's user avatar
  • 12.3k
3 votes

Convert 64-bit ISO to 32-bit

You can’t convert a 64-bit operating system to run on a 32-bit CPU. Regarding your specific scenario, if you have a Blancco license, you should ask them directly (and you should be able to download ...
Stephen Kitt's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible