I have packages installed from official repositories, AUR and flatpaks. Can the experts here recommend a way to first create a list of all my manually installed packages only and then install them automatically (from an input file or script?) with every new Endeavour OS installation? What is the simplest and most efficient way of doing this?
Installing repo packages automatically is a fine practice that can save you a lot of time.
So, if you saved the list of explicitly installed packages from the repos like this:
pacman -Qqne > pkglist.txt
you can easily install them like this:
sudo pacman -S --needed - < pkglist.txt
You can save a list of explicitly installed foreign packages (which are typically from the AUR) like this:
pacman -Qqme > pkglist-foreign.txt
But you should never automate the installation of AUR packages, you should always go manually through the list and install them one by one, so that you can check the PKGBUILD file and ensure everything is in order. In order to benefit from the AUR’s transparency, and to ensure the packages’ trustworthiness, the user’s input is, unfortunately, necessary.
then you can script archinstall to install a profile you create, then it will install the same things every time. You could likely extend this to the EnOS installer and create an offline installer image that installs your own specific custom spin.
Neither of these are simple, but they are highly effective.
N ot quite sure what the point of this statement is - these AUR packages have already been checked (hopefully) before being installed in t\he first place - the list is generated from existing pkgs, not a wish list. Any OTHER circumstance, such as getting them in the first place, they need to be checked out as much as you can manage…
Not too sure that ‘grown old’ equates to the same thing you reference(!) but I’ll let it go at that! Most of the AUR entries I use would be difficult to compromise (and likely not worth, due to low uptake) in my opinion, being most theme related or a theme-changed music player, a theme changing NOCSD lib, or fonts. In fact, here’s the current list for giggles…
There are oddities in there, but, I thought, nothing of much common usage to bother compromising. Anyway - I am sure that browsers and such are more likely targets for the enemies of green life everywhere!
Very OT, but I see you have this Brother installed?
Does it work normal?
I have the DCP-135C, AIO, usb-connected printer, but it stopped printing a couple of weeks ago. (I have a topic concerning this issue)
Like I said, if you think that is safe (and in your particular case, I would tend to agree), I won’t treat you like a child and tell you to do it differently. It’s your own responsibility, if you mess up, you’ll suffer the consequences.
In general, automating the installation of the AUR packages is a stupid thing to do. That’s why I generally recommend against it. But in specific cases, when you are sure that what you’re doing is fine, then it’s fine.
If you are unsure (and you don’t seem unsure), my recommendation is to do it manually.
Only slightly OT - and yes, it is a USB connected printer that works perfectly - once I got it to work at all. It didn’t get picked up by the GUI aided apps, but once I tried to install it with a ‘close relative’ driver, on the last step the correct driver suddenly showed up and all went well from there.
I’ll try to have a look at your post to see if anything shows up for me
Often have - partly because I’m not sure how best to automate (of I’m going to!). Not like the nifty command I use for the main repo lists - provided by you! I guess I could yay it, or I could do them scripted but separately or… but anyway - just wanted to make the point that it isn’t ALWAYS a stupid thing, just usually!