archlinux/README.md

86 lines
2.2 KiB
Markdown
Raw Normal View History

2022-06-29 22:39:36 +00:00
## Arch Linux
2022-06-29 21:01:38 +00:00
2022-06-29 22:39:36 +00:00
Some configurations and PKGBUILD shits here.
2022-06-30 17:02:32 +00:00
## Get Started
2022-06-29 22:39:36 +00:00
2022-06-30 17:02:32 +00:00
Import GPG Key:
2022-06-29 22:39:36 +00:00
2022-06-30 17:02:32 +00:00
```sh
wget -O /tmp/m.ac.asc https://repo.m.ac/B1F6E658B6A3DC2A2E30A09D29A7777777777777-public.asc
sudo pacman-key --add /tmp/m.ac.asc
```
Verify the fingerprint:
```sh
pacman-key --finger 29A7777777777777
```
You may get the same result:
```sh
$ pacman-key --finger 29A7777777777777
gpg: Note: trustdb not writable
pub ed25519 2022-05-30 [SC]
B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777
uid [ unknown] Xiufeng Guo <i@m.ac>
sub cv25519 2022-05-30 [E]
```
Finally, you must locally sign the imported key:
```sh
sudo pacman-key --lsign-key 29A7777777777777
```
Now, verify again:
```sh
$ pacman-key --finger 29A7777777777777
gpg: Note: trustdb not writable
pub ed25519 2022-05-30 [SC]
B1F6 E658 B6A3 DC2A 2E30 A09D 29A7 7777 7777 7777
uid [ full ] Xiufeng Guo <i@m.ac>
sub cv25519 2022-05-30 [E]
```
Then add `m.ac` repo to `/etc/pacman.conf`:
```sh
sudo tee -a /etc/pacman.conf > /dev/null <<EOF
[m.ac]
Server = https://repo.m.ac/archlinux/$arch
EOF
```
Update System:
```sh
sudo pacman -Su
```
Now you can install packages.
## Packages
I mainly maintain some out-of-date packages from AUR or binaries built on my own PC to save a lot of time shits.
Here is the list:
| Name | AUR PKGBUILD | My PKGBUILD |
| ------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
| synergy1-bin | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=synergy1-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/synergy1-bin/PKGBUILD |
| nali-go-bin | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=nali-go-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/nali-go-bin/PKGBUILD |
| To Be Continued... | | |
## License
WTFPL
2022-06-29 22:39:36 +00:00
## Terms
```
No Warranty. The Software is being delivered to you “AS IS” and with ALL FAULTS.
```