[SOLVED] Is it possible to run desktop Linux CLI programs in Android?
Linux - MobileThis forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it possible to run desktop Linux CLI programs in Android?
Ok, I have a possibly stupid question. Actually, probably stupid question, but I thought it might be worth asking.
I use the CAS program Maxima on my laptop and desktop at home. I've come to really like it, so I decided to search for CAS software for Android, only to find that selection for this particular kind of software is abysmal. (There's a program called "CAS For Android" that doesn't even have a CLI, and a CLI is necessary for a halfway decent CAS.)
So, I thought, there are several terminal "emulators" for Android, and it'd be really cool if I could just install Maxima through the CLI and use it without any kind of GUI (because I don't really need a GUI that much). Of course, I have no idea to what extent those emulators are really emulators. Are they like VMs of a CLI Linux distro? Or are they just CLI file explorers? (Personally, I'd love a VM of a CLI version of Debian or Ubuntu on my phone, but that may just be me, lol.) But, the bottom line is, can it be done?
I've never installed anything from source before, but I'd be willing to learn if it meant that I could use Maxima on my phone. I'm kind of guessing that the answer is "no," but I thought I might as well ask.
Do you need to run Maxima on the phone, or can you use your phone as a conduit to a machine running Maxima? The reason I'm asking is that ConnectBot is a very good SSH client for Android, and using that you could connect to an SSH server and get your command line access that way.
Android is a completely different Operating System. Yes, it uses the Linux kernel (well, a fork of it, actually), but the userland is completely different (not GNU). So Hangdog42's suggestion is probably the best/easiest way to achieve what you want.
Android is a completely different Operating System. Yes, it uses the Linux kernel (well, a fork of it, actually), but the userland is completely different (not GNU). So Hangdog42's suggestion is probably the best/easiest way to achieve what you want.
That's kind of what I was expecting, unfortunately, I was just hoping that the Terminal Emulators were actually emulating a Linux OS instead of just a CLI file explorer.
Quote:
Do you need to run Maxima on the phone, or can you use your phone as a conduit to a machine running Maxima? The reason I'm asking is that ConnectBot is a very good SSH client for Android, and using that you could connect to an SSH server and get your command line access that way.
I've never done that before, but when I get the time to, I'll see about teaching myself how to do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.