LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   run 32 bit software on 64 bit linux (https://www.linuxquestions.org/questions/linux-software-2/run-32-bit-software-on-64-bit-linux-879574/)

jokar.mohsen 05-09-2011 12:16 AM

run 32 bit software on 64 bit linux
 
hello all.
can i run 32 bit software on 64bit Linux?
i use fedora linux.

Thanks.

EricTRA 05-09-2011 01:03 AM

Hi,

Yes you can. Different distros do it in different ways as it seems. Debian based distros handle it very easy by installing ia32 libraries. Apparently Fedora is different, that is I couldn't find information about a similar procedure for Fedora but then again, I don't use Fedora, never have used it. If I'm wrong then I'm sure some one with Fedora knowledge will jump in. I did find this link which might be helpful.

Kind regards,

Eric

mikeb380 05-09-2011 01:19 AM

32 bit SW on 64 bit Linux
 
Quote:

Originally Posted by EricTRA (Post 4350562)
Yes you can. Different distros do it in different ways as it seems. Debian based distros handle it very easy by installing ia32 libraries.
Eric

I just tried to run a 32 bit package on Ububtu 10.10 64 and neither Symantic nor Ubuntu software center would allow me to do it. Maybe I'm not doing it correctly? It was a deb package which said i386. Any suggestions?
Thanks
Michael:(

EricTRA 05-09-2011 01:22 AM

Hi,

Did you install the ia32 libraries? Check with this in a terminal:
Code:

dpkg -l 'ia32*'
and post output here. I'm running LMDE 64-bit and have 32-bit applications (few) working perfectly.

Kind regards,

Eric

dudeman41465 05-09-2011 02:22 AM

Couple of solutions.

1) Install the package ia32-libs, this will allow 32 bit packages to run/install.

2) Install ia32-libs-gtk, this will allow the gui tools such as synaptic and Gdebi to install 32 bit debs without telling you it's the wrong architecture.

3) If it still won't let you install a 32 bit deb, you can do it manually with the following command:

Code:

sudo dpkg -i --force-architecture packagename.deb

mikeb380 05-09-2011 04:49 PM

32 bit s/w on 64 bit
 
Quote:

Originally Posted by EricTRA (Post 4350589)
Hi,

Did you install the ia32 libraries? Check with this in a terminal:
Code:

dpkg -l 'ia32*'
and post output here. I'm running LMDE 64-bit and have 32-bit applications (few) working perfectly.

OK did the command in terminal and got this:
Code:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

Then it gave me a list of packages and said
Code:

un  ia32-libs-dev  <none>        (no description available)
un  ia32-libs-gtk  <none>        (no description available)

Plus many more lines all the same.
I guess that means I don't have it installed, huh? I'll try what dudeman said, see if that works.
Thanks to both of you, will let you know what happens.
Michael

mikeb380 05-09-2011 08:29 PM

32 bit prog on 64 bit system
 
Quote:

Originally Posted by dudeman41465 (Post 4350637)
Couple of solutions.
1) Install the package ia32-libs, this will allow 32 bit packages to run/install.
2) Install ia32-libs-gtk, this will allow the gui tools such as synaptic and Gdebi to install 32 bit debs without telling you it's the wrong architecture.
3) If it still won't let you install a 32 bit deb, you can do it manually with the following command:
Code:

sudo dpkg -i --force-architecture packagename.deb

Dude, I tried all 3 methods, no joy. I can't figure how to get synaptic to look for it and package manager still says 32 bit, can't install.
Here's what I tried to install ia32-libs-gtk & message I got back
Code:

mike@mikeb:~$ sudo apt-get install ia32-libs-gtk
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Note, selecting 'ia32-libs' instead of 'ia32-libs-gtk'
ia32-libs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Then tried to force install;
mike@mikeb:~$ sudo dpkg -i --force-architecture file: ///media/CLASS_%20PRES/Download/Linux/Graphics/IRFANVIEW/irfanview_4.25-0_i386.deb
I tried it with the web site address, the address on my system and with no address, no joy there either.
To use package manager I double clicked the file on my system, no can do. here is the web address for the file:
http://www.irfanview.info/test/irfanview_4.25-0_i386.deb

I tried to copy the whole listing in terminal but can't find a way. Thought I could paste into a document for someone to see. Is it me, or is it the OS? Finally copied IRFANview to my Downloads dir and tried this:
Code:

mike@mikeb:~$ sudo dpkg -i --force-architecture file: Downloads/irfanview_4.25-0_i386.deb
[sudo] password for mike:
Sorry, try again.
[sudo] password for mike:
dpkg: error processing file: (--install):
 cannot access archive: No such file or directory
dpkg: warning: overriding problem because --force enabled:
 package architecture (i386) does not match system (amd64)
Selecting previously deselected package irfanview.
(Reading database ... 176141 files and directories currently installed.)
Unpacking irfanview (from .../irfanview_4.25-0_i386.deb) ...
Setting up irfanview (4.25-0) ...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for python-support ...
Errors were encountered while processing:
 file:

It is running using wine, had problems at first but now running. I need to install plugins but don't know where the directory is. I did a "find" on file system and came up blank. Any suggestions as to how I can continue would be appreciated.
Dude thanks for the help you've given me, I've learned from it. At least I'm better off than I was.
Michael:D

jokar.mohsen 05-19-2011 12:01 PM

Hello all.
For download ia32 for fedora what do i do?

:)

jefro 05-19-2011 03:29 PM

I'd go to fedora web site and pick either a torrent or mirror to get what you want.

abrinister 05-19-2011 04:25 PM

I think if you install 32-bit applications in Fedora, it should get all the necessary libraries on its own. In any case, you should run the following in terminal as root:

yum install libX*.i686

This will install all the 32-bit libraries needed to run GUI programs.

Alex

mikeb380 05-20-2011 01:39 AM

Irfanview 32 bit works on my 64 bit Ubuntu 10.10
 
I finally got Irfanview working and found the plugin directory for it and got the plugins installed. It uses Photoshop plugins so that gives me a world of goodies to use. Thanks to all who helped, never would have got it done without you

Michael :hattip:

EricTRA 05-20-2011 01:44 AM

Hi Michael,

Glad to hear you've got it solved. If you consider your problem/question solved then please mark the thread as such. Have fun with Linux.

Kind regards,

Eric

mikeb380 05-20-2011 08:58 PM

Can't mark solved
 
Quote:

Originally Posted by EricTRA (Post 4361564)
Hi Michael,

Glad to hear you've got it solved. If you consider your problem/question solved then please mark the thread as such. Have fun with Linux.

Kind regards,

Eric

Eric, I didn't start the thread so won't let me mark solved. Thanks again for the help
Regards
Michael :)

EricTRA 05-20-2011 11:20 PM

Hi Michael,

I feel pretty dumb right now, not even having noticed you were not the OP. Sorry for that.

@jokar.mohsen: Were you able to get your problem solved? If not, please specify where you're having problems.

Kind regards,

Eric


All times are GMT -5. The time now is 04:52 PM.