Trying to Rust-ify my system as much as possible. Is installing a new shell and a new terminal easy?
Is it literally just "install mynewshell" "uninstall bash".
"install alacritty" "uninstall xfce terminal"
Someone mentioned that "coreutils" has been rewritten in Rust, but "coreutils" is a scary word and "uninstall coreutils" sounds like "bye bye system and all my data".
Thanks for your help!
About this post
- Posted
- Archived
- Score
- 0 · 28% up
- Kind
- Text
- ID
- vmoeph
23 comments
You can't uninstall bash, you will break half your system with it. You can use a different shell as your interactive shell using
chsh. But also, "Rust" does not mean "better", and it might be a good idea to stick to a more conventional setup at least while you're new.Glad I asked!
So are you saying that I must install this helper program first called "chsh", then install whatever my new shell is?
How do I indicate that I would prefer everything to use the new shell?
Thanks.
chshis already installed on your system. It will not change the shell used for "everything", and attempting to do that will most likely break your system. It will change the default shell that runs when you start an interactive session, either in a TTY or a terminal emulator.As much as I love rust as a language here is why you shouldn't do this:
As an example, I tried out a decompression tool in rust and there was a bug in it that ended up deleting my entire download directory. Thankfully it wasn't an important folder.
If I were you I would stick to the standard tools, and maybe replace one or two things as you go and see what works for you and what doesn't.
When you're ready to try some new tool, you can pick something from this list: https://github.com/unpluggedcoder/awesome-rust-tools
Weird thread...
Very helpful. Thanks.
Can't tell if you're joking or not XD
I am curious... What is the point? Rust is just a language, if the program is good or bad depends more on people writing it, then the language it is written in. I see language selection as engineering decision, not something user should care about. Yeah, sometimes it can make difference, when something pulls loads of dependencies, because it is only program i use in given language. But that is something different then quality of the program itself.
Well, if you want to go that far, you should check manual, infopage and wiki of the package to make sure you won't break anything.
Yeah I totally get there is a LOT of documentation available.
That said, I'm sure I'm not the first person to try this and you all usually have a wonderful habit of quickly condensing down what to do here and cutting through all the other stuff that might mess someone up.
Is there a particular reason to switch to rust coreutils? It feels like a lot of effort for no change - the idea of the rewrite is to have coreutils be available cross-platform as a single source package so the tools that rely on it can function elsewhere.
Consider the Nu-shell (haven’t tried it personally, I use fish), Paru (pacman helper written in Rust), Exa (ls alternative), ripgrep (grep alternative)
I wouldn’t remove the originals though, just install these on top, and set aliases
Why rust?
You cannot delete bash or coreutils. (You can force them, but say bye-bye to a working system)
You should not use the rust coreutils.
For the terminal itself, go ahead.
If you want to CHANGE your shell, that's fine. Just install the new shell and
chsh -s /usr/bin/<shell name>.