Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

What do these command do?

sudo apt-get install linux-image-generic-lts-backport-natty \

Does it install just a new Linux version or something more?

And what about:

sudo apt-get purge linux-image-generic-lts-backport-natty \

Does it just remove the packages installed by the previous command? (or does it more?)

If I am correct in all cases why it doesn't work? I get an error, so it means it's not true and something else had happened?

as it was said that second command doesn't remove it, then would this command remove it? aptitude autoremove

share|improve this question
up vote 2 down vote accepted

The sudo command is allowing you to run the apt-get command with admin privileges.
The apt-get command is installing (first example) or removing (second example) software packages. "Purge" simply means configuration files are deleted too.
For explanations of the various packages, you can check here

share|improve this answer
it didn't remove and i got error while running it – Templar Dec 22 '11 at 18:05

Yes, that is what it does. Technically it does not install Linux, it installs the Linux kernel. But it only works if you're running Ubuntu 11.04 Natty Narwhal.

sudo gives you superuser privileges (required for administrative tasks such as installing software). apt-get is a package manager that is used to install and uninstall packages. Then 'install' and 'purge' are the options that you give the package manager, and what follows is a list of packages.

The kernel is a required component and necessary for the system to operate. Occasionally there are updates for it, and the package manager will update it if there is a later version available. Run update-manager to update your system including the kernel.

share|improve this answer
i had number 32 but user said to install this one and it will fix previous problems, but in new version drivers don't work – Templar Dec 22 '11 at 17:43
also i went to 32 when running this command, is it ok? or i should have run it on new one? i still see it in GNU loader – Templar Dec 22 '11 at 17:44
I have removed it through Synaptic Package Manager and error is gone but when computer boot ups I still can choose 2.6.38 kernel in GNU loader, how I can remove it from there? – Templar Dec 23 '11 at 20:44

Your Answer


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