@@ -258,23 +258,38 @@ <h2 id="messages">Messages</h2>
258258 More cats, funnier lines, more nuanced states.
259259 </ p >
260260
261- < h2 > Install via apt repository</ h2 >
261+ < h2 id =" install-quick " > Install via apt repository</ h2 >
262262 < section class ="apt-section ">
263263 < p >
264- Add the
264+ One line. Sets up the
265265 < a href ="https://ra-yavuz.github.io/apt/ "> ra-yavuz apt repository</ a >
266- and install with apt. Auto-updates via < code > apt upgrade</ code > .
266+ if not already added, refreshes the package index, and installs meowtrics.
267+ Idempotent, safe to re-run. Auto-updates via < code > apt upgrade</ code > .
267268 </ p >
268- < pre > < code > sudo install -m 0755 -d /etc/apt/keyrings
269+ < pre > < code > sudo bash -c 'set -e; install -m 0755 -d /etc/apt/keyrings && curl -fsSL https://ra-yavuz.github.io/apt/pubkey.gpg -o /etc/apt/keyrings/ra-yavuz.gpg && echo "deb [signed-by=/etc/apt/keyrings/ra-yavuz.gpg] https://ra-yavuz.github.io/apt stable main" > /etc/apt/sources.list.d/ra-yavuz.list && apt update && apt install -y meowtrics'
270+ systemctl --user enable --now meowtrics</ code > </ pre >
271+ < p style ="opacity: 0.85; ">
272+ If you already added the < code > ra-yavuz</ code > apt repo earlier, all you need is
273+ < code > sudo apt update && sudo apt install meowtrics</ code > . The
274+ < code > sudo apt update</ code > step is required: without it apt will not see new
275+ packages or new versions.
276+ </ p >
277+ < details >
278+ < summary > Step by step (manual repo setup)</ summary >
279+ < pre > < code > # 1. Trust the signing key
280+ sudo install -m 0755 -d /etc/apt/keyrings
269281curl -fsSL https://ra-yavuz.github.io/apt/pubkey.gpg \
270282 | sudo tee /etc/apt/keyrings/ra-yavuz.gpg > /dev/null
271283
284+ # 2. Add the apt source
272285echo "deb [signed-by=/etc/apt/keyrings/ra-yavuz.gpg] https://ra-yavuz.github.io/apt stable main" \
273286 | sudo tee /etc/apt/sources.list.d/ra-yavuz.list
274287
288+ # 3. Refresh the package index, then install
275289sudo apt update
276290sudo apt install meowtrics
277291systemctl --user enable --now meowtrics</ code > </ pre >
292+ </ details >
278293 </ section >
279294
280295 < h2 > Install single .deb from GitHub Releases</ h2 >
0 commit comments