rpm 이란

리눅스 시스템에서 소프트웨어를 설치, 업그레이드, 제거하는 데 사용

 

 

RPM을 만들기 위한 패키지들

- rpm-build : 바이너리 및 소스 소프트웨어 패키지를 빌드하는 데 사용
- rpmdevtools : 패키지 개발을 지원하는 스크립트를 포함하는 툴
- createrepo : Repository 저장소를 만드는데 사용

 

 

spec file 구조

- Header Section: 패키지 기본 정보 정의하는 부분
- Preparations Section : 패키지 빌드 전, 다운로드 및 패치 또는 리소스 설정 작업하는 부분
- Build Section : 패키지를 컴파일하고 빌드하는 작업(바이너리 파일 생성)
- Install Section : 패키지 설치방법 정의하는 부분(설정 파일, 권한 설정 등)
- Files Section : 패키지에 포함되는 파일과 디렉토리 목록 정의하는 부분
- Scriptlet Section :
 

그 외 참고해야할 가이드

라이센스 가이드 라인
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines

 

Packaging:LicensingGuidelines - Fedora Project Wiki

Licensing Guidelines Fedora Licensing The goal of the Fedora Project is to work with the Linux community to create a complete, general purpose operating system exclusively from Free and Open Source software. All software in Fedora must be under licenses in

fedoraproject.org

 

'IT' 카테고리의 다른 글

MinIO, OpenIO  (0) 2023.06.25
Apache Bigtop  (0) 2023.06.24
Ambari  (0) 2023.06.22
Ambari mpack  (0) 2023.06.21
Linux Rocky 8  (0) 2023.06.20

+ Recent posts