From a64c16abd17358bd8460ad8e03b6a99f95ea94e1 Mon Sep 17 00:00:00 2001 From: jeffmerkey Date: Thu, 13 Oct 2022 16:58:34 -0700 Subject: [PATCH] update README.md with instructions on installing or creating sdebs Signed-off-by: jeffmerkey --- README | 13 +++++++++++++ README.md | 11 +++++++++++ 2 files changed, 24 insertions(+) diff --git a/README b/README index e649362..b906bf6 100644 --- a/README +++ b/README @@ -177,6 +177,19 @@ or Ubuntu Linux distributions: _(Note: Debbuild installs the source code files in /root/debbuild/ as top directory)_ +One item of note is that SDEB packages are actually just tar.gz archives +renamed with an .sdeb file extension and with the files organized into a +SPECS and SOURCES directory tree structure. Subsequently, an SDEB can +also be extracted and installed with the _tar -xvf command_ or the files +listed with the _tar -tvf command_: + + [root@localhost getssl]# tar -tvf /root/debbuild/SDEBS/getssl-2.47-1.sdeb + -rw-r--r-- root/root 1772110 2022-10-12 20:42 SOURCES/getssl-2.47.tar.gz + -rw-r--r-- root/root 192 2022-08-02 15:02 SOURCES/getssl.crontab + -rw-r--r-- root/root 126 2022-08-02 15:02 SOURCES/getssl.logrotate + -rw-r--r-- root/root 1537 2022-08-02 15:02 SPECS/getssl.spec + [root@localhost getssl]# + For building or rebuilding RPMS or DEB Packages after you have installed the associated source packages on your platform, refer to the following: diff --git a/README.md b/README.md index 516194a..654679a 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,17 @@ debbuild -i getssl-2.47-1.sdeb ``` *(Note: Debbuild installs the source code files in /root/debbuild/ as top directory)* +One item of note is that SDEB packages are actually just tar.gz archives renamed with an .sdeb file extension and with the files organized into a SPECS and SOURCES directory tree structure. Subsequently, an SDEB can also be extracted and installed with the *tar -xvf command* or the files listed with the *tar -tvf command*: + +```sh +[root@localhost getssl]# tar -tvf /root/debbuild/SDEBS/getssl-2.47-1.sdeb +-rw-r--r-- root/root 1772110 2022-10-12 20:42 SOURCES/getssl-2.47.tar.gz +-rw-r--r-- root/root 192 2022-08-02 15:02 SOURCES/getssl.crontab +-rw-r--r-- root/root 126 2022-08-02 15:02 SOURCES/getssl.logrotate +-rw-r--r-- root/root 1537 2022-08-02 15:02 SPECS/getssl.spec +[root@localhost getssl]# +``` + For building or rebuilding RPMS or DEB Packages after you have installed the associated source packages on your platform, refer to the following: - [Building getssl as an RPM Package (Redhat/CentOS/SuSe/Oracle/AWS)](#building-as-an-rpm-package)