¿Cómo actualizar shell ZSH en WSL?
Eso lo logramos con el siguiente comando:
sudo apt-getupdate
2. Al ejecutar este comando, sudo nos pedira la congtraseña de nuestro usuario.
<juanxx0@LAPTOP-274QGOQM:~$ sudo apt-get update
[sudo] password forjuanxx0:>
<Hit:1http://archive.ubuntu.com/ubuntu jammy InReleaseHit:2http://archive.ubuntu.com/ubuntu jammy-updates InReleaseHit:3http://archive.ubuntu.com/ubuntu jammy-backports InReleaseHit:4http://security.ubuntu.com/ubuntu jammy-security InReleaseHit:5https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Reading package lists... Done>
En nuestro caso son pocas las actualizaciones disponiblesdebido a que periódicamente realizamos este proceso.
Ahora lo que debemos hacer es ejecutar el comando: “sudo apt-get upgrade” que instalara las actualizaciones que se encuentran disponibles.
<juanxx0@LAPTOP-274QGOQM:~$ sudo apt-get upgradeReading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apache2 apache2-bin apache2-data apache2-utils apparmor apport apt
apt-utils base-files bind9-dnsutils bind9-host bind9-libs curl
distro-info-data git git-man isc-dhcp-client isc-dhcp-common kbd
less libapparmor1 libapt-pkg6.0 libcurl3-gnutls libcurl4
libdrm-common libdrm2 libglib2.0-0 libglib2.0-bin libglib2.0-data
libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3
libkrb5support0 libksba8 libldap-2.5-0 libldap-common libllvm15
libnetplan0 libnss-systemd libpam-modules libpam-modules-bin
libpam-runtime libpam-systemd libpam0g libpython3.10
libpython3.10-minimal libpython3.10-stdlib libpython3.11-minimal
libpython3.11-stdlib libsasl2-2 libsasl2-modules
libsasl2-modules-db libssl-dev libssl3 libsystemd0 libudev1
libxml2 linux-libc-dev motd-news-config netplan.io openssh-client
openssl python-apt-common python3-apport python3-apt
python3-distupgrade python3-pkg-resources python3-problem-report
python3-update-manager python3.10 python3.10-minimal python3.11
python3.11-minimal rsync snapd sudo systemd systemd-hwe-hwdb
systemd-sysv systemd-timesyncd tar tcpdump tmux tzdata
ubuntu-advantage-tools ubuntu-release-upgrader-core udev
update-manager-core vim vim-common vim-runtime vim-tiny xxd
94 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get107 MB of archives.
After this operation, 858 kB of additional disk space will be used.
Do you want to continue? [Y/n]>