# reverting to GNU coreutils and sudo on ubuntu 26.04

---

okay actually i use lubuntu but like same difference.

the other day i upgraded from 24.04 to 26.04— i completely YOLO&#39;d it, by
the way, and somehow didn&#39;t break anything except a bit of my desktop
theming— and look, guys, i tried to get used to these newfangled rust
coreutils (&quot;uutils&quot;) and sudo, but i just couldn&#39;t do it. i hated seeing
my password as i entered it when running `sudo`. i did not like my tools
behaving slightly differently than they did before the change. i will
say, at least, that the new `apt` interface is kinda nice.

but yeah i just hate any sort of change when using my computer. so i
reverted!

it was kind of annoying trying to find guidance on how to do this? like,
i found it after 5 minutes, don&#39;t get me wrong. it wasn&#39;t *that* hard.
but it&#39;s kinda wild to me that canonical didn&#39;t provide any guidance on
reverting the change with their uutils documentation. but whatever, i
found it on stack overflow (my beloved).

## here&#39;s how to do it

disclaimer: i am not responsible if you break your system in the process
of doing this. you can always reinstall idk man

### coreutils

it&#39;s pretty much just two commands for coreutils:

```bash
# remove new uutils
sudo apt-get remove coreutils-from-uutils --allow-remove-essential

# reinstall GNU coreutils
sudo apt install coreutils-from-gnu
```

i got a conflict error a few times while i was doing this, but i think
that was due to uutils being present, so i&#39;m half sure you have to
uninstall it first.

after GNU coreutils is installed, i&#39;d verify the versions of tools like
`cat` and `ls` just to be sure:

```bash
ls --version

cat --version
```

### sudo

you don&#39;t have to reinstall original sudo i think? like it was already
on my system, just renamed to `/usr/bin/sudo.ws`. in that case, all you
have to do is run `update-alternatives`:

```bash
sudo update-alternatives --config sudo
```

enter the number corresponding to `sudo.ws`, and that should become the
default.

okay that&#39;s it. if anyone broke their system following this post it&#39;s
not my fault. live laugh love and learn
