Android & Linux
Android |
Hello friends, how are you all? Come on everyone is fine. I wish you all the best. Welcome to today's blog from TechPark. I hope you will be able to know and learn something new from my blog today. Let's start the discussion in detail.If you've been a bit of a geek type, you know that the Android operating system is dependent on Linux. But the Linux system running on your computer is different from the Android system, you can't run the computer's Linux application on Android, or you can't run the Android application on the computer Linux system, but why? Let's try to find the detailed answer.
The Linux kernel
We need to have a good idea about Linux. You see, most people refer to Linux as the operating system, they say they have Linux installed on their PC. But installing Linux on a PC means installing a Linux distro.
Linux is not an operating system, it is a kernel, and a kernel is required for every operating system to run. The kernel basically helps to establish the relationship between system software and hardware. In other words, the core of the Linux-based operating system is Linux.
The Linux distro that is run on the PC contains not only the Linux kernel, but also some special Linux software. It has its own environment for running Linux software and X graphical servers. Other Linux distros, including Ubuntu, Mint, Debian, Fedora, etc., also have separate software installed in addition to the Linux kernel.
For example, GNOME desktop environments have a desktop interface available in various Linux districts. Suppose you have a server-friendly Linux distro installed on your system, then there will be no desktop interface, because the server is run using commands, now if you want to get desktop in it, you must install the desktop interface.
As such, Android is built solely on the Linux kernel, but does not have separate Linux software installed to run Linux software. Google uses Linux as the kernel of their operating system, because Linux is open source, meaning it can be customized as you wish.
Google customizes their Android as their own. And using the Linux kernel doesn't require them to create any more kernels on their own. Moreover, Android doesn't just use Google alone, many companies use Android on their phones, and they want to add some of their own features there. Since Linux is open source, they can be customized.
Android &. Linux
Now Android is built on Linux but it is not like the different distros of Linux. As discussed earlier, desktop distro has more different types of software installed, but not Android. When Android boots, it boots in the form of Linux, but after booting, Android runs its own virtual machine, which is capable of running software created by Java. I mean, you could say the same thing, Android is a virtual machine running on Linux.
To illustrate this point, let's take an example: Suppose your computer is running Windows 10 operating system. This means that it is possible to run any Windows software on your system. But now suppose you have installed a virtual machine software on your computer and installed Ubuntu in the virtual machine.
Now think about the whole thing, your virtual machine is running on Windows operating system, but you can't use Windows software on Ubuntu installed inside the machine, you can't use Linux software on Windows either. Virtual machines create a completely different environment and behave like an independent computer. Similarly, even though it is built on Android Linux, it does not support desktop Linux software.
Again, Linux distro does not support Android software. Because the Linux distros are designed to run Linux software, and do not have a virtual machine installed, which can run Java applications. But one thing in common between Android and Linux distros is that it supports terminals. This means that you can provide various Linux commands to Android. But for most Linux commands to run, Android does not need to be rooted, as the terminal requires root permission to run properly.
If Android Virtual Machine can be installed on Linux distro, it will be possible to easily install and run Android software on Linux computers. As you may have seen on Windows computers, there is a program called Bluestacks, which runs on a virtual machine and helps you run Android applications on your PC.
Google's Chrome OS is also built on Linux, but it does not have X server, so it is not possible to run Linux software. Chrome OS, like Android, is very close to other distros of Linux, and with some improvements there, it will be possible to run Linux software. Ubuntu Mobile OS, on the other hand, is just like Linux, Here you will find features like using desktop Linux on mobile.
Hopefully, after reading this article you have got clear answers to all the questions in your mind, why it is different from Linux even after working on Android Linux. Linux's desktop distro and Android, two things are made in two ways, because their use is different.
However, if you want you can easily run Android software on
your computer, just like Android, it is possible to run any PC software by
installing a virtual machine. I will explain in the next article, how to build
your own operating system on the Linux kernel.
Thanks from TechPark for reading my blog. Always support. If you like it, comment, share and Subscribe my website and stay by my side.