linux · power · python

ppc64le: build rpkg on centos8

rpkg is a python library for dealing with rpm packaging in a git source control.

dnf update
dnf install wget
wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
rpm -ivh ./epel-release-latest-8.noarch.rpm
dnf update
dnf groupinstall 'Development Tools'
dnf install python3
dnf install -y libcurl-devel
dnf install -y openssl-devel
dnf install -y python36-devel
export PYCURL_SSL_LIBRARY=openssl
pip3 install cached_property
pip3 install munch
pip3 install pycurl
git clone https://pagure.io/rpkg-util.git
cd ./rpkg-util/
pip3 install .
/usr/local/bin/rpkg --help

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s