Add/Remove Software?

That can’t be right. YAY is just a wrapper for pacman. Are you sure that you’ve removed pacman, and why would you do that?

That mystery was answered in post #33

2 Likes

It doesn’t seem to have been answered in #33, but it’s nothing to lose any sleep over!

The answer was that pacman was still installed.

One question what happens if we don’t have the headers?

Then you are headless :smiley:

2 Likes

https://wiki.gentoo.org/wiki/Linux-headers

2 Likes

Headers are needed for compiling stuff, e.g. dkms related packages.

We have noticed that e.g. Nvidia drivers often work more reliably when compiled locally. That’s why we recommend nvidia-dkms package over plain nvidia.

1 Like

hello, driver nvidia 390xx is better in dkms or not, as it is on aur

Ah, so like the headers basically have instructions on how dkms related package (such as Nvidia drivers-dksm) are compiled?

No, it’s the other way around, dkms packages are “Linux kernel version blind” so to say. Those packages work with the mainstream kernel, LTS, zen and hardened.
To be able to work, you need to install Linux-headers for dkms packages.

On an another note, I appreciate your curiousity, but could you open new threads for each issue and not post them in one thread. Also keep your fellow members informed if a solution worked or not.

This distro is all about learning and with learning comes also taking risks. If you back up regularly or install Timeshift, you have nothing to worry about, just try things out.

Also, keep in mind that nobody gets paid to help out on the forum, so limit your questions.

This will keep the atmosphere on the forum friendly :wink: :heart:

4 Likes

Back to my original question, I had to reinstall Endeavouros KDE on my system. I installed add/remove program, Dropbox, mintstick, zulucrypt via yay. I have not enabled the AUR, because I had no use for it. Those programs show up under the "foreign"category.

Question:
Do they still get updated even though the AUR is disabled? Also there are 6 programs under the “Orphans” category. I did not dare to delete them, but do you really need them or cause any problem if you delete them?

Hello @fhins
What do you mean you installed add remove programs? Do you mean you installed Pamac but you didn’t enable updating form the AUR in preferences?

Are you also talking about Orphans listed in Pamac?

Yes, Orphans can be removed. They are usually packages used to create other packages that get installed using make.

Edit: Packages get updated even if you have not enabled to update from the AUR.

But you are installing from the AUR via yay so you must have a use for it.

Not via Add/Remove software. If you disable AUR support, you will need to use a different tool up such as yay to update them.

That being said, I don’t see much value in using both yay and pamac(Add/Remove Software) to do your updates. They both do the same thing for the most part.

Orphans are things that were installed as dependencies or build dependencies but are not longer needed. It is usually safe to remove them. Of course, if they are build dependencies, they will just get reinstalled next time you update those AUR packages.

I recommend cleaning up orphans occasionally but not obsessing over it.

What I meant was I installed Add/Remove Software by “yay -Syu pamac-gtk”, as we talked earlier in the thread. I didn’t enabled the AUR in preferences when you launch the Add/Remove Software program.

Yes, I understand what you are saying, but you also said:

This means you installed those programs from the AUR so you do have some AUR programs installed. Since you have disabled AUR support in Add/Remove Software but you have AUR programs installed, those will not get updated.

Which leads to my next questions. Why are you installing AUR programs but not enabling AUR support in Add/Remove Software? Is there a reason?

No, I thought it will get updated automatically since the source is AUR. So I should enable it, correct?

If you want to use Add/Remove Software, and you have packages installed from the AUR, then I would recommend enabling it.

1 Like

@dalto
But if he uses yay then they would get updated because it installs AUR packages and it would also update them wouldn’t it? I think having Pamac for some users is that they can see packages visually and i understand that because if you don’t know the exact name either yay won’t find it if you are installing them.

It depends what you mean by “it” in this case. Certainly, yay will update the AUR packages if you are using yay for updates.

But if you are only using yay to install packages and you are using pamac for updates and have AUR support disabled then you AUR packages will never get updated.

This is probably off-topic but yay is actually pretty good at this too. If you just type yay searchterms you will get the results in a menu and you can select the ones you wish to install much in the same way you could in a graphical package manager.

That being said, I don’t really think it matters all that much which package manager people choose and everyone has their own preferences.

1 Like