Sign up ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

Let's assume that I am dropped into a room with a Raspberry Pi running either Debian or Raspbian. How do I find out if it has hard float support or if it is just using soft float?

share|improve this question

1 Answer 1

up vote 28 down vote accepted

Check for the existence of the directory:


the soft-float version do not have this directory, they have:


instead, or you can list the packages installed using:

dpkg -l

and see the platform in the third column (all/armhf/armel)

share|improve this answer
Since someone just misinterpreted this, to make it absolutely clear: If you have a /lib/arm-linux-gnueabihf, your system is hard-float. –  goldilocks Mar 25 at 16:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.