1
aptitude search linux-headers

provides this:

p   linux-headers-3.16.0-4-all      - All header files for Linux 3.16 (meta-pack
p   linux-headers-3.16.0-4-all-amd6 - All header files for Linux 3.16 (meta-pack
i   linux-headers-3.16.0-4-amd64    - Header files for Linux 3.16.0-4-amd64     
i A linux-headers-3.16.0-4-common   - Common header files for Linux 3.16.0-4    
p   linux-headers-amd64             - Header files for Linux amd64 configuration

but i need to get 32 bit kernel headers

how to do that with apt?

Braiam
  • 35,991

1 Answers1

1

It required to modify /etc/apt/sources.list adding i386 to downloadable architectures like that:

deb [arch=amd64,i386] http://httpredir.debian.org/debian/ jessie main contrib 

After that you need to make

apt-get update
dpkg --add-architecture i386
apt-get update

and to install package for i386 architecture:

apt-get install linux-headers-3.16.0-4-686-pae:i386