OpenBSD以外、全部sudo化

このコミットが含まれているのは:
守矢諏訪子 2024-06-21 20:22:51 +09:00
コミット 96c5f9fdf0
1個のファイルの変更17行の追加11行の削除

ファイルの表示

@ -3,44 +3,50 @@
![](https://this.is.very.dangerous.software/2024-06-20-114921_1920x1080_scrot.png)
## インストールする方法 | Installation
### OpenBSD | NetBSD | FreeBSD
### OpenBSD
```sh
make
doas make install
```
### NetBSD | FreeBSD | Dragonfly BSD
```sh
make
sudo make install
```
### CRUX
```sh
doas prt-get bmake
sudo prt-get bmake
bmake
doas bmake install
sudo bmake install
```
### Void
```sh
doas xbps-install bmake
sudo xbps-install bmake
bmake
doas bmake install
sudo bmake install
```
### Artix
```sh
doas pacman -S base-devel bmake
sudo pacman -S base-devel bmake
bmake
doas bmake install
sudo bmake install
```
### OmniOS
```sh
gcc -Wall -Wextra -O3 -I/usr/include -o farfetch main.c src/*.c src/logo/*.c -L/usr/lib -lc
doas cp farfetch /usr/bin
doas cp farfetch.1 /usr/bin/share/man/man1
sudo cp farfetch /usr/bin
sudo cp farfetch.1 /usr/bin/share/man/man1
```
### Debian | Devuan | Ubuntu | Linux Mint | PopOS
[Kazuhikoさん](https://social.076.moe/conversation/1127279#notice-2122922)
```sh
doas apt install -y build-essential bmake git pciutils
sudo apt install -y build-essential bmake git pciutils
bmake
doas bmake install
sudo bmake install
```