# Linux Kernel

<figure><img src="/files/eJzBKSW3h1odMrO2rfgg" alt=""><figcaption></figcaption></figure>

## Удаляем неиспользуемые ядра

```bash
sudo remove-old-kernels
```

или сразу всё ненужное

```bash
sudo remove-old-kernels -a
```

## Как скачать заголовки (kernel-headers)

<figure><img src="/files/WA6adoHKcbvMgyaUXFc5" alt=""><figcaption></figcaption></figure>

Ищем доступные заголовки в репозитории:

```
epms kernel-headers
```

Смотрим какие доступны и устанавливаем в зависимости от своего ядра (например для ядра 6.12):

```
epmi kernel-headers-6.12
```

```
epmi kernel-headers-modules-6.12
```

{% hint style="info" %}
Перезапускаем ПК
{% endhint %}

## Как поменять версию ядра (GUI)

{% hint style="info" %}
Для взаимодействия с ядрами в дистрибутиве ALT Linux, существуем фирменная утилита "Центр управления"
{% endhint %}

<div><figure><img src="/files/vIS0AWUfXJzWkp39rYLv" alt=""><figcaption></figcaption></figure> <figure><img src="/files/1sLELdtdaw4kRhpvEdNN" alt=""><figcaption></figcaption></figure> <figure><img src="/files/4XpLhgYAMxmxW4syrWPS" alt=""><figcaption></figcaption></figure></div>

{% hint style="success" %}
Выбираем в утилите доступную версию ядра, необходимые модули и нажимаем "Обновить ядро".
{% endhint %}

Далее

{% hint style="success" %}
Перезагружаем ПК
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://plafon.gitbook.io/alt-zero/start/linux-kernel.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
