Skip to content

Linux

ubuntu kernel update 하기

Author
siwon
Date
2024-11-04 18:41
Views
148

https://askubuntu.com/questions/1334229/how-to-update-my-just-my-kernel-version-on-ubuntu-20-04

you can try a mainline kernel. Search for how to install them. Or

sudo add-apt-repository ppa:cappelikan/ppa -y
sudo apt update
sudo apt install mainline -y

To install the mainline kernel installer.

You could also upgrade to the latest oem kernel

sudo apt install linux-oem-20.04b -y

Either solution will get you a newer kernel and retain 20.04LTS


Ubuntu에서 커널을 업데이트하는 방법은 다음과 같은 명령어를 통해 쉽게 할 수 있습니다. 특히, 서버나 원격 환경에서는 커맨드라인에서 업데이트를 진행하는 것이 일반적입니다.  


1. **시스템 업데이트 및 업그레이드:** 먼저, 현재 설치된 패키지와 커널 업데이트를 확인하고 설치합니다.

   ```bash

   sudo apt update && sudo apt upgrade -y

   ```


2. **특정 커널 설치:** 최신 커널 버전으로 업데이트하려면 `linux-image-generic` 패키지를 설치합니다.  

   ```bash

   sudo apt install --install-recommends linux-generic

   ```


3. **시스템 재부팅:** 새로운 커널이 설치되면 재부팅이 필요합니다.

   ```bash

   sudo reboot

   ```


4. **커널 버전 확인:** 업데이트 후에 현재 사용 중인 커널 버전을 확인하려면 아래 명령어를 사용합니다.

   ```bash

   uname -r

   ```

이 과정을 통해 Ubuntu에서 커널을 최신 버전으로 업데이트할 수 있습니다.