Kali linux update version

Как обновить Kali Linux

Kali Linux, на сегодняшний день одна из самых популярных операционных систем используемых для аудита безопасности корпоративных и домашних локальных сетей, периферийного оборудования, серверов, рабочих станций и различного ПО.

Программное обеспечение, поставляемое в рамках дистрибутива Kali Linux, периодически обновляется, получая при этом новые возможности или исправление ошибок в старых версиях ПО. Дальше мы рассмотрим как обновить Kali Linux из разных веток его репозитория.

Обновление системы Kali Linux

Kali Linux имеет три официальные ветки репозиториев. И каждая отличается своим набором пакетов для обновления операционной системы.

Репозиторий kali-last-snapshot

kali-last-snapshot (Kali последний снимок) самая стабильная ветка репозитория. Обновления для ПО и ОС в ней не публикуются, за исключением критических заплаток, исправляющих нестабильную работу или закрывающих бреши в безопасности операционной системы. Все новые возможности появятся только в новой версии операционной системы Kali Linux.

Чтобы применить этот репозиторий по умолчанию в вашей ОС, измените файл /etc/apt/sources.list:

sudo nano /etc/apt/sources.list

Впишите в него следующую строку (убрав все остальные если таковые есть):

deb http://http.kali.org/kali kali-last-snapshot main non-free contrib

Затем обновите список пакетов доступных из вашего репозитория:

Обновление пакетов Kali Linux выполняется командой:

Репозиторий kali-experimental

kali-experimental (экспериментальная Kali) ветка репозитория которая подойдёт энтузиастам готовым получать самые новые версии ПО, находящиеся на стадии тестирования. Разработчики не гарантируют стабильность работы программ и операционной системы при обновлении из этой ветки.

Чтобы использовать данный репозиторий по умолчанию, обновите конфиг в файле /etc/apt/sources.list.

Вместо kali-last-snapshot вставьте kali-experimental. Должна получится такая строка:

deb http://http.kali.org/kali kali-experimental main non-free contrib

Обновить пакеты из этой экспериментальной ветки можно командами:

Репозиторий kali-rolling

kali-rolling (дословно прокатывание, катание или обкатка) — репозиторий который используется по умолчанию во всех дистрибутивах Kali Linux. В данной ветке периодически выкладываются относительно стабильные новые версии ПО и компонентов операционной системы.

Если вы хотите использовать этот репозиторий по умолчанию в файле /etc/apt/sources.list должна быть следующая строка:

Читайте также:  Linux сервер web приложений

deb https://http.kali.org/kali kali-rolling main non-free contrib

Затем нужно поочерёдно выполнить ряд команд:

Теперь обновить Kali Linux через терминал можно командой:

Если вы хотите обновить всё, включая и компоненты ОС, выполните команду

Выводы

Обновление Kali Linux по большому счету мало чем отличается от обновления других операционных систем на основе Debian или Ubuntu. Однако следует с осторожностью относится к обновлению из экспериментальной ветки репозитория Kali Linux. В случае необходимости можно установить отдельные пакеты из этого репозитория, не обновляя всю операционную систему целиком, даже если что-то пойдёт не так, всегда проще удалить одну нестабильную программу, чем исправлять целый ряд возможных проблем.

Обнаружили ошибку в тексте? Сообщите мне об этом. Выделите текст с ошибкой и нажмите Ctrl+Enter.

Источник

When should you update Kali?

If you have a default installation of Kali, you should be checking for updates every few weeks. If you need a new version of a tool, or hear about a security update, that may speed up the timetable. However, a good practice is that you ensure all tools work before an engagement and during that engagement you should not update. As Kali is a rolling release, once in a while issues will sneak into rolling and may break a tool that is needed.

If you are using last-snapshot, you will not receive updates until we release the next version of Kali for that year. For this reason, it is a good idea to follow the Kali Twitter, or check the Kali website every few months. Kali has a release four times a year, and follows a loose quarterly schedule.

How to update Kali?

To update Kali, first ensure that /etc/apt/sources.list is properly populated:

[email protected]:~$ cat /etc/apt/sources.list # See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/ deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware # Additional line for source packages # deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware [email protected]:~$ 

After that we can run the following commands which will upgrade us to the latest Kali version:

[email protected]:~$ sudo apt update [email protected]:~$ [email protected]:~$ sudo apt full-upgrade -y [email protected]:~$ 

Updated on: 2023-Mar-06
Author: gamb1t

Источник

How to Update Kali Linux

Kali Linux is known as one of the best operating systems for penetration testing. It is a Debian-derived Linux distribution with a large community of users.

The OS has a rolling release model with new releases coming out approximately four times a year. Make sure to check for updates and upgrades regularly. Doing so improves the overall security and speeds up system performance.

In this article, you will learn how to update Kali Linux.

Читайте также:  Grub2 install linux mint

How to update Kali Linux.

  • A system running Kali Linux (it is best to install Kali as a VM)
  • Access to a terminal window/command line (Ctrl+Alt+T)
  • A user account with sudo or root privileges

How to Update Kali Linux?

Kali uses the Debian Package management system, which allows you to update and upgrade using the apt or apt-get command. Follow the steps outlined below to update and upgrade Kali.

Step 1: Check the Source List Files

When downloading updates using the APT package manager, ensure the system is connecting to the correct remote repository. Configuration files /etc/apt/source.list and /etc/apt/source.list.d/ contain URLs from which Kali installs packages and applications.

Open the configuration files to check the source:

The output should display the URL deb http://http.kali.org/kali kali-rolling main contrib non-free as in the image below.

Display the source list files for Kali Linux.

The same applies for files inside /etc/apt/source.list.d/.

Step 2: Update Package Manager

Before installing the latest software, you need to update the package repository to ensure you are downloading the newest versions. Run the following command to get the latest package lists:

Update Kali Linux package manager.

Note: Kali had a default root user on versions up to 2020.1. Since more and more users started running Kali as their day-to-day operating system, they decided to move to the traditional security model of having a non-root user. The default password for the root user is toor. If you are not logged in as the root, make sure to add the Linux sudo command prefix.

Step 3: Upgrade the System

Now you can run the upgrade, which installs the latest packages and patches for Kali Linux. There are three commands you can use to upgrade Kali:

There are slight differences between them:

  • The apt upgrade command downloads and updates packages without deleting anything previously installed on your Kali Linux system.
  • The apt full-upgrade command downloads and updates packages. However, it also removes already installed packages if needed.
  • The apt dist-upgrade command does the same as a regular upgrade while intelligently handling changing dependencies, removing obsolete packages, and adding new ones.

Once you decide how to upgrade, type in the command and press Enter. The system will ask you to confirm the installation — type yes or y and press Enter to do so.

Note: Instead of running each command separately, you can update Kali Linux using a single command: apt update && apt upgrade .

Step 4: Remove Unnecessary Packages

Remove obsolete packages left after the upgrade to free up disk space by running the command:

Читайте также:  Показать содержимое директории linux

It is best to check for new updates every couple of weeks if running a default installation. After reading this article, you should know how to update and upgrade your Kali Linux system using the commands listed above.

Источник

How to Update Kali Linux to Latest Version | Kali Linux 2022.3

In this article, we are learning how to update Kali Linux to the latest version. If you are using Kali Linux. you should be checking for updates every few days or weeks. If you want a new version of a tool and updates for your Kali Linux. Kali has released four times a year.

Check the Current Installed Version

So, first of all, you have to check the installed version. If you want to update your Kali Linux using this command you can verify the installed version of Kali Linux.

Kali Linux Version Check

How to Update Kali?

To update Kali, first, you have to update your Repository file /etc/apt/sources.list

deb http://http.kali.org/kali kali-rolling main non-free contrib

Kali Linux Repository

Update Your Kali Linux

Now you can update your Kali Linux, using the following command.

Upgrade Kali Linux

After that, we can run the following commands which will upgrade us to the latest Kali version.

Video:

How to Update Kali to Latest Release of Kali Linux 2021.2| Kali Linux 2021.2

Video

Conclusion

In this article, we learned how to get latest update of Kali Linux to latest release or newer version. Kali release many updates in a year, we are getting four updates with new features and tools.

IMPORTANT THINGS TO REMEMBER

  • This article was written only for educational purposes.
  • The author can not be held any responsibility for damage caused by the use of these resources.
  • You will not use this information to gain unauthorized access or any other legal activity.

If you are using any illegal activities using these techniques kalilinuxtutorial.com can’t hold any responsibility for your action.
This blog only for educational purposes where you will learn about Kali Linux how it works and how you can install any tools in Kali Linux.

Finally

If you have any questions about this article, any feedback, suggestions, or if you want to share your thoughts, please feel free to comment below.
If you want to speak with us directly you can Contact Us.

About The Author

admin

Kali Linux Tutorial blog that publishes articles, Tips, Tricks and Tutorials about Kali Linux operations, new techniques and Linux security.

Источник

Оцените статью
Adblock
detector