Subscribe to How-To Geek

See What Updated Packages Are Available from Ubuntu Command Line

If you are running Ubuntu Server, or even if you prefer to administer your desktop from the command line, you will want to be able to see what packages are available for update. Ubuntu includes a great package management tool called Aptitude that gives you an interactive environment from which to install/upgrade packages.

Launch the aptitude tool from the terminal using the following command. Note that you can view the package updates without sudo, but you usually can’t install them unless you do.

sudo aptitude

This will bring you to the console mode application window:

 To navigate down through the menus, use the Enter key. To go back up through the menus, use Q

We’re going to check what upgradable packages are available by going down through that menu:

It looks like there’s a new version of gnupg. I don’t really care about updating that utility, but we’ll go through it anyway. To select the new version for installation, hit the + key to select it, and then hit G to install. You will be taken to this confirmation screen, showing you what will be installed.

Note that in the Packages to be upgraded section, there are two packages that I had selected. Hit the G key again to install the packages. Use Q to quit, and you are all done! 

The Geek is the founder of How-To Geek and a geek enthusiast. This article was written on 12/16/06 and tagged with: Adding Software, Ubuntu, Ubuntu Tips & Tweaks

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:
Similar Articles Featured Wiki Articles
Latest Software Reviews Quick Linux Tips
Geek Arcade Popular Forum Threads

Comments (1)

  1. x1101

    Thanks, this helped a lot


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Sponsored Links
Getting Started
About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
Cmd.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.