Well this post is just for curiosity šŸ˜ | Can I have multiple repositories of any kind?

WHY CANT ?

  • I know apt doesn't run on Arch Linux distroes also other repos.
  • Can I make separate libraries for each repoes and share compatible libraries
  • Is it possible to make a linux system which supports all repoes.

What's being done

Some people make a separate partition or system folder to keep the another distro inside it and run it [Not the Multiboot OR Dualboot]

My intension [ May be I do this in future ]

  • I asked this because I was not able to boot through Manjaro and Android x-86 Virtual box because I want learn to run it natively
  • Further I want to test original Android with linux keeping it's driver and libraries separately

Approch

  • I'm sick of installing multiple distroes [Virtual Box] and make their config again and again any ways to run all of them combind using more shared and less isolated libraries
  • Simply fuse all linux os's libraries as a single library as simple as a piece of cake :cake:

Well this post is just for curiosity :grin:
I'm a noob :joy: in these things any legend(s) can answer this

I mean it must be simple one thatā€™s able to run both pc and mobile devices architecture it uses different drivers offcourse

I guess Iā€™m not really 100% clear on what youā€™re asking here?

Generally speaking, besides maybe Gentooā€™s approach, Arch with the AUR probably has the widest selection of packages (more accurately pkgbuilds) in a single location, although AUR packages are not binaries and must be built from source. Adding in the Chaotic AUR, you probably now have the widest selection of pre-built binaries as well. On top of this Arch does support adding external repositories, and Arch-based distros that donā€™t come with the AUR enabled still support doing so. You may want to have a read of this Archwiki page if youā€™d like to get a better understanding of package management, both on Arch and in general.

This may be the closest you can come to that, but Iā€™ve never used it. Honestly, I donā€™t see the need - Arch offers more software than literally anyone could ever need, and even if I find a package thatā€™s not in another Arch repo or the AUR, I can just build it from source anyway. Not to mention that trying to make assorted distro stuff play nice together just sounds like a headache, however good the tools are.

Again, not sure what you mean here, maybe Iā€™m just missing something? To launch another OS from within a booted OS, you have to use virtualization of some kind as far as Iā€™m aware. Fancy passthrough options are possible to make VMs run more natively, but this is not something Iā€™ve looked into.

Well, Android-x86 is touchy and odd regardless, and at least last time I checked it wasnā€™t really recommended to run it on bare metal. I wouldnā€™t necessarily consider x86 ā€œoriginal Androidā€ either - even if one considers mainline Android to be a ā€œLinux distroā€ (which, kind of) itā€™s an ARM-native platform. Your best solution here is probably going to still be a virtual machine, or depending on what you actually want to test something like Anbox or Waydroid could be better.

Just run Garuda :wink: More seriously, itā€™s probably better to just find one distro that works for you. If what you need is the widest selection of software, Arch is probably the way you want to go, unless you are prepared to install Gentoo. Neither are really recommended for ā€œnoobsā€ as you say, but taking the time to actually install Arch yourself will teach you a LOT about Linux. You will hit snags, hiccups, etc along this process, and if you need a working machine every day you should probably give it a couple shots in a VM. Iā€™ve never run across any software I needed that I couldnā€™t either build from the AUR or from source directly.

Virtualization is an extremely powerful and useful tool once you get a little more familiarity with it, and you can certainly back up configs from one if you wish to apply them to another of the same OS. Itā€™s even possible to allow VMā€™s to access a shared folder on your hard drive, and with the right hardware and a little work they can even use some components of your machine directly.

Unfortunately not. Itā€™s not a matter of drivers at that point. Mobile devices are usually ARM chipsets, desktops are usually not. Things built for one architecture will not run on another. In the case of Android specifically, running packages (.apkā€™s in this case) is achievable via Anbox and related tools like I mentioned above, but otherwise mostly no.

Last But Not Least

I respect your curiosity. Linux and the world of free and open source software is a wonderful place to be, and a perpetual learning experience. There are a lot of resources available for you if you want to know more, just be prepared for some reading. This guide if very good if you need help looking for something in particular, and I canā€™t recommend it enough.

Garuda linux is a small community, and while it offers a very easy install process and a lot of useful tools, it is still Arch which means itā€™s going to involve much of the same experiences. Forums like this one, and generally for Arch-derivatives in general, are not always friendly to noobs, especially if you come off as not having done your own research. I hope you donā€™t let this discourage you. As long as youā€™re thoughtful, ask good questions, and do your own work ahead of time, youā€™ll find many who are happy to help!

I, for one, am always happy to show people around. If you have more questions on this topic (and the mods decide this thread is cool // in the right place) feel free to ask. If youā€™re curious about other stuff, youā€™re also welcome to shoot me a direct message here. :peace_symbol:

EDIT: guess I may have been a little off base with a couple things here as per Namanā€™s reply. Hope this is helpful anyway!

3 Likes

I guess what you are trying to achieve is possible. You are trying to achieve some extent of sandboxing libraries. We actually implement it in our build server to build packages, without interfering with host OS ( We use Arch there, but other Linux distros should be possible as well, not sure of android though ). I have no idea, to be honest on how to do that, because I was not the one who wrote the code.

But here's the code

Also see this,

5 Likes

Probably I have to learn more, my dream is to make a free and best OS for everyone linux is a milestone for that.

2 Likes

Dont know if this is what you are asking for but you could try bedrock linux, I tested it and it worked "fine" on gnome but crappy on deepin due to kwin method of requesting time but that should be fixed on a recent kwin like arch's. I dont know if android x86 is supported on bedrock linux but you could try.

4 Likes

I was just going to suggest Bedrock haha. Nice. I also used it briefly in the past, it was quite the adventure! However, things didnā€™t work as well as I liked (looking at desktop environments and Systemd services). Still, the concept is pretty phenomenal :slight_smile:

Systemd-nspawn is used here to isolate things. Think of it as chroot on steroids. Using the nspawn.org prebuilt images, its actually damn easy to run different Distros with Systemd as PID 1 (read: be able to run services just in a regular OS). You can even run nested nspawn containers iirc.

6 Likes

I used it to get in contact with the gentoo world and it was quite cool but mesa oomed my laptop during compilation so I uninstalled it, my next experiment was with deepin linux+arch apps but due to kwin bug it eat all my cpu. I would have tried to use a garuda + something but btrfs+grub is not supported and anyways garuda with chaotic aur does not need anything else xD

4 Likes

Does anybody mentioned Gentooooo?

creeps around the corner

Systemd-nspawn is used here to isolate things. Think of it as chroot on steroids.

Thatā€™s the best solution I can think of, if running a vm is OoO. I did that years ago with Gentoo. What a coincidence xD It was a ton of fiddling around and Android was kinda nicer (smaller and slimmer) back in the days ngl ^^.

But you can do a ton with those containers.

@virat_17 I like your curiosity keep it. Out of the box needs lead to out of the box tools.
I hope it will work for you in that case.

All the best,

Bruce :shark:

2 Likes

Dedication

Should I learn Directly linux from scratch stuffs or something like gentoo linux
I'm ready put some time on it and learn some things

Arch installation went wrong

Once I installed arch Linux on VM but stuck at chroot, I made some research but no success to chroot my arch on VM and downloading stuffs again and again quite annoying so I decided to install from gui like installation on real machine. I also read arch offline installation wiki. Finally I come to know that damn shell scripts make my life easier.

Finally stick with Garuda Linux

After arch installtion that I found Manjaro and Garuda based on Arch and the this is the story of mine
I liked Garuda more than Manjaro so I installed it on real hardware
But I still Install distroes on Virtual Machine

My first script

Arch installation thought me more things,
I was sick of some proprietary chemical drawing software, so I think to make some intractive script rather than just installing a software so that I could use it LaTeX and Libre office, My first shell script for drawing chemicals here anyone who want to draw chemical structure may use it
For drawing chemicals I used Jchempaint a lightweight drawing software and used to genarate smiles or *.smi files [a Java application]

This should not supposed to happen they are creepy enough

I hope linux should defeat this soon

Plasma Shells.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.