i need to find if the system has the latest version of a particular package and install if it dosent. how do i compare the versions?
assume that i use rpm to find the installed version and a separate file has info of the required(latest) version.
how do i do it ?
ripper
0
Newbie Poster
Recommended Answers
Jump to PostWhat program are you tryin to update the revision for?
Jump to PostIt depends, on Linux play around for a while with rpm -qa, on Solaris play around with pkginfo, on AIX, HP, and SCO (as well as the FreeBSD/NetBSD deriviates) I can't really help you. I don't remember there software management commands.
But as you can see, it depends on …
All 5 Replies
Joshua Gourgues
1
Light Poster
ripper
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
ajcamp
0
Newbie Poster
ajcamp
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.