Alternatively, you can install Termux from the Chrome OS Play Store.
Download your specific Samsung firmware (usually a .zip file) from a site like odin flash tool for chrome os
Because Odin is a .exe Windows application, it cannot run natively on ChromeOS. However, you can achieve the same results on a Chromebook by using the Linux-based alternative or by setting up a Linux environment. 1. The Best Alternative: Heimdall Alternatively, you can install Termux from the Chrome
Connect your Samsung device and ensure the Linux container has permission to access the USB port. 2. Odin v4 for Linux (Command Line) odin flash tool for chrome os