Sometimes when I install a package with pacman I cannot find the exec name because it’s not the same as the package, how can I find it?

|
Nekoill 2022-07-16 16:27:53
C0rn3j 2022-07-16 16:19:25
It does, just not marked as error but marked as info

Oh, didn’t think about that, thank you. I’ll go check it out

n_ne_en_n 2022-07-16 16:46:44
wachidadinugroho 2022-07-16 12:57:35
archlinux mostly doesn’t do split packages, so there is no reparated dev/devel packages
sudo pacman -S xorg libglvnd glu vulkan-icd-loader

Sorry for late response, but how do you know? Did you just guess?

C0rn3j 2022-07-16 16:51:55
n_ne_en_n 2022-07-16 16:46:44
Sorry for late response, but how do you know? Did you just guess?

pacman -Ss ‘\-dev$’

n_ne_en_n 2022-07-16 16:54:26
C0rn3j 2022-07-16 16:51:55
pacman -Ss ‘\-dev$’

I mean how did he know this, is the same package as this

C0rn3j 2022-07-16 16:56:13
n_ne_en_n 2022-07-16 16:54:26
I mean how did he know this, is the same package as this

You can check what files the packages provide in the other distro, and then ask pacman which package provides the file

n_ne_en_n 2022-07-16 16:58:23
C0rn3j 2022-07-16 16:56:13
You can check what files the packages provide in the other distro, and then ask pacman which package provides the file

Yes I was thought about that, but how I know when I’m not using that “other distro” (I think it’s debian)?

jonathn 2022-07-16 16:58:39
Debian has package lists too, packages.debian.org
n_ne_en_n 2022-07-16 16:59:22
jonathn 2022-07-16 16:58:39
Debian has package lists too, packages.debian.org

Ok, I’m going to check this

wachidadinugroho 2022-07-16 17:30:36
n_ne_en_n 2022-07-16 16:46:44
Sorry for late response, but how do you know? Did you just guess?

guessing and searching

you can check the usually development packages have *.pc (pkgconfig) file, package build with cmake have *.cmake
you do search it on your ubuntu (i just guessing), example
dpkg -L libgl-dev | grep .pc
then you know the it has gl.pc
but the problem is sometime the dev package save it in other dev package and bind then as dependency like libgl1-mesa-dev doesn’t have .pc file but it saved in libgl-dev (the dependency package) [filelist] and so on, so many dependency 😓

then search back it in archlinux
pacman -Fy gl.pc
then you get libglvnd package

use web based packages also could help
https://packages.ubuntu.com
https://archlinux.org/packages/
https://pkgs.org/
https://repology.org

n_ne_en_n 2022-07-16 17:44:14
wachidadinugroho 2022-07-16 17:30:36
guessing and searching

you can check the usually development packages have *.pc (pkgconfig) file, package build with cmake have *.cmake
you do search it on your ubuntu (i just guessing), example
dpkg -L libgl-dev | grep .pc
then you know the it has gl.pc
but the problem is sometime the dev package save it in other dev package and bind then as dependency like libgl1-mesa-dev doesn’t have .pc file but it saved in libgl-dev (the dependency package) [filelist] and so on, so many dependency 😓

then search back it in archlinux
pacman -Fy gl.pc
then you get libglvnd package

use web based packages also could help
https://packages.ubuntu.com
https://archlinux.org/packages/
https://pkgs.org/
https://repology.org

archlinuxgroup-599721.jpg
Ok I do that, but not sure for other package who don’t have output

n_ne_en_n 2022-07-16 17:44:46
Filelist:
https://packages.debian.org/bullseye/all/xorg-dev/filelist
https://packages.debian.org/bullseye/amd64/libgl1-mesa-dev/filelist
https://packages.debian.org/bullseye/amd64/libglu1-mesa-dev/filelist
https://packages.debian.org/bullseye/amd64/libvulkan-dev/filelist
n_ne_en_n 2022-07-16 17:46:47
Can I PM you @wachidadinugroho
wachidadinugroho 2022-07-16 17:50:36
n_ne_en_n 2022-07-16 17:44:14
Ok I do that, but not sure for other package who don’t have output

you should check the dependency packages too, like i’ve said before

https://packages.debian.org/bullseye/all/xorg-dev
you can see here xorg-dev depend on others -dev packages

wachidadinugroho 2022-07-16 17:51:41
n_ne_en_n 2022-07-16 17:46:47
Can I PM you @wachidadinugroho

up to you

dieaaal 2022-07-16 20:00:42
I’ve noticed that many programs create dotfiles in my home directory rather than in .config. How do I get rid of them without breaking programs’ configs?
jonathn 2022-07-16 20:01:31
You can’t remove them and keep them working at the same time.
dieaaal 2022-07-16 20:06:29
they’re so ugly c.c
il_muflone 2022-07-16 20:10:32
each program does whatever wants
Uterine Prolapse 2022-07-16 20:24:53
dieaaal 2022-07-16 20:00:42
I’ve noticed that many programs create dotfiles in my home directory rather than in .config. How do I get rid of them without breaking programs’ configs?

I concur with ur opinion

metalsz 2022-07-16 20:30:33
archlinuxgroup-599748.jpg

metalsz 2022-07-16 20:30:51
how can i hide polybar when fullscreen video ?
SussyTux 2022-07-16 21:18:51
metalsz 2022-07-16 20:30:33

THE WALLPAPER

unboundvariable 2022-07-16 21:26:36
imagine that tee
dieaaal 2022-07-16 21:42:29
Sometimes when I install a package with pacman I cannot find the exec name because it’s not the same as the package, how can I find it?
n_ne_en_n 2022-07-16 21:46:29
dieaaal 2022-07-16 21:42:29
Sometimes when I install a package with pacman I cannot find the exec name because it’s not the same as the package, how can I find it?

Run in terminal:
pacman -Ql <package-name> | grep /usr/bin

dieaaal 2022-07-16 21:47:45
n_ne_en_n 2022-07-16 21:46:29
Run in terminal:
pacman -Ql <package-name> | grep /usr/bin

thanks

MasterDevX 2022-07-16 21:51:09
MasterDevX 2022-07-16 10:03:40
Fixed it!
Need to go for now, will write a big summary after few hours, maybe it will be useful for someone

Well, this is how I got it working.

1. Assuming that Wine tries to load NVidia libraries by mistake while running on Intel GPU, I’ve ran Wine with LD_DEBUG=all set to trace library loading and got some really detailed logs.

2. Used grep nvidia to see only lines that can be interesting for me and the first message I got was:
file=libGLX_nvidia.so.0 [0]; dynamically loaded by /usr/lib/libvulkan.so.1 [0]
So this is where the root grows from.

3. Using pacman -F /usr/lib/libvulkan.so.1 I’ve found out that this library is a part of the vulkan-icd-loader package. Some googling showed me that Vulkan loader has it’s driver manifests stored in /usr/share/vulkan/icd.d/ and can be forced to load by using VK_ICD_FILENAMES environment variable. I’ve checked the manifest directory and saw there is only a file for NVidia GPU, but the one for Intel was missing.

4. After some more googling I’ve found out that package vulkan-intel contains the file I needed, so I installed it.

5. After trying to run Wine once againg with VK_ICD_FILENAMES set and realising it finally works on both GPUs I’ve appended the following to my ~/.bashrc that allows automatic configuration of Vulkan loader:
if optimus-manager –print-mode | grep -q nvidia; then
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
else
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json
fi

So now Wine and OpenGL are working on any GPU like a charm and the right drivers are used.

With WINEDEBUG= wgl set, I get this when running on NVidia:
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.6.0 NVIDIA 515.57.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : NVIDIA GeForce MX110/PCIe/SSE2.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : NVIDIA Corporation.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : NVIDIA Corporation.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

And this, when running on Intel:
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.6 (Compatibility Profile) Mesa 22.1.3.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Mesa Intel(R) HD Graphics 610 (KBL GT1).
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

I hope this spam will be useful for someone 🙂

Jay 2022-07-16 22:04:58
I just installed win10 on a laptop that had arch. Coming back to a fresh install of win it’s insane how much bloating there is.

(Btw I’m selling the laptop that’s why I changed os).

I got a new spare laptop with slightly better components and significantly more ports that will be used for experimenting and learning arch.

RichardMuvirimi 2022-07-16 22:05:33
Jay 2022-07-16 22:04:58
I just installed win10 on a laptop that had arch. Coming back to a fresh install of win it’s insane how much bloating there is.

(Btw I’m selling the laptop that’s why I changed os).

I got a new spare laptop with slightly better components and significantly more ports that will be used for experimenting and learning arch.

candy crush saga and food making games

Jay 2022-07-16 22:06:27
Don’t forget eternet explorer or whatever the fuck it’s called
RichardMuvirimi 2022-07-16 22:07:53
Jay 2022-07-16 22:06:27
Don’t forget eternet explorer or whatever the fuck it’s called

always trying to sell it self, hey checkout we have improved this and that. much like initial samsung android phones

RichardMuvirimi 2022-07-16 22:08:36
pretty much made lineage os popular (don’t recall what it was called back then)
RichardMuvirimi 2022-07-16 22:09:36
Jay 2022-07-16 22:04:58
I just installed win10 on a laptop that had arch. Coming back to a fresh install of win it’s insane how much bloating there is.

(Btw I’m selling the laptop that’s why I changed os).

I got a new spare laptop with slightly better components and significantly more ports that will be used for experimenting and learning arch.

though you can remove it through terminal, as well as onedrive

Neo Twenty-Nine 2022-07-16 22:12:22
MasterDevX 2022-07-16 21:51:09
Well, this is how I got it working.

1. Assuming that Wine tries to load NVidia libraries by mistake while running on Intel GPU, I’ve ran Wine with LD_DEBUG=all set to trace library loading and got some really detailed logs.

2. Used grep nvidia to see only lines that can be interesting for me and the first message I got was:
file=libGLX_nvidia.so.0 [0]; dynamically loaded by /usr/lib/libvulkan.so.1 [0]
So this is where the root grows from.

3. Using pacman -F /usr/lib/libvulkan.so.1 I’ve found out that this library is a part of the vulkan-icd-loader package. Some googling showed me that Vulkan loader has it’s driver manifests stored in /usr/share/vulkan/icd.d/ and can be forced to load by using VK_ICD_FILENAMES environment variable. I’ve checked the manifest directory and saw there is only a file for NVidia GPU, but the one for Intel was missing.

4. After some more googling I’ve found out that package vulkan-intel contains the file I needed, so I installed it.

5. After trying to run Wine once againg with VK_ICD_FILENAMES set and realising it finally works on both GPUs I’ve appended the following to my ~/.bashrc that allows automatic configuration of Vulkan loader:
if optimus-manager –print-mode | grep -q nvidia; then
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json
else
export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/intel_icd.x86_64.json
fi

So now Wine and OpenGL are working on any GPU like a charm and the right drivers are used.

With WINEDEBUG= wgl set, I get this when running on NVidia:
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.6.0 NVIDIA 515.57.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : NVIDIA GeForce MX110/PCIe/SSE2.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : NVIDIA Corporation.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : NVIDIA Corporation.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

And this, when running on Intel:
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL version : 4.6 (Compatibility Profile) Mesa 22.1.3.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GL renderer : Mesa Intel(R) HD Graphics 610 (KBL GT1).
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Server GLX vendor: : SGI.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX version : 1.4.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Client GLX vendor: : Mesa Project and SGI.
02ac:trace:wgl:X11DRV_WineGL_InitOpenglInfo Direct rendering enabled: True

I hope this spam will be useful for someone 🙂

Good work.

pe262144 2022-07-16 23:52:31
archlinuxgroup-599772.jpg
Hello everyone
I was trying to change bash to zsh in konsole
Everything seems fine , but it doesn’t seem to work at all . Any ideas?
Thank you
|