SSH into your router and run:

Advanced users sometimes extract IPK links from their TV’s download history to back up apps they've already purchased or installed. How to Install (Sideload) IPK Files

To integrate this feature into a more complex application (e.g., a GUI application, a web scraper, a Linux package manager frontend), you would: