Home > Article > Software Tutorial > how to install scrcpy on ubuntu
This article provides a step-by-step guide on how to install and use scrcpy on Ubuntu to control, mirror, and share the screen of an Android device on a computer. It offers instructions on configuring scrcpy to initiate screen recording and establish
Scrcpy is a free and open-source software that allows you to control your Android device from your computer. It can be used for a variety of purposes, such as debugging, playing games, or sharing your screen.
To install scrcpy on Ubuntu, follow these steps:**
<code>sudo add-apt-repository ppa:wrmsr/scrcpy</code>
<code>sudo apt-get update</code>
<code>sudo apt-get install scrcpy</code>
Once scrcpy is installed, you can launch it from the terminal by typing:
<code>scrcpy</code>
This will start scrcpy and connect it to your Android device. You should now be able to control your device from your computer.
To mirror your Android device on your Ubuntu computer using scrcpy, follow these steps:**
<code>scrcpy --record file.mp4</code>
The screen recording will be saved to the file specified in the --record
option.
To connect your Android device to your Ubuntu computer for remote control and screen sharing, follow these steps:**
<code>scrcpy</code>
You can also use scrcpy to share your Android device's screen with other people. To do this, use the --display
option with the IP address of the computer you want to share your screen with. For example:**
<code>scrcpy --display 192.168.1.100</code>
The above is the detailed content of how to install scrcpy on ubuntu. For more information, please follow other related articles on the PHP Chinese website!