Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I normally update my Linux Debian using the Update manager, but how can I do that using the terminal?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

On Debian and most Debian-based distributions (including Ubuntu):

  1. Refresh the package database: apt-get update or aptitude update

  2. Install new packages: apt-get upgrade or apt-get dist-upgrade or aptitude safe-upgrade.

(See also: apt-get vs aptitude)

share|improve this answer
    
And when do I know that a system restart is required after upgrading (let's say because of a kernel upgrade) –  karatedog Aug 6 '13 at 13:31

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.