this post was submitted on 18 Apr 2024
241 points (98.8% liked)

Linux

48008 readers
1028 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
all 49 comments
sorted by: hot top controversial new old
[–] [email protected] 51 points 6 months ago (2 children)

Kinda miffed they didn't include a screenshot of the colors, but I'm guessing the readability will be vastly better!

[–] [email protected] 4 points 6 months ago
[–] [email protected] 28 points 6 months ago (2 children)

Nala is a much nicer frontend for apt, which includes additional features like parallel downloads

[–] [email protected] 6 points 6 months ago

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.

[–] [email protected] 1 points 6 months ago

i tought apt already did this if you were downloading from different mirrors?

[–] [email protected] 23 points 6 months ago

10 year old bug?

What are they talking about, that bug report is from 2014‽

... Fuck

[–] [email protected] 19 points 6 months ago

I'm using nala for some time now, it is pretty 😀 (it is a frontend for apt, with colours, history, undo, etc)

[–] [email protected] 19 points 6 months ago

Not one single screen shot.

[–] [email protected] 17 points 6 months ago (1 children)

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:

http://no-color.org/

[–] [email protected] 6 points 6 months ago (2 children)

Agreed. I haven't read the article yet, but my first thought was "how am I going to turn that off"

[–] [email protected] 4 points 6 months ago

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

[–] [email protected] 2 points 6 months ago (2 children)

It'll be fun filtering all the color codes out of build logs, that's for sure. :/

[–] [email protected] 5 points 6 months ago

Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that

[–] [email protected] 4 points 6 months ago

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.

[–] [email protected] 10 points 6 months ago

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 😁

[–] [email protected] 7 points 6 months ago

Cool now do parallel downloads and I'll quit using Nala

[–] [email protected] 6 points 6 months ago (1 children)

Y'all need Nala. Debian should just make it their default and call it a day.

[–] [email protected] 8 points 6 months ago* (last edited 6 months ago)

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

[–] [email protected] 4 points 6 months ago

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!

[–] [email protected] 4 points 6 months ago

Take that snap!

[–] [email protected] 3 points 6 months ago* (last edited 6 months ago) (1 children)

i tought debian didnt have colored terminals by default? at least my server installs don't.

[–] [email protected] 12 points 6 months ago

"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.

[–] [email protected] 2 points 6 months ago