LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2022, 10:56 PM   #1
ziphem
Member
 
Registered: Feb 2004
Location: US / EU
Distribution: Fedora 31
Posts: 225

Rep: Reputation: 29
Uninstall i686 packages when x86_64 also installed?


When I recently ran dnf upgrade, received warnings that some of the packages could not be upgraded because of a version conflict (I believe this was the message, can't remember exactly). Upon closer look, I realized that I have a number of i686 packages that are installed, but these same packages are also installed as x64_86.

Can I remove all the i686s without worry if I have all the same i686 dependencies as installed x86_64, is it safe to remove the i686 package (and dependencies)?

I imagine probably depends on dependencies.

I've removed some, and I swear certain applications run faster - though that's probably my imagination.

Thanks!

Ex:

mariadb-connector-c-config-3.2.7-1.fc36.noarch
mariadb-common-10.5.16-1.fc36.i686
mariadb-common-10.5.16-1.fc36.x86_64
mariadb-connector-c-3.2.7-1.fc36.x86_64

Last edited by ziphem; 08-02-2022 at 08:41 AM.
 
Old 08-02-2022, 04:25 PM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
If you want 32-bit programs to run, you need to keep the 32-bit dependencies around. 32-bit programs cannot use the 64-bit versions of those libraries so they are not a substitute, you need both if you want both kinds of programs to run. Just having the libraries on your disk doesn't affect how fast things run.
 
Old 08-02-2022, 06:53 PM   #3
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,340

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Generally, if the upgrade or install complains about conflicts then you would need to remove the offending packages. Usually if both are needed because some apps require the 32 bit libraries then there should be no conflicts and the packages should coexist nicely.

IME the conflicts occur when both the 32 bit and the 64 bit version own the same file and the file is different in each. Thus they do not play well in the same sandbox and conflicts occur.

This is the reason most systems have /lib and /lib64; so the same file names may exist, but are separated by location as 32 bit or 64 bit on the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Getting update alert for i686 packages on Fedora 24 x86_64 terry-duell Fedora 7 07-23-2016 04:22 PM
dnf keeps trying to install i686 version of already installed x86_64 packages penyuan Fedora 4 11-24-2015 07:29 AM
conflict between i686 and x86_64 packages waseem.chaudary Linux - Software 3 04-19-2012 06:25 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - General 2 05-07-2005 11:21 PM
2.6.9-5.EL-hugemem-i686, 2.6.9-5.EL-i686, 2.6.9-5.EL-smp-i686 , Which? arsham Linux - Enterprise 1 05-07-2005 07:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration