0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

AmazonLinux

Get SRPM

See http://ec2-downloads.s3.amazonaws.com/AmazonLinuxAMIUserGuide.pdf

e.g.
get_reference_source -p php70-common

on EC2 only

Build on amzn docker-image

doker run -it amazonlinux

  1. install build-tools
    yum install rpmdevtools yum-utils

  2. rpmdev-setuptree

  3. install dep-pkgs to build
    yum-builddep [path-to .spec]

  4. build
    rpmbuild -ba [path-to .spec]

or

binary only
rpmbuild -bb [path-to .spec]

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?