Skip to content

Commit da6e7f3

Browse files
committed
Updated README - Linux installation
1 parent ae8c7d6 commit da6e7f3

File tree

1 file changed

+24
-14
lines changed

1 file changed

+24
-14
lines changed

README.md

Lines changed: 24 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,20 +48,30 @@ After all, UNIX-compatible shell script is THE most universal coding language.
4848
npm install -g @apify/mcpc
4949
```
5050

51-
**Linux users:** `mcpc` uses the OS keychain for secure credential storage, which requires the [Libsecret](https://wiki.gnome.org/Projects/Libsecret)
52-
library. Install it with:
53-
54-
```bash
55-
# Debian/Ubuntu
56-
sudo apt-get update
57-
sudo apt-get install libsecret-1-0
58-
59-
# Fedora/RHEL/CentOS
60-
sudo dnf install libsecret
61-
62-
# Arch Linux
63-
sudo pacman -S libsecret
64-
```
51+
**Linux users:** `mcpc` uses the OS keychain for secure credential storage via the
52+
[Secret Service API](https://specifications.freedesktop.org/secret-service/). Two things are required:
53+
54+
1. **`libsecret`** — the shared library (client side):
55+
```bash
56+
# Debian/Ubuntu
57+
sudo apt-get install libsecret-1-0
58+
59+
# Fedora/RHEL/CentOS
60+
sudo dnf install libsecret
61+
62+
# Arch Linux
63+
sudo pacman -S libsecret
64+
```
65+
66+
2. **A running secret service daemon** — on desktop systems (GNOME, KDE) this is already provided
67+
by gnome-keyring or KWallet. On headless/server/CI environments you need to install and start one:
68+
```bash
69+
# Debian/Ubuntu
70+
sudo apt-get install gnome-keyring
71+
72+
# Then start it (e.g. in CI):
73+
dbus-run-session -- bash -c "echo -n 'password' | gnome-keyring-daemon --unlock && your-command"
74+
```
6575

6676
## Quickstart
6777

0 commit comments

Comments
 (0)