https://github.com/ratijas/symlink-latest-kernel
Symlink latest kernel version in /usr/lib/modules
https://github.com/ratijas/symlink-latest-kernel
aur-packages linux-documentation linux-kernel
Last synced: about 2 months ago
JSON representation
Symlink latest kernel version in /usr/lib/modules
- Host: GitHub
- URL: https://github.com/ratijas/symlink-latest-kernel
- Owner: ratijas
- License: gpl-2.0
- Created: 2020-12-11T01:55:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T03:34:45.000Z (over 5 years ago)
- Last Synced: 2025-10-08T12:53:07.881Z (8 months ago)
- Topics: aur-packages, linux-documentation, linux-kernel
- Language: Shell
- Homepage: https://aur.archlinux.org/packages/symlink-latest-kernel
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Symlink latest kernel
Symlinks latest available kernel to `/usr/lib/modules/latest`.
This is a utility package for Arch Linux. It looks for all installed kernels in `/usr/lib/modules`, sorts by version, and symlinks most recent one as `latest`. Leverages pacman hooks to get the job done.
## Why?
Because some things should remain constant in this ever changing world. For example, browser URLs to kernel's documentation pages. Arch Linux is a fast-moving target, so I quickly got tired of having to manually fix URLs across all affected tabs after each system upgrade.
Somehow, kernel.org website provides [/latest/](https://www.kernel.org/doc/html/latest/) endpoint. So why wouldn't you enjoy the same on your local machine?
file:///usr/lib/modules/latest/build/Documentation/index.html
_(Due to GitHub and/or browser restrictions, the link above may render as plain text instead of clickable link.)_
## Install
Install the [symlink-latest-kernel](https://aur.archlinux.org/packages/symlink-latest-kernel)AUR package.