Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Does anyone know why this command isn't working for me,

sudo dpkg -install webmin_1.620_all.deb

it says,

dpkg: error: unknown option - n

I am following directions on this website:

I am running ubuntu server 12.04 32bit with ssh and lamp installed.

share|improve this question
up vote 3 down vote accepted

dpkg has no -install, the correct command is dpkg -i or dpkg --install. The error means that the command is fine up to the -i in -install, but the next letter n is not a valid option. Use dpkg --help to get a list of commands you can use with dpkg.

share|improve this answer
Ok I will try that thank you. – Skateguy Oct 21 '13 at 6:46
It was the --install option that worked. When I did dpkg --help it listed more options than could fit on my screen and I'm not sure how to scroll through the results. – Skateguy Oct 21 '13 at 7:01
I'm not sure that should be the case, for me it returns like forty or fifty lines, but anyway, go to Edit>Profile Preferences>Scrolling ans set scrollback to unlimited. – arsaKasra Oct 21 '13 at 8:10

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.