> ## Documentation Index
> Fetch the complete documentation index at: https://docs.1000w123.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Debian 上安装 LXDE

要在 Debian 上安装 LXDE（轻量级 X11 桌面环境），你可以按照以下步骤操作：

### 方法 1：使用 APT 包管理器

1. **更新系统包**：

   ```bash theme={null}
   sudo apt update
   ```

2. **安装 LXDE**：

   ```bash theme={null}
   sudo apt install lxde -y
   ```

3. **选择显示管理器**：安装过程中会提示你选择显示管理器，建议选择 `lightdm`，因为它更轻量。

4. **重启系统**：

   ```bash theme={null}
   sudo reboot
   ```

### 方法 2：使用 Tasksel

1. **安装 Tasksel**（如果未安装）：

   ```bash theme={null}
   sudo apt install tasksel
   ```

2. **启动 Tasksel**：

   ```bash theme={null}
   sudo tasksel
   ```

3. **选择 LXDE**：在 Tasksel 中选择 `lxde`，然后按 OK 开始安装。

安装完成后，重启系统并选择 LXDE 作为默认桌面环境。
