Skip to main content
Topic: How to install X11Libre and uninstall Xorg? (Read 14778 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

How to install X11Libre and uninstall Xorg?

Hello everyone.
I accidentally found out that Artix has X11libre and I was very happy)) :D
https://x11libre.net/#about
https://gitea.artixlinux.org/packages/xlibre-xf86-video-intel
https://github.com/X11Libre/xserver
Please tell me if there is an article in the wiki how to safely remove Xorg and install Xlibre? Also I wanted to understand what is the difference in terms of using every day? I've read that Xlibre is cleaner code, etc.


Re: How to install X11Libre and uninstall Xorg?

Reply #2
I installed the xlibre packages I needed on three different PCs (Intel Graphics and AMD GPU).

Pacman simply asked me to uninstall the corresponding xorg packages.

Here's the list of available xlibre packages and those installed on an Acer (Intel Graphics) laptop:
Spoiler (click to show/hide)


Some Xorg packages are still required:
Spoiler (click to show/hide)

Re: How to install X11Libre and uninstall Xorg?

Reply #3
Thank you for your answers.
I have seen this page https://wiki.artixlinux.org/Site/XlibreOnArtix , but it does not answer my question.
I see two useful commands: how to find out the version of Xorg and how to find out List the installed X packages.

Code: [Select]
 $ sudo Xorg -version

$ pacman -Q | grep 'xlibre-xserver\|xorg-server\|xf86-'

What is the algorithm of actions and commands? I have to install Xlibre first and then uninstall Xorg or vice versa etc.

Re: How to install X11Libre and uninstall Xorg?

Reply #4

What is the algorithm of actions and commands? I have to install Xlibre first and then uninstall Xorg or vice versa etc.

As @tintin said in the previous post, when  you install whatever packages you require (and if you're not sure then list the xorg packages you already have and find the corresponding Xlibre packages, then install them, either altogether or one by one. Pacman should notify you of the "Xlibre / Xorg" conflict and give you the option to keep the Xorg package(s) or replace them with your selected Xlibre ones?

This is also what i have done on 3 different machines now and they're all working perfectly.

Re: How to install X11Libre and uninstall Xorg?

Reply #5

What is the algorithm of actions and commands? I have to install Xlibre first and then uninstall Xorg or vice versa etc.

As @tintin said in the previous post, when  you install whatever packages you require (and if you're not sure then list the xorg packages you already have and find the corresponding Xlibre packages, then install them, either altogether or one by one. Pacman should notify you of the "Xlibre / Xorg" conflict and give you the option to keep the Xorg package(s) or replace them with your selected Xlibre ones?

This is also what i have done on 3 different machines now and they're all working perfectly.


Thank you very much for your answer. If I understand you correctly. I'll execute these commands:

Code: [Select]
$ sudo pacman -S xlibre  # select 2  xlibre-xserver 

$ sudo pacman -S xlibre-xf86-video-intel

 And this will be enough for me to automatically uninstall Xorg packages and install Xlibre?



and the second question, what is the advantage of Xlibre over Xorg for the user if I use Xlibre instead of Xorg?









Re: How to install X11Libre and uninstall Xorg?

Reply #6

Thank you very much for your answer. If I understand you correctly. I'll execute these commands:

Code: [Select]
$ sudo pacman -S xlibre  # select 2  xlibre-xserver 

$ sudo pacman -S xlibre-xf86-video-intel

 And this will be enough for me to automatically uninstall Xorg packages and install Xlibre?

If those are the two packages that you require then yes, that should work. Pacman should see the conflict and ask if you want to remove the original xorg package(s) and install the xlibre ones, or not. Be aware that for full X functionality you may need a few more packages also, but only you can know that and if you follow the same procedure with each package then all should be OK.

I did mine all at the same time, in bulk, and just replaced a whole bunch of xorg packages with the xlibre versions.

Quote
and the second question, what is the advantage of Xlibre over Xorg for the user if I use Xlibre instead of Xorg?

I'm no expert here and I'm sure there are many others here that could give you a much better explanation... But in short, xorg is deprecated and hasn't been maintained properly for quite some time. Xlibre however, is a fork that is actively being improved with many enhancements and bug fixes etc, that could have (should have) been applied to the development of Xorg over the past few years, but wasn't.

Try it out for a while, see how you get on with it. Xlibre is improving rapidly and is getting better all the time. Hope that helps a little. :)

Re: How to install X11Libre and uninstall Xorg?

Reply #7
I used:
Code: [Select]
sudo pacman -Sy xlibre{,-drivers}
Better to have it and don't need, than vice versa. ;)



Re: How to install X11Libre and uninstall Xorg?

Reply #10
Thank you very much for your help.
Thanks for the thread. Without you I would still not know Xlibre. :)

Some more Infos:

https://www.phoronix.com/news/XLibre-25.0-Released


and thank you)
 I tried to install, it went well, but I would improve your command a bit to not answer "yes" many times during installation, something like:

Code: [Select]
$ sudo  pacman -Sy xlibre{,-drivers}  --noconfirm 



Re: How to install X11Libre and uninstall Xorg?

Reply #11
Thanks for the feedback.

Unfortunately --noconfirm only works for installing packages, not for replacing them as pacman's default answer then is 'No'.
Afaik there's no supported way to accomplish this.

artist

Re: How to install X11Libre and uninstall Xorg?

Reply #12
but I would improve your command a bit to not answer "yes" many times during installation, something like:
That was my first thought too, but noconfirm didn't works for that.

Re: How to install X11Libre and uninstall Xorg?

Reply #13
@tom-a:

Here is the "no risk, no fun" Method: ;)
Code: [Select]
pacman -Qsq xf86 | sudo pacman -Rndd --noconfirm - && pacman -Qsq xorg-server | sudo pacman -Rndd --noconfirm - && sudo pacman -S --noconfirm xlibre{,-drivers}
On my Artix-Xfce-Runit it works flawless

Just restore the last Backup with xorg and try it out.