File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,20 @@ The following steps use [APT](https://wiki.debian.org/Apt) to install Core Tools
51
51
# #### Ubuntu
52
52
53
53
` ` ` bash
54
- sudo sh -c ' echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs)-prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list'
54
+ sudo sh -c ' echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs 2>/dev/null )-prod $(lsb_release -cs 2>/dev/null ) main" > /etc/apt/sources.list.d/dotnetdev.list'
55
55
` ` `
56
56
57
57
# #### Debian
58
58
59
59
` ` ` bash
60
- sudo sh -c ' echo "deb [arch=amd64] https://packages.microsoft.com/debian/$(lsb_release -rs | cut -d' .' -f 1)/prod $(lsb_release -cs) main" > /etc/apt/sources.list.d/dotnetdev.list'
60
+ sudo sh -c ' echo "deb [arch=amd64] https://packages.microsoft.com/debian/$(lsb_release -rs 2>/dev/null | cut -d' .' -f 1)/prod $(lsb_release -cs 2>/dev/null ) main" > /etc/apt/sources.list.d/dotnetdev.list'
61
61
` ` `
62
62
63
63
1. Check the ` /etc/apt/sources.list.d/dotnetdev.list` file for one of the appropriate Linux version strings in the following table:
64
64
65
65
| Linux distribution | Version |
66
66
| -------------------------- | ---------- |
67
+ | Debian 12 | ` bookworm` |
67
68
| Debian 11 | ` bullseye` |
68
69
| Debian 10 | ` buster` |
69
70
| Debian 9 | ` stretch` |
You can’t perform that action at this time.
0 commit comments