gabrieldemian / vincenzo

A BitTorrent client with vim-like keybindings and a terminal based UI.
https://github.com/gabrieldemian/vincenzo
MIT License
145 stars 7 forks source link

Adding documentation about how to install? #29

Open ReneFroger opened 1 year ago

ReneFroger commented 1 year ago

Your work is appreciated! I would like to try it out too, I tried it, but I couldn't figure out how I could install it on an Ubuntu system.

I tried the following:

cargo install vincenzo, sudo apt install vincenzo, and cloned this repository. Then in the src/vcz_ui I did the following: cargo build --locked --release --bin vcz_ui without result.

Perhaps it's an idea to add instructions how to build from source?

Thanks in advance!

gabrieldemian commented 1 year ago

Hello @ReneFroger !

To fix your problem, instead of compiling from "src/vcz_ui" it should be "src/vcz". This will probably work for you on Ubuntu and you can use the program normally.

Now let me explain why "vcz_ui" failed.

Since the Daemon is detached from the UI, that allows us to have 3 different binaries:

Having one binary for the daemon and another one for the UI is good for a lot of reasons such as:

About the documentation to compile from source, I will add this in the next release, thank you for the suggestion!

Right now we don't support downloading from package managers like AUR or apt, but I will try to add this in the future. I'm working on some improvements but there is already an issue to this #8