changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > org > docs / core/install.org

changeset 14: de53155af111
child: 46fb6a10d2e1
author: ellis <ellis@rwest.io>
date: Sun, 17 Dec 2023 23:28:53 -0500
permissions: -rw-r--r--
description: migrated from core
1 {{{header(core/install,Richard Westhaver,ellis@rwest.io,core installation
2 guide)}}}
3 
4 The core is distributed via our public package registry:
5 [[https://packy.compiler.company][packy.compiler.company]]. You can install any part of the core - from a
6 complete Linux system to individual packages. Refer to the packy
7 documentation for details.
8 
9 The simplest way to get started is by getting the installer for your
10 platform with the following script:
11 
12 #+begin_src shell :results pp replace :exports both :noeval t
13 curl --proto '=https' --tlsv1.2 -sSf https://packy.compiler.company/do/init.sh | sh # -s -- --help
14 #+end_src
15 
16 #+RESULTS:
17 #+begin_example
18 
19 cc-init 0.1.0-0941fa04c53d+
20 
21 Usage: cc-init [OPTIONS]
22 
23 Options:
24  -y Disable confirmation prompts
25  -l, --level... Set the log level
26  -h, --help Print help
27  -V, --version Print version
28 #+end_example
29 * TODO Packages
30 - State "TODO" from [2023-11-25 Sat 18:28]
31 ** Crates :rust:
32 ** ELPA :emacs:
33 ** Quicklisp :lisp:
34 ** AUR :pacman:
35 * Images
36 We also ship FASL images for Lisp. These images can be downloaded and
37 loaded using the =--core= option of your lisp compiler like so:
38 
39 #+begin_src shell
40 sbcl --core std.core
41 #+end_src
42 
43 See [[https://www.sbcl.org/manual/#FASL-Format][FASL Format]] for details. Keep in mind that the FASL format is not
44 portable - they are tied to a specific version of the compiler and we
45 don't keep old versions around for long.
46 * Apps
47 ** Lisp
48 *** skel
49 #+begin_src shell :results pp replace :exports code
50  sbcl --noinform --non-interactive \
51  --eval '(ql:quickload :bin/skel)' \
52  --eval "(asdf:make :bin/skel)"
53  mv lisp/app/bin/skel ~/.local/bin/
54 #+end_src
55 
56 #+RESULTS:
57 : To load "bin/skel":
58 : Load 1 ASDF system:
59 : bin/skel
60 : ; Loading "bin/skel"
61 : .......
62 : compressed 32768 bytes into 5079 at level 9
63 : compressed 236388352 bytes into 9579898 at level 9
64 : compressed 8552448 bytes into 2637947 at level 9
65 : compressed 0 bytes into 9 at level 9
66 
67 *** organ
68 #+begin_src shell :results pp replace :exports code
69  sbcl --noinform --non-interactive \
70  --eval '(ql:quickload :bin/organ)' \
71  --eval "(asdf:make :bin/organ)"
72  mv lisp/app/bin/organ ~/.local/bin/
73 #+end_src
74 
75 #+RESULTS:
76 #+begin_example
77 To load "bin/organ":
78  Load 1 ASDF system:
79  bin/organ
80 ; Loading "bin/organ"
81 ..................................................
82 [package bin/organ].
83 compressed 32768 bytes into 5088 at level 9
84 compressed 236388352 bytes into 9364780 at level 9
85 compressed 8355840 bytes into 2588308 at level 9
86 compressed 0 bytes into 9 at level 9
87 #+end_example
88 
89 *** rdb
90 #+begin_src shell :results pp replace :exports code
91  sbcl --noinform --non-interactive \
92  --eval '(ql:quickload :bin/rdb)' \
93  --eval "(asdf:make :bin/rdb)"
94  mv lisp/app/bin/rdb ~/.local/bin/
95 #+end_src
96 
97 #+RESULTS:
98 : To load "bin/rdb":
99 : Load 1 ASDF system:
100 : bin/rdb
101 : ; Loading "bin/rdb"
102 : ....
103 : compressed 32768 bytes into 5071 at level 9
104 : compressed 236388352 bytes into 9386823 at level 9
105 : compressed 8421376 bytes into 2593084 at level 9
106 : compressed 0 bytes into 9 at level 9
107 
108 *** homer
109 #+begin_src shell :results pp replace :exports code
110  sbcl --noinform --non-interactive \
111  --eval '(ql:quickload :bin/homer)' \
112  --eval "(asdf:make :bin/homer)"
113  mv lisp/app/bin/homer ~/.local/bin/
114 #+end_src
115 
116 #+RESULTS:
117 #+begin_example
118 To load "bin/homer":
119  Load 1 ASDF system:
120  bin/homer
121 ; Loading "bin/homer"
122 ..................................................
123 [package bin/homer].
124 compressed 32768 bytes into 5094 at level 9
125 compressed 236388352 bytes into 9586720 at level 9
126 compressed 8552448 bytes into 2634135 at level 9
127 compressed 0 bytes into 9 at level 9
128 #+end_example
129 
130 *** packy
131 #+begin_src shell :results pp replace :exports code
132  sbcl --noinform --non-interactive \
133  --eval '(ql:quickload :bin/packy)' \
134  --eval "(asdf:make :bin/packy)"
135  mv lisp/app/bin/packy ~/.local/bin/
136 #+end_src
137 
138 #+RESULTS:
139 #+begin_example
140 To load "bin/packy":
141  Load 1 ASDF system:
142  bin/packy
143 ; Loading "bin/packy"
144 ..................................................
145 [package packy]...................................
146 [package bin/packy].
147 compressed 32768 bytes into 5086 at level 9
148 compressed 236388352 bytes into 9303422 at level 9
149 compressed 8323072 bytes into 2579589 at level 9
150 compressed 0 bytes into 9 at level 9
151 #+end_example
152 ** Rust
153 *** cc-init
154 #+begin_src shell :results output pp :exports code
155  cd rust/app/cli/cc-init && cargo install --path .
156 #+end_src
157 
158 #+RESULTS:
159 
160 *** tz
161 #+begin_src shell :results output pp :exports code
162  cd rust/app/cli/tz && cargo install --path .
163 #+end_src
164 
165 #+RESULTS:
166 
167 *** mailman
168 #+begin_src shell :results output pp :exports code
169  cd rust/app/cli/cc-install && cargo install --path .
170 #+end_src
171 
172 #+RESULTS:
173 
174 *** krypt
175 #+begin_src shell :results output pp :exports code
176  cd rust/app/cli/krypt && cargo install --path .
177 #+end_src
178 
179 #+RESULTS:
180 
181 * Source