You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+66Lines changed: 66 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,72 @@ earthly +build
36
36
earthly +build --version=1.0.0
37
37
```
38
38
39
+
### Install via Debian Package (Ubuntu/Debian)
40
+
41
+
For Ubuntu and Debian systems, you can build and install OS Image Composer as a Debian package. This method provides a cleaner installation with proper package management.
42
+
43
+
#### Build the Debian Package
44
+
45
+
Use the Earthly `+deb` target to create a `.deb` package:
46
+
47
+
```bash
48
+
# Build with default parameters (version 1.0.0, amd64)
49
+
earthly +deb
50
+
51
+
# Build with custom version and architecture
52
+
earthly +deb --VERSION=1.2.0 --ARCH=amd64
53
+
54
+
# Build for ARM64
55
+
earthly +deb --VERSION=1.0.0 --ARCH=arm64
56
+
```
57
+
58
+
The package will be created in the `dist/` directory as `os-image-composer_<VERSION>_<ARCH>.deb`.
59
+
60
+
#### Install the Package
61
+
62
+
```bash
63
+
# Install using apt (recommended - automatically resolves dependencies)
***Documentation:**`/usr/share/doc/os-image-composer/` - README, LICENSE, and CLI specification
92
+
93
+
After installation via the Debian package, you can use `os-image-composer` directly from any directory, and reference the example templates from `/usr/share/os-image-composer/examples/`.
94
+
95
+
#### Uninstall the Package
96
+
97
+
```bash
98
+
# Remove package (keeps configuration files)
99
+
sudo dpkg -r os-image-composer
100
+
101
+
# Remove package and configuration files
102
+
sudo dpkg --purge os-image-composer
103
+
```
104
+
39
105
### Install the Prerequisites for Composing an Image
40
106
41
107
Before you compose an operating system image with the OS Image Composer tool, follow the [instructions to install two prerequisites](./docs/tutorial/prerequisite.md):
0 commit comments