This guide has been updated for elementaryOS v5.0+.
sudo apt-get update
sudo apt-get -y install software-properties-common
| Credits | |
| # https://c-nergy.be/blog/?p=13655 | |
| # https://askubuntu.com/questions/844245/how-to-compile-latest-pulseaudio-with-webrtc-in-ubuntu-16-04 | |
| # https://askubuntu.com/questions/496549/error-you-must-put-some-source-uris-in-your-sources-list | |
| # https://unix.stackexchange.com/questions/65167/enable-udev-and-speex-support-for-pulseaudio | |
| # https://rudd-o.com/linux-and-free-software/how-to-make-pulseaudio-run-once-at-boot-for-all-your-users | |
| # https://gist.github.com/rkttu/35ecab5604c9ddc356b0af4644d5a226 | |
| # Installation and Enhanced session | |
| # follow steps on the post below, I installed Ubuntu 22.04 on a Windows 11 machine |
| #Fully based on https://boxofcables.dev/accelerated-kvm-guests-on-wsl-2/ | |
| if [ -z "$1" ] | |
| then | |
| echo "Must supply your Windows 10 username" | |
| exit | |
| fi | |
| WIN_USERNAME=$1 | |
| #package updates and installations |