What is make?

makefile이라는 파일을 참조하여 컴파일러에 명령을 전달하며, makefile에 기술된 Shell명령어들이 순차적으로 실행될 수 있게 함.

 

What is Makefile?

Make 명령어로 실행할 명령들을 기술해 놓은 파일.

 

Makefile 구조

- 목적파일(Target) : 명령어가 수행되어 나온 결과를 저장할 파일
- 의존성(Dependency) : 목적파일을 만들기 위해 필요한 재료
- 명령어(Command) : 실행 되어야 할 명령어들
- 매크로(macro) : 코드를 단순화 시키기 위한 방법

 

언제 사용??

여러줄의 명령어를 작성 및 실행해야할 때 사용
컴파일 시간을 단축시키고 싶을 때

 

'IT' 카테고리의 다른 글

Zeppelin  (0) 2023.06.30
Trino  (0) 2023.06.29
Opensource License  (0) 2023.06.27
Swift  (0) 2023.06.26
MinIO, OpenIO  (0) 2023.06.25

 

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

linux 정식 배포 날짜, 최대 지원 날짜

8.8 버전 기준 2023-05-19 배포, 2024년까지 general support, security support는 2029-05-01 까지
참고 : https://docs.rockylinux.org/release_notes/#rocky-8

 

Rocky Release Notes - Documentation

release release notes Rocky Linux Release Notes Welcome to our listing of release notes for Rocky Linux. The most recent released versions are listed in the menu with the newest first. Release dates and support information are below. Rocky Linux Releases R

docs.rockylinux.org

 

 

Linux Minimal, normal 제공 패키지 차이 (+ 적합한 환경)

Minimal 버전은 필수적인 시스템 패키지와 핵심 도구만 포함, Normal 버전이 디스크 공간은 많이 사용하지만 많은 패키지가 포함되어 있어서 별도로 설치해야하는 패키지들이 줄어들어 작업 속도가 빨라질 수 있다.


- Minimal 버전은 리소스가 제한이 있는 작은 설치 크기, 가벼운 시스템 구조의 임베디드 시스템 환경

- Normal 버전은 데스크톱, 응용 프로그램 개발 등에 적합한 환경.

 

 


Rocky 8 관련 공식 패키지 다운로드
참고 : https://download.rockylinux.org/pub/rocky/8/BaseOS/x86_64/os/Packages/

 

Index of /pub/rocky/8/BaseOS/x86_64/os/Packages/

 

download.rockylinux.org

 

 

Install
참고 : https://docs.rockylinux.org/guides/8_6_installation/#os-installation-prerequisites

 

Installing Rocky Linux 8 - Documentation

Installing Rocky Linux 8 This guide walks through the detailed steps to install a 64-bit version of the Rocky Linux distribution on a stand-alone system. We will be performing a server class install using an operating system installer image downloaded from

docs.rockylinux.org

 

 

'IT' 카테고리의 다른 글

Ambari  (0) 2023.06.22
Ambari mpack  (0) 2023.06.21
Object Storage  (0) 2023.05.21
kubernetes  (0) 2023.05.16
Redis(레디스)  (0) 2023.04.05

+ Recent posts