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

I don't want to install any i386 package. Is there any way to disable functionality?

share|improve this question

12.10 and later

dpkg --remove-architecture i386

to get rid of multiarch on an amd64 installation. in case you will have message, like:

dpkg: error: cannot remove architecture 'i386' currently in use by the database

you should remove all i386 packages before:

dpkg -l | grep i386
share|improve this answer
With the regex feature of apt-get, you can apt-get remove .*:i386 – JB. Jul 29 '13 at 8:15
or: sudo aptitude purge '~i ~ri386' – Matthias P. Apr 15 '14 at 15:53

11.10 & 12.04

Multiarch support is enabled by the file /etc/dpkg/dpkg.cfg.d/multiarch

If you rename this file and run an update in a terminal you will notice that the i386 repo's are no longer visible.


sudo mv /etc/dpkg/dpkg.cfg.d/multiarch /etc/dpkg/dpkg.cfg.d/multiarch.backup
share|improve this answer

First of all, remove all i386-packages like so:

sudo apt-get remove --purge `dpkg --get-selections | grep i386 | awk '{print $1}'`

Please note: Skype, Steam, teamviewer etc. might be purged as well.

Then proceed with fossfreedoms advices.

share|improve this answer

Based on both Ben's answer and user41220's answer I did the following:

sudo apt-get remove --purge `dpkg --get-selections | grep i386 | awk '{print $1}'`


sudo dpkg --remove-architecture i386

and that worked just fine for me.

share|improve this answer
I see no additional information than existing answers. – Patrick Jan 23 '14 at 17:38

Your Answer


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