Installation on Arch Linux
September 3, 2022 ยท View on GitHub
With the aur
The easiest and safest way to install newm is by using its AUR package.
example:
yay -S newm-git
(subsitute yay with your aur helper,eg: paru)
From source (archlinux specific)
Maybe you want to test features in development or help with debugging, whatever the case, the following tutorial aims to show how to:
- install a different branch from the main newm branch.
- install from a local copy of the repo
- install a old release
- Clone PKBUILD
yay -G newm-git
- Navigate to the downloaded folder
cd newm-git
- Clone pywm and newm
git clone https://github.com/jbuchermn/pywm.git --branch=<any branch or tag>
git clone https://github.com/jbuchermn/newm.git --branch=<any branch or tag>
- Build and install
makepkg -sic
Note for iterative building: remove the last build package with
rm *zstbefore building,or else it will reinstall the same package that was previously built
Tips and tricks / Install help
start-newm -d core dumps as soon as it is started!
- Q: I started newm with
start-newm -dand it core dumped! - A: try installing polkit(
pacman -S polkit). I can't explain it, but it has fixed my issues in the past. - Q: What if it still doesn't work?
- A: Open an issue and post your log.