Post by Stormzul on Aug 30, 2021 0:46:17 GMT 2
****>>IMPORTANT<<****
!!ALWAYS!! DO this when booting from USB Kali-Live (Live Persistence, Live Forensics, etc). Thats the first thing ToDo when booted up!
!!ALSO!! DO this when you first install Kali-Virtual Machine or other types of installs!
linuxconfig.org/how-to-update-kali-linux --->post pasted below
Software Requirements and Conventions Used
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Kali Linux - rolling release
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user
How to update Kali Linux step by step Instructions
Configure Kali Linux Repositories
The first step is to set correct Kali Linux repositories. Make sure that your /etc/apt/sources.list file contains the following official Kali repositories:
deb http.kali.org/kali kali-rolling main non-free contrib
deb-sources http.kali.org/kali kali-rolling main non-free contrib
Command: sudo cat /etc/apt/sources.list
WARNING
Use only official Kali Linux repositories. Any other listed 3rd-party and unofficial repositories within the /etc/apt/sources.list file may break or compromise your Kali Linux system.
Update Kali Linux
To begin the update of your Kali Linux system first update the packages index list. Open up terminal and enter:
$ sudo apt update
Next, optionally, display all packages which are scheduled for update:
$ apt list --upgradable
At this stage we have an option to upgrade individual packages using apt install PACKAGE-NAME or upgrade all packages at once:
$ sudo apt upgrade
All done. Your Kali Linux system is now fully upgraded.
Upgrade Kept Back Packages
Due to package dependency changes some of the Kali Linux packages might be kept back.
If this is this case you will be notified by the apt upgrade Linux command at the end of the Kali Linux upgrade process. You may upgrade each kept back package individually using the apt install PACKAGE-NAME command or update all kept back packages at once:
$ sudo apt dist-upgrade
Uninstall No Longer Required Packages
During your initial system upgrade some of the packages may become obsolete, hence are no longer required. To remove all no longer required Kali Linux packages execute:
$ sudo apt autoremove
Related Linux Tutorials From the post linked above:
How to Remove Bloatware From Your Samsung Android…
Things to install on Ubuntu 20.04
How to install, uninstall and update Firefox on…
Things to do after installing Ubuntu 20.04 Focal Fossa Linux
How to Update Ubuntu packages on Ubuntu 20.04 Focal…
Ubuntu Uninstall Package Tutorial
Ubuntu 20.04 Tricks and Things you Might not Know
Install ARCH Linux on ThinkPad X1 Carbon Gen 7 with…
How to check Kali Linux version
Best Linux distro for developers
!!ALWAYS!! DO this when booting from USB Kali-Live (Live Persistence, Live Forensics, etc). Thats the first thing ToDo when booted up!
!!ALSO!! DO this when you first install Kali-Virtual Machine or other types of installs!
linuxconfig.org/how-to-update-kali-linux --->post pasted below
Software Requirements and Conventions Used
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Kali Linux - rolling release
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user
How to update Kali Linux step by step Instructions
Configure Kali Linux Repositories
The first step is to set correct Kali Linux repositories. Make sure that your /etc/apt/sources.list file contains the following official Kali repositories:
deb http.kali.org/kali kali-rolling main non-free contrib
deb-sources http.kali.org/kali kali-rolling main non-free contrib
Command: sudo cat /etc/apt/sources.list
WARNING
Use only official Kali Linux repositories. Any other listed 3rd-party and unofficial repositories within the /etc/apt/sources.list file may break or compromise your Kali Linux system.
Update Kali Linux
To begin the update of your Kali Linux system first update the packages index list. Open up terminal and enter:
$ sudo apt update
Next, optionally, display all packages which are scheduled for update:
$ apt list --upgradable
At this stage we have an option to upgrade individual packages using apt install PACKAGE-NAME or upgrade all packages at once:
$ sudo apt upgrade
All done. Your Kali Linux system is now fully upgraded.
Upgrade Kept Back Packages
Due to package dependency changes some of the Kali Linux packages might be kept back.
If this is this case you will be notified by the apt upgrade Linux command at the end of the Kali Linux upgrade process. You may upgrade each kept back package individually using the apt install PACKAGE-NAME command or update all kept back packages at once:
$ sudo apt dist-upgrade
Uninstall No Longer Required Packages
During your initial system upgrade some of the packages may become obsolete, hence are no longer required. To remove all no longer required Kali Linux packages execute:
$ sudo apt autoremove
Related Linux Tutorials From the post linked above:
How to Remove Bloatware From Your Samsung Android…
Things to install on Ubuntu 20.04
How to install, uninstall and update Firefox on…
Things to do after installing Ubuntu 20.04 Focal Fossa Linux
How to Update Ubuntu packages on Ubuntu 20.04 Focal…
Ubuntu Uninstall Package Tutorial
Ubuntu 20.04 Tricks and Things you Might not Know
Install ARCH Linux on ThinkPad X1 Carbon Gen 7 with…
How to check Kali Linux version
Best Linux distro for developers