How to choose the right Linux system for desktop program development?

Source: Internet
Author: User

or 64?
    • As is known to all, 64-bit Windows systems can run almost flawlessly 32-bit applications, and Microsoft has made such a compatibility layer for business reasons. Linux systems are clearly divided, and by default 64-bit Linux systems cannot run 32-bit applications. But Linux is also a highly customizable system that allows 64-bit systems to run 32-bit applications by installing libraries or other configuration methods.

    • The reality is that most of the applications developed for Linux systems are available in two versions, 32-bit and 64-bit.

    • You can choose to develop programs (two code) for both 32-bit and 64-bit systems, or you can choose to develop a code that is compatible with 32-bit and 64-bit systems. If you only maintain one copy of the code, you only need to select One system (32-bit or 64-bit) as a development -time system, and select Two systems as a compile -time system (the development system counts one, If the development is 32-bit then choose a 64-bit, if the development is 64-bit, then select a 32-bit.

which distribution?
    • Linux systems are collectively known as a large class of systems, and 32 and 64 are not enough, and you have to choose a satisfying distribution from all of these 32 and 64-bit systems.

    • According to DistroWatch's statistics, the use of a more distributed version of Mint(based on the Ubuntu release),Ubuntu(based on the Debian release),Debian (Big Brother-level distributions),OpenSUSE(associated with SuSE),Fedora(redhat desktop),CentOS(RHEL Community Edition).

    • These distributions use a kernel Linux Kernel, which differs from the packages and graphical interfaces that are installed on each distribution. The package mainly includes the Deb package and rpm package, Mint, Ubuntu, Debian using the Deb package, the corresponding package management tool for dpkg; OpenSUSE, Fedora, CentOS uses RPM packages, and the corresponding package management tool is rpm. The graphical interface is GNOME,KDE,Xfce , and so on.

    • Software is intended for users, so you should choose a common distribution, and the compiled software is made into the Deb package and RPM package for users to use. This release is recommended in view of the long duration of Ubuntu development and the wide range of users.

High version or Low version?
    • It is not enough to select a release, and to choose a specific version number from this release, the higher the version number, the more new the system. For example, Ubuntu 10.04 is released in April 10, Ubuntu 12.04 is released in April 12, Ubuntu 12.10 is released in October 12 version. (for Ubuntu, the release in April was supported for a longer period of time, while releases released in October were supported for a shorter period of time.) )

    • Generally speaking, it is no problem to compile software on a low-version system to run on a higher-version system. Conversely, in the case of a high-version system compiled and run in a lower version of the system, the results are uncertain, see Linux binary compatibility for details.

    • As a precaution, you should choose a lower version of the release version as the development system. The specific version of how low also depends on user needs, now (2015-1-13) recommended Ubuntu 10.04, over time, may be transferred to Ubuntu 11.04, Ubuntu 12.04.

To view installed systems
    • uname -m: Output system architecture,i686 represents a 32-bit system,x86_64 represents a 64-bit system.

    • uname -r: Output Linux kernel version, such as the Linux kernel used by Ubuntu 12.04:3.2.0-57-generic-pae, the Linux kernel used by Ubuntu 10.04:2.6.32-24-generic .

    • lsb_release -d: Outputs descriptive information for this release, such as:description:ubuntu 12.04.3 lts,description:ubuntu 10.04.1 lts.

Summarize
    • Comprehensive system architecture, distribution, high and low version of three conditions, recommended Ubuntu 10.04 x86 as a development system, Ubuntu 10.04 x86 and Ubuntu 10.04 x64 as a compiled system.

    • The download path was found by searching: http://old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-i386.iso,http:// Old-releases.ubuntu.com/releases/lucid/ubuntu-10.04-desktop-amd64.iso

    • After the download is complete, you can install the system to your hard disk with a USB flash drive, or you can install the virtual machine with VMware or VirtualBox .

    • Finally, use the uname,lsb_release command to view the installed system.

How to choose the right Linux system for desktop program development?

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.