I am presently working in a s/w company in Bangalore. I am invovled in a project that installs s/w evaluation products on user's system. So we need a software program (coded in C++,java, ruby) that would run in linux platform and determine whether previous versions of a s/w product are already installed. Can anyone help me with this?
Sutanu Majumdar
Hi,
--- Sutanu Majumdar mithras31@rediffmail.com wrote:
So we need a software program (coded in C++,java, ruby) that would run in linux platform and determine whether previous versions of a s/w product are already installed. Can anyone help me with this?
A GNU/Linux distribution has its own package management system. Many distros can use the same pacakge management system. The pacakge management tool provided by the distro tells you about installed software. So, it would be easier for you to identify the distro, http://www.chennailug.org/wiki/Find_your_distro, and then use the utility it provides to check for software.
SK
-- Shakthi Kannan, MS Software Engineer, Specsoft (Hexaware Technologies) [E]: shakthimaan@yahoo.com [M]: (91) 98407-87007 [W]: http://www.shakthimaan.com [L]: Chennai, India
__________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com
On Monday 05 December 2005 17:13, Sutanu Majumdar wrote:
I am presently working in a s/w company in Bangalore. I am invovled in a project that installs s/w evaluation products on user's system. So we need a software program (coded in C++,java, ruby) that would run in linux platform and determine whether previous versions of a s/w product are already installed. Can anyone help me with this?
What u need is a package manager. Almost every distro has a package manager (apt, rpm, portage etc). Create a package for your product and install it using the package manager. Then using the package manager u can query various details about your package. No need to reinvent wheels.
rgds jtd