LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2021, 11:53 PM   #1
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Rep: Reputation: 20
What does 'remove architecture' mean?


I have a 64 bit cpu (x 86) and a 64 bit linux kernel. I found that I also have many 32 bit (i386) packages installed by running
Code:
 dpkg -l | grep ':i386'
. These are apparently used by 'wine' and who knows what else.

Then I found how to remove all i386 packages with
Code:
apt-get purge ".*:i386"
.
And finally I learned that I can remove the i386 architecture with
Code:
 dpkg --remove-architecture i386
.
My question is, is that last command saying I can remove the architecture from my 64 bit cpu so that 32 bit will no longer work? Does a 64 bit cpu have 32 bit and 64 bit architecture?
I got the above code and info from
Code:
 https://forums.linuxmint.com/viewtopic.php?f=42&t=359475

Last edited by sofasurfer; 11-13-2021 at 11:54 PM.
 
Old 11-14-2021, 12:57 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by sofasurfer View Post
And finally I learned that I can remove the i386 architecture with
Code:
 dpkg --remove-architecture i386
.
My question is, is that last command saying I can remove the architecture from my 64 bit cpu so that 32 bit will no longer work? Does a 64 bit cpu have 32 bit and 64 bit architecture?
64 bit CPUs support 32bit operating systems and applications. Removing the i386 packages means you will no longer be able to run any 32 bit software using your remaining installed 64 bit operating system. As long as you don't need Wine or other 32 bit software or Brother printer drivers, removal should amount to nothing more than removing cruft from your installation, and subsequently making updates use less bandwidth and disk space.
 
Old 11-14-2021, 01:32 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Removing the architecture does nothing to your actual CPU, it only means that your package management won't support 32 bit packages anymore - until they get enabled again.

Absolutely nothing to worry about, unless it asks you to uninstall dozens of packages.
 
Old 11-14-2021, 11:49 AM   #4
sofasurfer
Member
 
Registered: Oct 2003
Posts: 252

Original Poster
Rep: Reputation: 20
I understand. Thanks
 
  


Reply



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
how can i port a driver with a specific architecture into another architecture? the hope Linux - Hardware 4 03-23-2011 05:39 PM
what is 'architecture' in 'binary for an architecture'?multiple architecture support? wagaboy Linux - Newbie 2 07-10-2010 11:18 AM
Architecture? and why; remove disks or any other meda and restart? skurk Linux - Newbie 4 05-03-2009 07:50 AM
What does does this mean? sumguy231 LQ Suggestions & Feedback 2 10-11-2004 12:49 PM
Touch "What does it mean and what does it do"? jag7720 Linux - General 3 02-25-2004 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 PM.

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