Skip to content

Instantly share code, notes, and snippets.

@jlollis
Created January 26, 2019 19:28
Show Gist options
  • Select an option

  • Save jlollis/a9f4e794c27c4cb338a8715ca5e9fb18 to your computer and use it in GitHub Desktop.

Select an option

Save jlollis/a9f4e794c27c4cb338a8715ca5e9fb18 to your computer and use it in GitHub Desktop.
Updating WSL
Updating Packages in WSL
Because WSL uses a standard Ubuntu installation, upgrading your packages should look very familiar:
$ sudo apt-get update
$ sudo apt-get upgrade
Updating the Ubuntu OS
You can aso upgrade to the latest version of Ubuntu with the following command (caution, this will take quite some time)!:
$ sudo -S apt-mark hold procps strace sudo
$ sudo -S env RELEASE_UPGRADER_NO_SCREEN=1 do-release-upgrade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment