Ubuntu is one of the popular operating systems from Linux and is a Debian-based version. You may think about sharing your iPhone’s screen with video or music onto your PC with Ubuntu OS. While there exist ways to AirPlay to Linux, many of you may question if it is possible to use AirPlay on Ubuntu. The official answer is No. You cannot use AirPlay Ubuntu since AirPlay belongs to the Apple ecosystem. However, those who still want to use AirPlay on Ubuntu can rely on an alternative approach. i.e., screen mirror iOS screen using third-party apps on your Ubuntu system.
How to Use Screen Mirroring on Ubuntu
As mentioned, you cannot AirPlay Ubuntu officially. But you can use the third-party applications on your Ubuntu system to AirPlay the content from your iOS device. The popular third-party apps that help transfer the iOS screen on Ubuntu are listed below.
- AirDroid Cast
- UxPlay
AirDroid Cast
AirDroid Cast is one of the best apps to share content from your mobile to the big screen. You can even cast the content without connecting both devices to the same WiFi connection. The only thing that you need is to install the AirDroid app on both devices. It also has a web version that helps avoid the process of installing the app on a PC. The steps mentioned below let you use screen mirroring as the alternative method to access AirPlay or AirPlay 2 on Ubuntu.
(1) Launch the browser on your Ubuntu system.
(2) Visit the AirDroid Cast website.
(3) Click the AirDroid Cast Web button at the top right corner.

(4) Now, you will be prompted with a QR code.

(5) Download the AirDroid Cast app from the App Store on your device.
(6) Launch the AirDroid Cast app and click the scan icon displayed on the app.

(7) Scan the QR code on your on the AirDroid Cast app and click the Start Broadcast button.

(8) Again, tap on Start Broadcast to share your iOS screen on the Ubuntu system.

(9) You can click the X mark on the app to end the screen mirroring process.

UxPlay
You can also use the UxPlay app to AirPlay the content from your iPhone to the Ubuntu system. Unlike the AirDroid Cast app, it does not cast the content via the IP address or QR code. Instead, you should connect your Ubuntu system and iOS to the same WIFI to share the content from iPhone to Ubuntu via UxPlay.
(1) Having connected your iPhone and Ubuntu system to the same WIFI connection.
(2) Download the UxPlay app on your Ubuntu system from the GitHub website.
(3) Ensure to extract the files on the Zip or cloned folder.
(4) Now, launch the Terminal on your device and enter the file location of UxPlay.

(5) Type the command mentioned below.
mkdir build
cd build
cmake...
make
(6) Now, enter the command ./uxplay
on the build repository on your terminal.
(7) Fetch your iPhone and go to the Control Center.
(8) Hit the Screen Mirroring icon.
(9) Choose UxPlay from the available devices.
(10) Now, you can start streaming the iPhone content on your Ubuntu system.
Alternatives Apps to AirPlay iOS on Ubuntu
If the above-mentioned apps fail to work on your device, you can use the apps mentioned below to AirPlay your iPhone or Mac on an Ubuntu system.
TeamViewer

TeamViewer is also one of the best apps to share content from the iPhone to Ubuntu-based systems. By downloading the TeamViewer app on both devices, you can start sharing the content from your mobile to the system that runs on Ubuntu. You can share the content without creating an account by using the web version of TeamViewer.
AnyDesk

You can also download the AnyDesk app on both devices to share the content from your iPhone to the Ubuntu-based systems. The application has a simple and unique interface, which helps to access the app easily. You use the AnyDesk app with just 4-5 steps. The application is completely free to download and use.
How to Use AnyDesk to Share content from iOS to Ubuntu:
(1) Launch the AnyDesk app on both devices.
(2) Enter the AnyDesk ID displayed on your PC.
(3) Click the Confirm button on the request page.
(4) Once you have paired with your device, you can start sharing the screen of your iOS on Ubuntu.
These were all the possible alternative apps with which you can use AirPlay on Ubuntu. While this seems a little time-consuming, it is still a worthy technique to watch everything from your iOS on PC screen.