May 4th, 2012, 09:09 PM
I just started exploring Ubuntu in a couple of open source classes at Columbus State. We just were handed an interesting assignment for the week. We just started shell scripting, and the assigment is to write a script that will intruct your system to look for a specific application, like wine, or gimp, or whatever, check to see if it installed, install it if it isn't installed, or update it if it is installed and needs an update. I am planning to use apt-get for this, but I am not sure exactly how to structure the command. I would want to type something like ./update.bash gimp for example and have it search against only gimp at that time. Any ideas are appreciated.