Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Based on

The way to upgrade packages is to:

sudo apt-get update
sudo apt-get upgrade

However, I simply just want to upgrade one software for example ipython-notebook. I have used the following command to install this package:

sudo apt-get update
sudo apt-get install ipython-notebook

How do I just upgrade one package (e.g., ipython-notebook)?

share|improve this question
Install as with other answers or the upgrade-only option:… – Dave C Mar 11 '13 at 17:01
up vote 6 down vote accepted

Simply invoke:

sudo apt-get install ipython-notebook

If the package is already installed in an older version, it is updated.


  1. To reinstall an already installed package you can also invoke:

    sudo apt-get install --reinstall PackageName
  2. Most likely you want to refer to the current server guide:

Additional question: "Does this reset config files?"

  • If you reconfigured a debconf configured configuration file by hand - your changes may be overwritten.
  • If you changed a "manual" maintained configuration file, it shouldn`t be touched by the update

Maybe you have also a look at How to check for modified config files on a Debian system?

share|improve this answer
Does that reset config files and the like? – Kruug Mar 11 '13 at 16:56
@Kruug see updated answer – user86064 Mar 11 '13 at 17:04

Re-run sudo apt-get install ipython-notebook. Apt will check to see if the package is installed before calling the install, it will see that the package is installed, and upgrade if necessary.

share|improve this answer

Your Answer


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.