Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ubuntu: Use apt repo instead of kernel upgrade script #510

Merged
merged 2 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions docs/distributions/debian/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,37 +57,41 @@ After installation, we need to install a kernel having patches to support the T2
sudo apt update
```

4. Now install the kernel upgrade script.
4. Now install the T2 kernel.

* If your distro is Ubuntu based, run:
* If your distro is Ubuntu based:

You need to additionally add the **release specific** apt repo for kernels. Follow the steps given [here](https://github.com/AdityaGarg8/t2-ubuntu-repo?tab=readme-ov-file#adding-the-release-specific-apt-repo). After adding the repo, install the `linux-t2` package:

```bash
sudo apt install t2-kernel-script
sudo apt install linux-t2
```

* If your distro is Debian based, run:
* If your distro is Debian based:

In this case, you need to install the kernel upgrade script:

```bash
sudo apt install t2-kernel-script-debian
```

5. Then upgrade your kernel to a T2 kernel by running:
Then upgrade your kernel to a T2 kernel by running:

```bash
update_t2_kernel
```
```bash
update_t2_kernel
```

6. Install the audio configuration files by running:
5. Install the audio configuration files by running:

```bash
sudo apt install apple-t2-audio-config
```

**Note:** If your distro is using PulseAudio by default, consider switching to PipeWire as mentioned in the [audio guide](https://wiki.t2linux.org/guides/audio-config/#audio-configuration-files).

7. Follow the [Wi-Fi guide](https://wiki.t2linux.org/guides/wifi-bluetooth/) to get internal Wi-Fi working.
6. Follow the [Wi-Fi guide](https://wiki.t2linux.org/guides/wifi-bluetooth/) to get internal Wi-Fi working.

8. If your Mac has a Touch Bar, install `tiny-dfr` by running:
7. If your Mac has a Touch Bar, install `tiny-dfr` by running:

```bash
sudo apt install tiny-dfr
Expand Down
2 changes: 1 addition & 1 deletion docs/distributions/ubuntu/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# Receiving kernel updates

In order to continue receiving the kernel updates for T2 kernels, it's recommended to set up the kernel update script as described [here](https://github.com/t2linux/T2-Ubuntu-Kernel#using-the-kernel-upgrade-script).
In order to continue receiving the kernel updates for T2 kernels, it's recommended to set up the apt repo as described [here](https://github.com/t2linux/T2-Ubuntu-Kernel?tab=readme-ov-file#using-the-apt-repo).

# Configuring the Touch Bar

Expand Down
Loading