[SOLVED] advice needed! Should I choose 32bit or 64bit?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The long answer is: If you have greater than 4GB of RAM, it may be beneficial to choose 64 bit. 64 bit may also be able to make more efficient use of the CPU.
Since the various packages for Slackware may be compiled as easily for 32 or 64 bit, you won't be losing out on any software if you choose one over the other.
Since the various packages for Slackware may be compiled as easily for 32 or 64 bit, you won't be losing out on any software if you choose one over the other.
Is that mean if I have the source code I can compile a 64 bit by myself and don't have to change the code?
In case above assumption is right, then close-source or private software will be a problem if it has no 64bit version, right?
Yeah, if you're compiling from source, the program will build fine on a 64-bit machine. You could change CFLAGS or some other compile time parameter, but that's up to you. Slackware usually compiles 64-bit packages with the "-O2 fPIC" flag.
Binary-only or libraries that have been built specifically for 32-bit arch will not run on slackware64. But most of the necessary proprietary, closed-source software are available in 64-bit, so you needn't worry too much.
I also favour 64bit pure. Multilib gives vendors an excuse to be lazy and not provide 64bit native versions of their programs. Its use should be discouraged (unless you absolutely can't live without those 32 bit only programs - have to be a little pragmatic I suppose.)
32 bit is a safest choice. Make a list of applications you think you will use on your system. With open source code applications there should be no problem if you are not aware to compile it yourself and to decide about installation policy. Playing W$ games on wine server can be difficult or even impossible. Next there may be no 64 bit versions for closed source apps. However running 64 bit is challenging. Greetings.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
In many ways the choice depends upon what you're going to be doing. Anything you build from source (nice to have open source, eh) will build and run just fine in either 32- or 64-bit; however, 32-bit only software that you obtain from providers (such as Adobe Acrobat or, say, GoogleEarth) will not run in 64-bit unless you install Alien Bob's Multilib package (see http://alien.slackbook.org/dokuwiki/...kware:multilib). Too, a 64-bit system can handle more memory if that's important to you.
Essentially, it's a toss-up. If Adobe Acrobat and GoogleEarth matter to you, go with 32-bit (although 64-bit packages may become available for both of those sometime soon). If you're running heavy-duty engineering and mathematical applications, 64-bit is probably a better choice. Either way, all the tools and applications you'll be using on a day-to-day basis are just fine in either 32- or 64-bit (that would include things like OpenOffice.org, all the editors, compilers, utilities, and so on). You really can't tell the difference one way or the other.
Is that mean if I have the source code I can compile a 64 bit by myself and don't have to change the code?
Before you resort to compiling and installing software from source code, you can easily compile and install Slackaware .tgz packages (both 32bit and 64bit) from http://slackbuilds.org/.
You can also use http://sbopkg.org/ to automate the building and updating of Slackware packages from slackbuilds.org.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
Quote:
Originally Posted by igadoter
I am curious about a compilation of Fortran's libraries - are there problems with 64 bit versions?
None that I'm aware of -- I do use NetCDF (see http://www.unidata.ucar.edu/software/netcdf/), required by GMT, the Generic Mapping Tools (see http://gmt.soest.hawaii.edu/) for "manipulating geographic and Cartesian data sets" and producing maps. Never had a problem compiling or running GMT and netCDF on both 32- and 64-bit Slackware boxes.
Bearing in mind that Slackware itself is built bottom-up from source, you'll have appropriate libraries built for the platform.
This is not to say that there may be some problem with some FORTRAN libraries that are not native compiles but, so far, I've had no problems with the GNU libraries provided with Slackware on either platform.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.