Download the latest tar source files:
https://git.kernel.org/torvalds/t/linux-4.12-rc1.tar.gz
Copy the file to /usr/src location
https://git.kernel.org/torvalds/t/linux-4.12-rc1.tar.gz
Copy the file to /usr/src location
- tar -xvzf [file name]
- cd /usr/src/
- make menuconfig\
- make bzImage
- make
- make modules
- make modules_install
- make install
Note:
"make bzImage" command sometimes fails, install dependency libraries.
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2
yum install openssl / dnf install openssl
"make bzImage" command sometimes fails, install dependency libraries.
scripts/sign-file.c:23:30: fatal error: openssl/opensslv.h: No such file or directory
#include <openssl/opensslv.h>
compilation terminated.
make[1]: *** [scripts/sign-file] Error 1
make: *** [scripts] Error 2
yum install openssl / dnf install openssl