Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

EPEL repository for ARM7

Trying to setup a banana-pi with CentOS 7 to be used a NAS, I come across many packages I have to compile myself.

I wonder if there is a special repo for the armv7 architecture ?

%uname -a
Linux bananapi 4.2.3-200.el7.armv7hl #1 SMP Wed Nov 25 18:01:51 EST 2015 armv7l armv7l armv7l GNU/Linux
like image 703
cb0 Avatar asked Mar 10 '16 19:03

cb0


2 Answers

I was trying to install Python3 on my RPi3 running CentOS 7. I attempted installing from the EPEL repository ( sudo yum install epel-release && sudo yum install python34). This failed, but after some digging around I found that the CentOS wiki has a nice section for 32 bit arm.

I followed the instructions (which are at the very bottom of the wiki), and after that I was able to install an automatically generated, unsigned and untested working version of EPEL 7. I haven't found mentions of this on SO, so I hope that it helps.

How can I enable EPEL 7 on armhfp ?

The answer is easy in a sense that there is no official EPEL repository for armfhp. But because lot of users were asking for this, we decided to use the centos armhfp builders to (re)build Source packages from EPEL 7 (and try to track those automatically) when they're idle. Please note that it's just an automatic rebuild without any QA/test, and also resulting pkgs aren't signed either. To use that repository, proceed like this :

cat > /etc/yum.repos.d/epel.repo << EOF
[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0

EOF

After that, running sudo yum install epel-release succeeded, as did installing Python3.

like image 93
Brett Holman Avatar answered Oct 02 '22 02:10

Brett Holman


At this moment are not available. But they are working on it https://lists.centos.org/pipermail/arm-dev/2015-May/000184.html

like image 33
Gotttlieb Avatar answered Oct 02 '22 00:10

Gotttlieb