File tree 1 file changed +8
-21
lines changed
1 file changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -53,39 +53,26 @@ Run the following commands in a command line to manually install the Microsoft I
53
53
54
54
2. Install the Microsoft package signing key.
55
55
56
- For Ubuntu 24.04 :
57
-
58
56
` ` ` bash
59
57
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
60
58
sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
61
- sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/24.04/prod noble main" > /etc/apt/sources.list.d/microsoft-ubuntu-noble-prod.list'
62
- sudo rm microsoft.gpg
59
+ rm microsoft.gpg
63
60
` ` `
64
- For Ubuntu 22.04 :
65
61
66
- ` ` ` bash
67
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
68
- sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
69
- sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/22.04/prod jammy main" > /etc/apt/sources.list.d/microsoft-ubuntu-jammy-prod.list'
70
- sudo rm microsoft.gpg
71
- ` ` `
72
- For Ubuntu 20.04 :
62
+ 3. Add and update Microsoft Linux Repository to the system repository list.
73
63
74
- ` ` ` bash
75
- curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
76
- sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/
77
- sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/20.04/prod focal main" > /etc/apt/sources.list.d/microsoft-ubuntu-focal-prod.list'
78
- sudo rm microsoft.gpg
79
- ` ` `
64
+ ` ` ` bash
65
+ sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/microsoft.gpg] https://packages.microsoft.com/ubuntu/$(lsb_release -rs)/prod $(lsb_release -cs) main" >> /etc/apt/sources.list.d/microsoft-ubuntu-$(lsb_release -cs)-prod.list'
66
+ sudo apt update
67
+ ` ` `
80
68
81
- 3 . Install the Intune app.
69
+ 4 . Install the Intune app.
82
70
83
71
` ` ` bash
84
- sudo apt update
85
72
sudo apt install intune-portal
86
73
` ` `
87
74
88
- 4 . Reboot your device.
75
+ 5 . Reboot your device.
89
76
90
77
# ## Update app for Ubuntu Desktop
91
78
The Microsoft Intune app automatically updates when updates become available in Software Updater. Run the following commands to update the app manually.
You can’t perform that action at this time.
0 commit comments