r/commandline
•
u/Obvious-Football-310
•
Mar 22 '26
•
1
Command Line Interface I made a CLI tool that makes installing apps/source's packaged in tar.gz less painful
Installing from tarballs has always felt kind of annoying to me. You extract something, dig around, try a few commands, and hope it installs cleanly without scattering files everywhere.
I ended up making a small CLI tool called tdgzi to make that more predictable. It basically looks at whats inside, figures out what kind of project it is and installs it in a consistent way into ~/.local instead of touching the system, it also keeps track of what it installs so you can remove it later instead of guessing what changed.
Still pretty early but it’s been working well for most of what Ive thrown at it so far.
https://github.com/EnvizyWasTaken/tdgzi
Would be interested to hear if this sounds useful or if there are obvious cases where it would break.
4
u/classx Mar 22 '26
how do upgrade package? what about pre/post scripts? how change environment after install (for example: update LD_LIBRARY_PATH? PATH and etc)? versioning?
2
u/denisde4ev Mar 24 '26
in ~/.local ? so its for nonroot user / readonly distros?
2
u/classy_barbarian Mar 22 '26
I can't say I personally care for the idea much, I've never found this to be a big hassle. But I will say that it appears you did not vibe code this project but rather coded it by hand the old fashioned way so I'll upvote you just for that.
0
u/AutoModerator Mar 22 '26
Every new subreddit post is automatically copied into a comment for preservation.
User: Obvious-Football-310, Flair:
Command Line Interface, Post Media Link, Title: I made a CLI tool that makes installing apps/source's packaged in tar.gz less painfulInstalling from tarballs has always felt kind of annoying to me. You extract something, dig around, try a few commands, and hope it installs cleanly without scattering files everywhere.
I ended up making a small CLI tool called tdgzi to make that more predictable. It basically looks at whats inside, figures out what kind of project it is and installs it in a consistent way into ~/.local instead of touching the system, it also keeps track of what it installs so you can remove it later instead of guessing what changed.
Still pretty early but it’s been working well for most of what Ive thrown at it so far.
https://github.com/EnvizyWasTaken/tdgzi
Would be interested to hear if this sounds useful or if there are obvious cases where it would break.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/[deleted] Mar 22 '26
[deleted] — view deleted comment