• Welcome to Peterborough Linux User Group (Canada) Forum.
 

Nala - alternative to APT

Started by Jason, September 16, 2022, 02:44:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jason

If you prefer to upgrade and install your software in the terminal, Nala works better than APT(package manager for Debian/Ubuntu-based distros), according to Chris Titus. It looks a lot better, too, and provides better information than using APT.

https://www.youtube.com/watch?v=oroSkR4Nn_w

Let me know what you think. Do you do installs or upgrades in the terminal? Do you ever have issues with APT, things breaking or even just finding it slow? And if so, would you give this a shot?

I haven't issues with anything breaking with APT except the occasional time when an upgrade fails for whatever reason (the rare system freeze requiring a reboot) and then APT is locked. But it's easy to fix it. But sometimes it does feel slow if one of the sources is and spends too much before timing out. The odd time it won't tell me if there are updates because of a broken source but that's exceptionally rare.

I tried it and took some screenshots you can view below. Rember to click on them for full-sized versions.

I have to say, it was damn fast. I'll have to try it again for the next update and then see about using it on our server. I'd like to compare upgrading (updating, really) with APT to nala in time spent with the same packages but I'd need to make a system image to do that. Maybe I will if there's interest.

If you try it, let us know how it goes.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

ssfc72

Nice, thanks Jason.  I may give Nala a try, sometime.

I usually just use the built in updater to Mint or MXLinux to know when there are updates avaiable and to download and install.

I did run into an issue with MXLinux where for some reason the built in updater icon was no longer showing that updates where available.
Normally I found with MXLinux , as opposed to Mint, that MX seemed to have more updates that were being made available, each day.
Then all of a sudden the MXLinux update icon stoped showing that updates where available.  I had to use the terminal and APT to get updates to work..
I then discovered that if I right clicked on the MXLinux update icon, then a menu would come up and the menu had a selection to to the update.
I had to do this a number of times over a period of a week or so, and finally the built in MXLinux update icon began to show when updates were available again.
Mint 20.3 on a Dell 14" Inspiron notebook, HP Pavilion X360, 11" k120ca notebook (Linux Lubuntu), Dell 13" XPS notebook computer (MXLinux)
Cellphone Samsung A50, Koodo pre paid service

Jason

#2
Which version of MX Linux are you using, Bill? I mean the desktop environment (DE), not the numbered version.

I ask because I'm using the Plasma DE version and the updates involve using Discover. When I click on the updates notifier, that's what opens up. I'm not sure if that's part of Discover or a separate program. But I get regular notifications of updates. I believe the default version of MX Linux uses the Xfce DE which may have a notifier separate from the GUI update program.

However, do you think you weren't getting update notifications or just not getting them as often as you think you should?

If you go six days without updates, you might think the notifier is broken. But every distro has settings for how often it checks for updates, how often you're notified, and what kind of updates you want. And security updates, and possibly others, can be installed automatically. Many distros only check for updates every 3 days and some install security updates automatically so you never hear of them. Look for the Software Sources program under your program menu in System or Settings or in whatever actual update program you use.

It could have been a bug though, I did see some updates to MX tools recently.

Regarding it having a lower number of updates than Mint, remember that MX Linux is based on Debian, not Ubuntu. While Ubuntu is based on Debian,  they use a different recipe and customized ingredients. Some packages aren't even compatible. Ubuntu isn't Debian.

Hope this helps.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

Jason

After using nala a few times to install and update software, it's much faster than using Discover in Plasma but that's not saying much. So is apt. But it feels faster than apt, too. Regardless, it's a lot more pleasant looking and provides better information in showing how far along you are in big updates.

However, I've hit one snag. I have some extra Plasma themes installed. Discover prompts me to update them where necessary. But nala doesn't see them. So I'd have to use them both or do without the extra themes. I don't like having to use two programs when one would do the job. So not sure if I'll continue using it on the desktop.

But as long as I can confirm it's getting all the packages, I'll use it on my server.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

fox

Are your extra themes in the repos?
Ubuntu 24.10 on 2019 5k iMac
Ubuntu 24.04 on Dell XPS 13

Jason

Quote from: fox on September 20, 2022, 06:47:34 AM
Are your extra themes in the repos?

Good question. Honestly, I don't know. I just the Plasma setting for Themes and added them from there. I think they're actually stored in a zipped format differently from a package. So it may be that only Discover knows how to get them. I'll have to investigate further.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13

buster

I would guess that the majority of people using Linux would prefer, because of lack of interest in making life more complex, the little button that is supplied for updates. Click the update button, continue with whatever you are using the computer for, and let it do the work.

It doesn't have to be a quick or perfect update. As long as the thing keeps working reasonably well. Sort of like a car.

It needs to be good enough.
Growing up from childhood and becoming an adult is highly overrated.

Jason

You don't really have that option on Linux servers. But I think most Linux users are just as comfortable at the command line as using a GUI. If we were primarily concerned with it being easy, we'd use Windows although there are many ways in which Windows isn't easier. People have just grown used to pain and don't recognize it anywhere.

Even with a car, lots of people prefer to check their oil, refill their window washer fluid and check the air on their tires. Some even go as far as changing their own oil or topping up their transmission fluid. Even for me, that stuff isn't hard and you could fit everything I know about cars onto a postage stamp.
* Zorin OS 17.1 Core and Windows 11 Pro on a Dell Precision 3630 Tower with an
i5-8600 3.1 GHz 6-core processor, dual 22" displays, 16 GB of RAM, 512 GB Nvme and a Geforce 1060 6 GB card
* Motorola Edge (2022) phone with Android 13