How to open 64-bit Ubuntu 32-bit support features

Source: Internet
Author: User

Https://linux.cn/article-2935-1.html

Most people who use Ubuntu/debian-based distributions are more inclined to choose a 64-bit system, right? This is because the 64-bit system can take full advantage of the full performance of your hardware, allowing you to use more complex software under more stressful memory resources, and is really fast to use, without having to wait for a little bit at a time. Now, 32-bit has only one advantage, that is, there are not too many compatibility problems. Every time a Java update is confusing, because most users can't get the library files they need. In the past, many other software and drivers did not have a 64-bit version.

So if you now have a 64-bit architecture system, and you can use the previous support: including the driver, the 64-bit version and any software you need. So it avoids all the problems, right? Now there's a way for you to use 32-bit software in a 64-bit system, okay? It's just after you read the article and then you do it. If you have a 13.10 or later version of Ubuntu/debian, you need to install a basic package called ia32-libs. Now, this package has been discarded, so you have to install it manually.

The following command can be run on a Ubuntu/debian 13.10 or higher release version.

Step One: Verify that you have a 64-bit architecture kernel

You can open the terminal and enter:

    1. Dpkg- -print-architecture

You will see something like this:

    1. Amd64

This means that you already have a 64-bit architecture kernel.

Step two: Confirm that you have the multi-schema support feature turned on

(Multi-schema support allows you to use a 32-bit library with 64-bit libraries.) )

Input:

    1. Dpkg- -print-foreign-architectures

The output is:

    1. I386

If you do not have multi-schema support you need to open it.

Another second step: Turn on multi-schema support.

Input:

    1. sudo dpkg --Add-architecture i386
    2. sudo apt -get update

It will then start downloading the updates and running.

After that you need to enter:

    1. sudo apt-get dist-upgrade

It checks to see if you have a newer version of the library file you already own.

If it does, it will ask if you need an update (y/n).

This way, you have successfully installed 32-bit support for your 64-bit system.

How to open 64-bit Ubuntu 32-bit support features

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.