Edge2 Remove GPU Package

In order to have better desktop experience, the Ubuntu OS has Wayland GPU support by default.

But in some situations, this may break some software, so we provide a way to uninstall the GPU package here to use CPU rendering.

Ubuntu 22.04

sudo apt -y remove linux-gpu-mali-wayland
sudo apt -y install --reinstall libegl1-mesa  libegl1  libgles2  libgles2-mesa  libegl1-mesa-dev  libgles2-mesa-dev  libglvnd-dev  libgles1  libwayland-dev  mesa-common-dev  libgl-dev  libegl-dev libgles-dev libgbm-dev  libgbm1  libwayland-egl1
sync
sudo reboot

Ubuntu 24.04

sudo apt -y remove linux-gpu-mali-wayland
sudo apt -y reinstall  libegl1  libgles2   libegl1-mesa-dev  libgles2-mesa-dev  libglvnd-dev  libgles1  libwayland-dev  mesa-common-dev  libgl-dev  libegl-dev libgles-dev libgbm-dev  libgbm1  libwayland-egl1
sync
sudo reboot