Check the latest installation methods for your distro : https://www.google.com/search?client=firefox-b-d&q=easy+install+adb+linux
https://developers.google.com/cast/docs/android_tv_receiver/debugging#setting_up_for_development
- Set up your Android TV device:
- Connect the Android TV device to the local network.
- Sign into your Google account.
- From the Settings, in the Device row, select About.
- Scroll down to and click on Build several times until a dialog appears with the message, "You are now a developer."
- Enable USB debugging:
- Install the USB cable, but don't connect the master end of the USB cable to your computer just yet.
- In the Preferences row, select Developer options, select USB debugging, and select On.
- Navigate back to the home screen. You must do this to apply the settings you just selected. The settings will persist unless you perform a factory reset.
Connect to your Android device via its IP (i.e. 192.168.0.10 - you can find this under Network Settings).
adb connect 192.168.0.10:555
The Android device will prompt to authorise this ADB client. Enable and click OK.
These commands will use Netflix as an example.
Assuming your device is an Android TV on the same network as your ADB client, using IP address 192.168.0.10
(example).
Set an environment variable.
export TV="192.168.0.10"
Find the package name using a filter.
./find $TV netflix
Backup a package and its data.
./backup $TV netflix
Restore a package and its data.
./restore $TV netflix
Remove a package.
./remove $TV netflix