5

I am just curious: Are there any 64 bit Linux systems, which support a 32 bit version of Apache? As far as I know, a 64 bit Linux system supports only an Apache 64 bit and a 32 bit Linux system supports only an Apache 32 bit.

Edit

My motivation was just to know, if and which Linux distribution also provide 32 bit packages for applications and / or libraries.

4
  • 5
    Just curious as to what motivates you to have a 32 bit app under a 64 bit OS. What is your concern? Commented Apr 20, 2018 at 16:39
  • 1
    I think his/her motivation is just to know if it works, since on the question he uses "as fas as i know, a 64 bit Linux system supports only an Apache 64 bit..." Commented Apr 20, 2018 at 16:46
  • 1
    Define "support". Do you want to know if it will run? If the distro provides a straightforward way of installing it? If they will accept bug reports for that configuration? If they will provide you commercial support if you run it and it breaks? Commented Apr 20, 2018 at 21:39
  • This question isn’t Debian-specific... Commented Apr 21, 2018 at 8:21

1 Answer 1

13

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 --add-architecture i386 followed by apt update) and install apache2:i386. See How do I run 32-bit programs on a 64-bit Debian/Ubuntu? for details.

On Fedora, you can install httpd.i686 directly on a 64-bit x86 system.

Other distributions have different ways to support this, the above isn’t exhaustive.

1
  • 2
    On Debian dpkg --add-architecture i386 to enable 32bit software to be installed . On Fedora you just need to install the package with the .i686 sufix as you said (yum install httpd.i686) Commented Apr 20, 2018 at 16:44

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.