Rohit Bajaj
asked on
How to make linux dowload dependencies mentioned in the requires tag in rpm spec
HI,
I have created an rpm spec file which has two require tags like :
But how can i make it automatically download or upgrade also ?
Thanks
I have created an rpm spec file which has two require tags like :
Requires: maven >= 3.0.5
Requires: java >= 1:1.8
Although if any of maven or java is of lesser version the installation fails.But how can i make it automatically download or upgrade also ?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
so yum will automatically look for the dependencies in its configured repositories and if it finds,
It will either update it or install it.
Also one more thing i want to know is , how to see what rpms are in the yum repositories so as to specify the correct name in the require fields.
It will either update it or install it.
Also one more thing i want to know is , how to see what rpms are in the yum repositories so as to specify the correct name in the require fields.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER