树莓派centos7.9(armv7hl)添加软件源. 2023-03-02

1.添加 devtoolset-6 源

cat << EOF > /etc/yum.repos.d/devtoolset-6.repo


[devtoolset-6]
name=devtoolset-6 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/devtoolset-6/
enabled=1
gpgcheck=0


EOF
 

2.启用 EPEL 软件源


cat << EOF > /etc/yum.repos.d/epel.repo


[epel]
name=Epel rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/epel-pass-1/
enabled=1
gpgcheck=0


EOF 
 

3.添加php7.2软件源

cat > /etc/yum.repos.d/php72-testing.repo << EOF

[php72-testing]
name=Remi php72 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php72-testing/
enabled=1
gpgcheck=0

EOF

4.添加remi源

cat > /etc/yum.repos.d/remi.repo << EOF

[remi]
name=Remi's RPM repository for Enterprise Linux 7 - $basearch
mirrorlist=http://cdn.remirepo.net/enterprise/7/remi/mirror
enabled=1
gpgcheck=1
gpgkey=https://rpms.remirepo.net/RPM-GPG-KEY-remi

EOF

4.添加php7.3软件源

cat > /etc/yum.repos.d/php73-testing.repo << EOF

[php73-testing]
name=Remi php73 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php73-testing/
enabled=1
gpgcheck=0

EOF

5.添加php7.4软件源

cat > /etc/yum.repos.d/php74-testing.repo << EOF

[php74-testing]
name=Remi php74 rebuild for armhfp
baseurl=https://armv7.dev.centos.org/repodir/community-php74-testing/
enabled=1
gpgcheck=0

EOF

6.python3源(armv7hl),python3.7和python3.9

pip config set global.index-url https://www.piwheels.org/simple

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

用户的昵称

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值