pop-os / shop

Pop!_Shop
GNU General Public License v3.0
92 stars 19 forks source link

[SPEED UPGRADE] enable sudo "nala install" instead of "apt install" #411

Open Areopagitics opened 1 year ago

Areopagitics commented 1 year ago

Distribution (run cat /etc/os-release):

Related Application and/or Package Version (run apt policy $PACKAGE NAME):

When installing most apt packages, pop shop is very slow.

Issue/Bug Description:

Very slow.

Steps to reproduce (if you know):

Expected behavior:

Other Notes:

Nala will speed things up tremendously, and is much cleaner ... a long due updgrade.

https://gitlab.com/volian/nala

Areopagitics commented 1 year ago

https://linuxiac.com/nala-apt-command-frontend/

-parallel downloads -better package management ...

leviport commented 1 year ago

Nala is merely a CLI frontend, so presumably Pop Shop would use whatever Nala is using in the background, if this idea were explored further.

mmstick commented 1 year ago

They made a Rust library for interfacing with libapt: https://gitlab.com/volian/rust-apt

But this project is written in Vala and uses packagekit rather than apt.

Areopagitics commented 1 year ago

Nala is merely a CLI frontend, so presumably Pop Shop would use whatever Nala is using in the background, if this idea were explored further.

would be very nice if someone got this to work ... I notice a huge speed increase when using Nala vs the Pop Shop

cyrneko commented 1 year ago

The reason that Nala is faster than pure apt or the pop!_shop is due to parallel downloads.

This is something that can be implemented without having to use Nala as a standalone feature of the Pop!_Shop.

mmstick commented 1 year ago

The appcenter doesn't interface with apt directly, but packagekit because it operates on appstream metadata rather than package metadata.