QtScrcpy is a handy tool that allows you to mirror and control your Android device from your computer. In this article, we will guide you through the process of installing a prebuilt version of QtScrcpy on Linux, specifically Ubuntu.
Step 1: Install Dependencies
Before we can install QtScrcpy, we need to make sure that all the necessary dependencies are installed on our system. Open a terminal and run the following command:
sudo apt install adb ffmpeg libsdl2-2.0-0
This command will install the Android Debug Bridge (ADB), FFmpeg, and the Simple DirectMedia Layer (SDL) libraries.
Step 2: Download QtScrcpy
Next, we need to download the prebuilt version of QtScrcpy. Open a web browser and visit the QtScrcpy GitHub releases page. Look for the latest version and download the qtscrcpy-version.tar.gz file.
Step 3: Extract the Archive
Once the download is complete, navigate to the location where the file was saved. Right-click on the file and select "Extract Here" or use the following command in the terminal:
tar xvf qtscrcpy-version.tar.gz
This will extract the contents of the archive into a new directory.
Step 4: Run QtScrcpy
Now that we have extracted QtScrcpy, we can run it. Open a terminal and navigate to the directory where the files were extracted. Use the following command:
cd qtscrcpy-version
Replace version with the actual version number of QtScrcpy that you downloaded.
Next, run the following command to start QtScrcpy:
./qtscrcpy
QtScrcpy should now launch, and you will see a window displaying the screen of your Android device. You can use your mouse and keyboard to interact with the device.
Step 5: Optional - Create a Desktop Shortcut
If you want to create a desktop shortcut for QtScrcpy for easy access, follow these additional steps:
- Right-click on your desktop and select "Create Launcher" or "Create Shortcut".
- Fill in the name and command fields as follows:
- Name: QtScrcpy
- Command:
/path/to/qtscrcpy-version/qtscrcpy
- Click "OK" or "Create" to create the shortcut.
You should now have a desktop shortcut that you can double-click to launch QtScrcpy.
Conclusion
Congratulations! You have successfully installed QtScrcpy on your Linux/Ubuntu system. Now you can easily mirror and control your Android device from your computer. Enjoy the convenience and productivity that QtScrcpy brings!
References
| Reference | Link |
|---|---|
| QtScrcpy GitHub Releases | https://github.com/Genymobile/scrcpy/releases |