I am currently running a 64bit Debian based Kali Linux distro if I add i386 architecture by:
dpkg --add-architecture i386
Will it not mess up my current 64bit OS?
I am currently running a 64bit Debian based Kali Linux distro if I add i386 architecture by:
dpkg --add-architecture i386
Will it not mess up my current 64bit OS?
Generally, it is safe. It may mess things up if you try to install packages with apt-get install, since apt-get can suggest you to remove a majority of amd64 packages in order to be replaced by i368 packages. The solution is to download packages with apt-get download pkgname
and then install it using dpkg -i pkgname.deb
. You may need to repeat this for the dependencies of the package you want to install. Depending on the system this can be done even with Synaptics.
Depending on what package you try to install, apt-get could recommend removing a huge amount of amd64 libs/pkgss/gcc etc. But this will not be done automatically. You will be asked first, so one has to be very careful where he press "Yes" on apt-get prompts...
dpkg
itself is always considered to be the native one.) – Celada Dec 17 '16 at 13:03apt-get install
won't magically decide to replaceamd64
packages withi386
ones. You just need to pay attention to what it's asking about when it requests confirmation, as always... – Stephen Kitt Dec 17 '16 at 14:00apt-get install
, pay attention to the prompts, and try to figure out what's wrong when it decides it should remove a bunch of packages. Inexperienced users who try to useapt-get download
anddpkg -i
are liable to get themselves into a pickle too, so I don't think it's a good idea to recommend that instead ofapt-get install
. If anything, I'd recommendaptitude
instead since that allows the user to try various approaches to resolving issues (with its interactive mode). – Stephen Kitt Dec 17 '16 at 14:43teamviewer
is very easy to install withapt-get install
; all that's needed is to realise thatlibjpeg62-turbo:i386
provideslibjpeg62:i386
and should be installed instead (unfortunatelyapt-get
doesn't do that on its own...). I stand by what I said, it's better to figure out whyapt-get install
is complaining that to work around it. We get enough questions about broken dependencies on Debian-based systems here as it is... – Stephen Kitt Dec 17 '16 at 17:40