When a Fedora box uses device drivers that are not supplied by the kernel, updating the kernel is more complicated than installing a new binary rpm.
Typically, the external device drivers must also be rebuilt under the new kernel.
I want to update the kernel to the latest version or atleast kernel-3.10.0-514.13.1.el7 .
Current it shows the below kernel version in aws server. Want to update the kernel version atleast kernel-3.10.0-514.13.1.el7 Will "yum -y update kernel" update to a latest kernel uname -sr Linux 3.10.0-327.28.2.el7.x86_64 cat /etc/*release Cent OS Linux release 7.2.1511 (Core) NAME="Cent OS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="Cent OS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https:// BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="Cent OS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" - If you don't have one then have a look at; will give you instructions on how to add and enable the enterprise linux repo and enable the kernel section.
This should cover another problem when: the running kernel is obsolete, meaning it's not in the repository anymore neither its headers.
You can easily install the Linux kernel headers for currently running kernel version using the following commands at shell prompt.Done The following package was automatically installed and is no longer required: libftdi1 Use 'apt-get autoremove' to remove them.The following extra packages will be installed: binutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev libgmp3c2 libgomp1 libmpfr4 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev manpages-dev Suggested packages: binutils-doc gcc-4.3-locales gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc libgcc1-dbg libgomp1-dbg libmudflap0-dbg glibc-doc Recommended packages: gcc c-compiler The following NEW packages will be installed: binutils cpp-4.3 gcc-4.3 gcc-4.3-base libc-dev-bin libc6-dev libgmp3c2 libgomp1 libmpfr4 linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common linux-kbuild-2.6.32 linux-libc-dev manpages-dev 0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded. After this operation, 68.9 MB of additional disk space will be used. y The author is the creator of nix Craft and a seasoned sysadmin, Dev Ops engineer, and a trainer for the Linux operating system/Unix shell scripting.Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).Would you like to answer one of these unanswered questions instead?They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.Fedora used to have issues with where it placed them, but not for years - I haven't checked on F22.I tried dnf query and received the following: No such command: query.Thanks Ok that worked but I got this: (how do I find the headers location from this?You should then be able to upgrade all the way to 4.11.1 if you want.The kernel-ml installs are compatible with the old kernel-x files and can co-exist on a system.