Get the Microsoft Intune app for Linux
This article describes how to install, update, and remove the Microsoft Intune app for Linux on a personal device.
The Microsoft Intune app package is available at https://packages.microsoft.com/. For more information about how to use, install, and configure Linux software packages for Microsoft products, see Linux Software Repository for Microsoft Products.
Requirements
The Microsoft Intune app is supported with the following operating systems:
- Ubuntu Desktop 22.04 or 20.04 LTS (physical or Hyper-V machine with x86/64 CPUs)
- RedHat Enterprise Linux 8
- RedHat Enterprise Linux 9
Install Microsoft Intune app for Ubuntu Desktop
Run the following commands in a command line to manually install the Microsoft Intune app and its dependencies on your device.
Install Curl.
sudo apt install curl gpg
Install the Microsoft package signing key.
For Ubuntu 20.04:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/ 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' sudo rm microsoft.gpg
For Ubuntu 22.04:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo install -o root -g root -m 644 microsoft.gpg /usr/share/keyrings/ 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' sudo rm microsoft.gpg
Install the Intune app.
sudo apt update sudo apt install intune-portal
Reboot your device.
Update app for Ubuntu Desktop
The Microsoft Intune app automatically updates when updates become available in Software Updater. Run the following commands to update the app manually.
Update the package repo and metadata, which includes
intune-portal
,msft-broker
, andmsft edge
.sudo apt update
Upgrade the packages and clean up dependencies.
sudo apt-get dist-upgrade
Uninstall app for Ubuntu Desktop
Run the following commands to uninstall the Microsoft Intune app and remove local registration data from devices running Ubuntu Desktop.
Remove the Intune app from your system.
sudo apt remove intune-portal
Remove the local registration data. This command removes the local configuration data that contains your device registration.
sudo apt purge intune-portal
Install Microsoft Intune app for RedHat Enterprise Linux
Add the Microsoft repository.
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/microsoft-rhel9.0-prod
Install the Microsoft Intune app.
sudo dnf install intune-portal
Reboot your device.
Update app for RedHat Enterprise Linux
Run one of the following commands to update the Microsoft Intune app.
Option 1:
sudo dnf update
Option 2:
sudo dnf update intune-portal
Uninstall app for RedHat Enterprise Linux
Run the following commands to uninstall the Microsoft Intune app and remove local registration data on devices running RedHat Enterprise Linux.
Remove the Intune portal package.
sudo dnf remove intune-portal
Remove local registration data.
sudo rm -rf /var/opt/microsoft/mdatp sudo rm -rf /etc/opt/microsoft/mdatp sudo rm -rf /opt/microsoft/mdatp