fastfetch-cli / fastfetch

An actively maintained, feature-rich and performance oriented, neofetch like system information tool.
MIT License
9.36k stars 383 forks source link

Installation is not very intuitive #76

Closed ghost closed 3 years ago

ghost commented 3 years ago

A nice install.md file would be useful. I followed all the steps and still it didn't build correctly.

LinusDierheimer commented 3 years ago

Well there aren't any instruction on how to install it, as this is very distribution dependent, and should therefore be handled by the package manager or be done manually. The build instructions however should work flawlessly if you installed all needed dependencies and followed them correctly. If you need help with it, post the error output. If the build succeeded you can copy over the executable to any folder in your path to have it available globally (for example /usr/local/bin/). Writing a package script, if not done by anybody else, would be the best way of course. As a reference you can look at the AUR PKGBUILD script here.

LinusDierheimer commented 3 years ago

Any updates on this?

ghost commented 3 years ago

Yeah all of the dependencies have to be built from source. It's a very convoluted method and I feel like adding an installation script would be much more better.

LinusDierheimer commented 3 years ago

My guess is using ubuntu (or a ubuntu based) distribution, since the required library headers are not bundled with the package providing the library. Ubuntu provides a different package including those, very often packagename-dev or packagename-devel. For example for libpci you need to install libpci-dev which depends on libpci and provides /usr/include/pci/pci.h. Same applies for the other dependencies.

As you see, the names. amount, etc of required packages differ a lot between distributions. That is why is hard to provide an universal build / install script. Again, writing an apt package and add it to the ubuntu repos (or whatever you use) would be the best way.

LinusDierheimer commented 3 years ago

Can this be closed?

ghost commented 3 years ago

Yeah, there are some alternative "package managers" like pacstall which make it easier to install on Ubuntu.