What is the best way to install programs from source ?
I wanted to try the
Ly
login manager https://github.com/fairyglade/ly, but I'm not sure how I can install this since it's not like an rpm or a flatpak.
Could it be a solution to make a script that will run at build-time and do the following :
- install required dependencies for compilation (zig
, libc
...)
- clone the repository
- compile the programs
- copy binaries and systemd file to the right folder59 Replies
Solution
oh, sorry, I missed this page ^^
I will take a look at it
Also, reading Ly's README;
Warning: You may encounter issues with SELinux on Fedora. It is recommended to add a rule for Ly as it currently does not ship one.you may need to write a rule for SELinux
yes I will deal with that later
but thanks
It looks amazing 😇
Make sure to use the
unstable_cli
option for the github actionDoes the
src
and dest
option from the copy module support syntax like /etc/ly/*.sh
?no
Umm it supports whatever the
COPY
instruction supports
And I think it supports wildcardhow to do so in local with the bluebuild cli ? (I don't understand the
or using the stages feature when compiling
in the doc)Right
So locally, you will need to install it from source. Do you have cargo installed?
You can install it with rustup https://rustup.rs/
rustup.rs - The Rust toolchain installer
The Rust toolchain installer
no
Then you can run
cargo install --all-features blue-build
there was no error just using
bluebuild build
(I think it could have thrown a warning or an erro)
I can do this in a distrobox ?Sure? You would still need docker to run the build
Our images aren't distrobox ready. I have an issue out for it