I’m adjusting to life as an Ubuntu user. How I got to being an Ubuntu user again is an ugly story of a failed Windows 7 install, more on that another time. One of the things I struggle with when using Ubuntu, is should I use the cmd-line and apt-get to update/upgrade/install software on my systems or should I use the gui tool. I’ve settled on apt-get from the cmd-line and now am trying to gather some information on what does what.
I’ll be using this post as a dumping spot for all my apt-get notes/gotchas/howtos. You’ll see my notes on apt-get update and install. What isn’t really clear, is how I search through the repos and understand the version and compatibility info on a package, or how I *even* do that. I’ll go back and re-read the debian url I list below looking for that info and add it in the comments when I find it.
$ sudo apt-get update
### apt-get update will “check” all the repos I have setup in my sources.list to see if there is anything new. Most importantly running update is a must to move apt-get to reading a new, updated sources.list. Run update before upgrade.
$ sudo apt-get install app-name
## apt-get install app-name will install the latest version of app-name. If what is on my box is “current” nothing will be installed.
apt-get tutorial at debian site: