You are not logged in.
I'm wondering if it's possible to install dependencies of package but without package itself.
I have built opencv locally to have CUDA enabled. Now I'm trying to use CUDA in my program but noticed video won't load because I'm missing some dependencies (I guess ffmpeg but there will probably be more). So I thought maybe I will install official cuda package to get dependencies - but this will probably mess up where is my program looking for CUDA libs...
Last edited by Gregosky (2020-02-26 07:50:42)
Offline
view : pacman -Sh
LTS - Fish - Kde - intel M100 - 16Go RAM - ssd
Offline
view : pacman -Sh
Very helpful, yes I checked help and I looked at google. I know I can list dependencies and install them individually, but I was hoping to achieve this without writing bash script.
So if you are trying to say "not possible" then thank you.
Offline
You could install the package and then remove it non-recursively, but your entire approach is a recipe for disaster.
Build an opencv package that list the proper deps or just use https://aur.archlinux.org/packages/opencv-cuda/
Offline
Oh, opencv-cuda sounds like something I should have been looking for in the first place, thanks @seth!
Offline
papajoke wrote:view : pacman -Sh
Very helpful, yes I checked help and I looked at google. I know I can list dependencies and install them individually, but I was hoping to achieve this without writing bash script.
So if you are trying to say "not possible" then thank you.
I don not understand why you are insinuating that this requites "writing bash script".
It is ONE LINE, and you can manually copy-paste it after "sudo pacman -S". It takes 2 seconds.
I would also like to know how you successfully compiled opencv's ffmpeg support without ffmpeg installed, since runtime library dependencies are almost inevitably also build-time dependencies.
Managing AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline