Need help figuring if I have the correct 32 bit packages installed for STM32 Tool Chain.

Issues related to applications and software problems
Post Reply
kinolo
Posts: 2
Joined: 2020/06/06 19:17:42

Need help figuring if I have the correct 32 bit packages installed for STM32 Tool Chain.

Post by kinolo » 2020/06/06 20:25:14

Hello there!

I am in the process of installing the STM32 Tool chain on my CentOS 7 64 bit. These are the commands for installing the packages needed on Ubuntu 64 bit.

Code: Select all

$ sudo dpkg –-add-architecture i386
$ sudo apt-get update
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
I did a grep search on the installed packages with yum list installed | grep -i package-name for libc, ncurses and libstdc++. This is what was returned (there were some other search results that didn't seem relevant):

Code: Select all

ncurses.x86_64                         5.9-14.20130511.el7_4           @anaconda
ncurses-base.noarch                    5.9-14.20130511.el7_4           @anaconda
ncurses-devel.i686                     5.9-14.20130511.el7_4           @base    
ncurses-devel.x86_64                   5.9-14.20130511.el7_4           @anaconda
ncurses-libs.i686                      5.9-14.20130511.el7_4           @base    
ncurses-libs.x86_64                    5.9-14.20130511.el7_4           @anaconda

libstdc++.i686                         4.8.5-39.el7                    @base    
libstdc++.x86_64                       4.8.5-39.el7                    @anaconda
libstdc++-devel.x86_64                 4.8.5-39.el7                    @anaconda


glibc.i686                             2.17-292.el7                    @base    
glibc.x86_64                           2.17-292.el7                    @anaconda
glibc-common.x86_64                    2.17-292.el7                    @anaconda
glibc-devel.i686                       2.17-292.el7                    @base    
glibc-devel.x86_64                     2.17-292.el7                    @anaconda
glibc-headers.x86_64                   2.17-292.el7                    @anaconda
I see that the i686 versions of all 3 are already installed.

If these aren't the right packages then please help me out here. I have tried adding multilib_policy=all to yum.conf and tried yum whatprovides package-name and still got no results for the package names in the Ubuntu commands. Can someone please confirm that the ones I have installed are the CentOS equivalent packages for the Ubuntu ones?
Last edited by kinolo on 2020/06/07 06:44:05, edited 1 time in total.

User avatar
TrevorH
Forum Moderator
Posts: 28827
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Need help figuring if I have the correct packages installed.

Post by TrevorH » 2020/06/06 21:23:49

CentOS and Ubuntu don't share package names but Ubuntu's libxxx-dev is usually called xxx-devel in CentOS.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

kinolo
Posts: 2
Joined: 2020/06/06 19:17:42

Re: Need help figuring if I have the correct packages installed.

Post by kinolo » 2020/06/07 06:53:46

TrevorH wrote:
2020/06/06 21:23:49
CentOS and Ubuntu don't share package names but Ubuntu's libxxx-dev is usually called xxx-devel in CentOS.
Great. ncurses-devel.i686 and glibc-devel.i686 were already installed. So it seems the only one I was missing was the libstdc++-devel for i686. I installed the RPM package for it. Hope this is all the tool chain requires. I guess I'll find out. :D

Thanks for your help!

Post Reply

Return to “CentOS 7 - Software Support”