Kinda miffed they didn't include a screenshot of the colors, but I'm guessing the readability will be vastly better!
Nala is a much nicer frontend for apt, which includes additional features like parallel downloads
I have heard of Nala before but have never actually taken the time to install it. Based on your comment, I just checked it out on one of the Debian 12 systems I run. Turns out it was right in the repos.
Wow. So good. I cannot believe it took me this long. Jealous of it on the Arch installs now.
I installed it on Ubuntu 22.04 as well but it was not there when I searched. I had to add the jammy-backports repo first.
Thank you for the push.
i tought apt already did this if you were downloading from different mirrors?
10 year old bug?
What are they talking about, that bug report is from 2014‽
... Fuck
Not one single screen shot.
I'm using nala for some time now, it is pretty 😀 (it is a frontend for apt, with colours, history, undo, etc)
If you're anything like me and find coloured text is often unreadable in a terminal window, here's the list of how to address the issue:
Agreed. I haven't read the article yet, but my first thought was "how am I going to turn that off"
Probably it will have an option --no-color or something as well as config. Somebody will ask for it for a specific niche use case and it might not be hard to implement within apt so they add it
It'll be fun filtering all the color codes out of build logs, that's for sure. :/
Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that
So far almost any Linux software I have used and supports colored output automatically turns off coloring if it detects that stdout is not a terminal.
And this is what Debian users will be doing more often : Installing, uninstalling and installing software just because APT and nala is so pretty and colorful. It adds a whole new flavor to the art of Procrastination 😁
Y'all need Nala. Debian should just make it their default and call it a day.
Nala is too cool but kinda messy if you resize terminal. It puts things in box hsing unicode characters and nake it look like some gui. Also nala is using python-apt and it also require apt. This brings out of the box ecperience with apt itself
Edit: typos
Cool now do parallel downloads and I'll quit using Nala
This is the best summary I could come up with:
Major updates to Debian's Advanced Packaging Tool don't come along very often, but APT 2.9 is here with a significant facelift.
It's only just over a year since we reported on APT 2.6, development of which was spurred by the inclusion of soft-loadable firmware in the default installation media for Debian 12.
It also lists the important section of packages to be removed last so they don't scroll off the top of the screen during large operations.
The Reg FOSS desk suspects that the changes are in part aimed at catching up with two other packaging tools.
The DNF packaging tool used in Fedora, Red Hat and the RHELatives has attractively formatted output like this … but closer to home, Nala, an alternative command-line package-management tool for Debian and Ubuntu, brings some of the DNF look and feel to .deb-based distros.
We have recommended Nala previously and Teejeetech's Snap and Flatpak-free Ubuntu remix Zinc – now renamed Asmi – includes it as standard.
The original article contains 377 words, the summary contains 163 words. Saved 57%. I'm a bot and I'm open source!
Take that snap!
nala
i tought debian didnt have colored terminals by default? at least my server installs don't.
"Color terminal" isn't a thing. Applications can choose to output ANSI escape codes which most terminal emulators will render as color changes. Whether and which colors get used depends on the value of $TERM
, which informs the application of the capabilities of the terminal emulator.
So if your remote servers don't have color, either $TERM
isn't being set or its value is unknown to the server. Most modern terminal emulators support at least the same escape codes as xterm-256color
though so you can always try to export that.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0