You are not logged in.
I have a general question about optional dependencies. Take for example python2. Many packages use it as normal or optional dependency. Suppose I uninstall a package together with its dependency python2. How will i know when/if other packages need python2 as an optional dependency? That is, if they malfunction, how do I link this to python2?
Last edited by tethys (2019-10-30 16:44:52)
Offline
How will i know when/if other packages need python2 as an optional dependency?
$ pacman -Qi python2Check the "Optional For" line.
That is, if they malfunction, how do I link this to python2?
The general rule of thumb is to use a search engine to check the errors you get, but in this case if something requires python2 but it's not present, you're likely to get the error "python2: command not found", or "/usr/bin/python2: bad interpreter: No such file or directory", which should be self-explanatory.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thank you for your reply WorMzy. I know the command "pacman -Qi" but the question was meant at run time - which you explain in the second part.
Offline