svgbob
svgbob copied to clipboard
Add installation instructions
First thanks for creating this tool!
On Ubuntu 21.04 I tried to install the binary with from crates but cargo install svgbob failed with error: there is nothing to install in svgbob v0.6.2, because it has no binaries and cargo install svgbob_cli failed with
error[E0658]: arbitrary expressions in key-value attributes are unstable
--> /home/voj/.cargo/registry/src/github.com-1ecc6299db9ec823/jss-0.4.0/src/lib.rs:4:10
|
4 | #![doc = include_str!("../README.md")]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information
Installation via snap is not easy neither: snap install svgbob tells to use snap install --edge svgbob which then tells to use snap install --edge --devmode svgbob to get an explicitly unstable release of svgbob.
I guess there are more and better ways to install svgob. Anyway a section "Installation" in README.md would help, even it its does not cover all methods.
In the docker image rust:latests the installation of svgbob_cli works fine.
# cargo --version
cargo 1.57.0 (b2e52d7ca 2021-10-21)
# rustc --version
rustc 1.57.0 (f1edd0429 2021-11-29)
When I try sudo snap install --edge svgbob in Debian I get this:
The publisher of snap "svgbob" has indicated that they do not consider this revision to
be of production quality and that it is only meant for development or testing at this point.
As a consequence this snap will not refresh automatically and may perform arbitrary system
changes outside of the security sandbox snaps are generally confined to, which may put your
system at risk.
If you understand and want to proceed repeat the command including --devmode; if instead you
want to install the snap forcing it into strict confinement repeat the command including
--jailmode.
What does "outside of the security sandbox" practically mean? It sounds scary... I'm not sure if I dare trying devmode...
PS. I tried added jailmode but my system cannot honour that flag and aborts.
Don't use the snap/snapcraft version of svgbob. I was just experimenting with snapcraft.