Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yum installation #430

Open
vRallev opened this issue Jan 15, 2020 · 5 comments
Open

Yum installation #430

vRallev opened this issue Jan 15, 2020 · 5 comments

Comments

@vRallev
Copy link

vRallev commented Jan 15, 2020

Is it possible to install Tokei with yum? Our CI machines only can use yum and not dnf.

@XAMPPRocky
Copy link
Owner

Thank you for your issue! Looking at this search https://pkgs.org/download/tokei it doesn't appear to available on CentOS. I don't maintain any of the package mirrors, nor do I know what would be required to make available to yum. If anyone is willing to maintain the mirror, or knows what's required, I would be open to including it in the installation.

@vRallev Relatedly I'm curious what you're using tokei in CI for, if you can say?

@vRallev
Copy link
Author

vRallev commented Jan 15, 2020

We run a job once a day to collect stats about our repository: how many modules do we have, what's their size, what's the cost to maintain them. Part of the size and cost are lines of code. Right now we use CLOC, but I'd rather use Tokei because it would reduce the time this job runs from 12 to 5min.

@XAMPPRocky
Copy link
Owner

@vRallev Interesting, you can always get a pre-built binary from GitHub releases, while waiting for yum availability. https://github.com/XAMPPRocky/tokei/releases

@FranklinYu
Copy link

FranklinYu commented Mar 21, 2020

@vRallev IIUC CentOS is from RHEL, which is cut from Fedora. Now that tokei is already in Fedora, it will probably in next RHEL, thus next CentOS.

Is there any hosting service for user repository for CentOS? Like for Ubuntu at least one can maintain a package on Launchpad.

@jttgit
Copy link

jttgit commented Feb 21, 2022

I just ran into this issue on Centos 7 in 2022, so in case anyone else finds this from Google search like I did and wants to install it.. Being a rust program, you can install it on Centos from the command line: "cargo install tokei" (that requires rust/rustup/cargo to be installed and it installs by default as a user (instead of global) app, but those are easy issues). Thanks for a killer program.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants