sudo pacman-key --refresh-keys
sudo pacman -SyyuFirst, go to the directory containing the PKGBUILD file for the package. If you're using YAY (as you should), that path is ~/.cache/yay/<package-name>.
Once there, as there is a Git repository present, just reset the tree to your desired version.
E.g., to go to the previous version:
git reset --hard HEAD^1
Then, build with Makepkg:
makepkg -si
Install cups and system-config-printer, and enable the CUPS service:
sudo pacman -S cups system-config-printer
sudo systemctl start cups
sudo systemctl enable cupsTip
You can check if CUPS is running by going to http://localhost:631/
- LaTeX (duh)
- Java
- The latest version of the
plantuml.jarfile
We'll make use of the plantuml package:
\documentclass{...}xdg-terminal-exec is a proposed standard for selecting which terminal application to use when opening files in the desktop.
To configure it, first install it (e.g. xdg-terminal-exec through AUR). Then you must create a symnlink in /usr/share/xdg-terminals/ to your terminal's .desktop file (typically found in /usr/share/applications/).
Example - Ghostty:
sudo ln -s /usr/share/applications/com.mitchellh.ghostty.desktop /usr/share/xdg-terminals
First you must generate one SSH key per account (save them with different names).
E.g.:
~/.ssh/
├─ id_ed25519
├─ id_ed25519.pub
├─ id_ed25519-work
---
marp: true
style: |
.columns {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
}
---
The best way to automagically install a third party C++ library is through CMake, downloading the file at setup time.
We do this in 3 steps:
- Download the header file from the URL (e.g. GitHub) to the build directory, if it doesn't exist already.
if (NOT EXISTS "${CMAKE_CURRENT_BINARY_DIR}/mylib.hpp") file ( DOWNLOAD https://raw.githubusercontent.com/rajayonin/mylib/main/mylib.hpp