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...
dpkgitself is always considered to be the native one.) – Celada Dec 17 '16 at 13:03apt-get installwon't magically decide to replaceamd64packages withi386ones. 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 downloadanddpkg -iare 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 recommendaptitudeinstead since that allows the user to try various approaches to resolving issues (with its interactive mode). – Stephen Kitt Dec 17 '16 at 14:43teamvieweris very easy to install withapt-get install; all that's needed is to realise thatlibjpeg62-turbo:i386provideslibjpeg62:i386and should be installed instead (unfortunatelyapt-getdoesn't do that on its own...). I stand by what I said, it's better to figure out whyapt-get installis 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