Ubuntu 桌面安装程序

CI
codecov

该项目是 Ubuntu 桌面安装程序的现代实现,使用 subiquity 作为后端,并使用 Flutter 作为 UI。

检出 & 运行

获取源代码

git clone https://github.com/canonical/ubuntu-desktop-installer.git
cd ubuntu-desktop-installer
git submodule update --init --recursive

安装并配置 Flutter

snap install flutter --classic
flutter upgrade
flutter config --enable-linux-desktop

安装依赖项

cd packages/subiquity_client
dart pub get
cd subiquity
make install_deps
cd ../../ubuntu_desktop_installer
flutter pub get

运行

flutter run

运行实时安装程序

在一个终端中运行

cd /path/to/ubuntu-desktop-installer/packages/subiquity_client/subiquity
sudo python3 -m subiquity.cmd.server

在另一个终端中运行

cd /path/to/ubuntu-desktop-installer/packages/ubuntu_desktop_installer
LIVE_RUN=1 flutter run

贡献

请参阅我们的 贡献者指南

许可证

Ubuntu 桌面安装程序根据 GNU 通用公共许可证 3.0 获得许可。

GitHub

https://github.com/canonical/ubuntu-desktop-installer