Time consumung: installing and updating new software or kernels..?  [Solved]

Message
Author
carsti
Posts: 14
Joined: Mon May 02, 2022 9:58 am

Time consumung: installing and updating new software or kernels..?

#1 Post by carsti »

Hi,

I come from the Ubuntu/Linux Mint side of things. When I install/update software or kernels, it is downloaded and installed. With MX there was always a VERY time consuming compilation step. I did run it on a slow Chromebook with limited HDD space and it took forever and needed a lot of free disk space.

Is this process different from Ubuntu/Mint? Why? Why is there a compilation step? Or did I do something wrong?

User avatar
Eadwine Rose
Administrator
Posts: 15339
Joined: Wed Jul 12, 2006 2:10 am

Re: Time consumung: installing and updating new software or kernels..?

#2 Post by Eadwine Rose »

Kernels can be found in MX Package Installer. It installs them for you.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
dolphin_oracle
Developer
Posts: 22817
Joined: Sun Dec 16, 2007 12:17 pm

Re: Time consumung: installing and updating new software or kernels..?

#3 Post by dolphin_oracle »

we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

carsti
Posts: 14
Joined: Mon May 02, 2022 9:58 am

Re: Time consumung: installing and updating new software or kernels..?

#4 Post by carsti »

dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.

Thanks. I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.

User avatar
kmathern
Developer
Posts: 2604
Joined: Wed Jul 12, 2006 2:26 pm

Re: Time consumung: installing and updating new software or kernels..?

#5 Post by kmathern »

carsti wrote: Thu Feb 01, 2024 11:25 am
dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.

Thanks. I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.

Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.

carsti
Posts: 14
Joined: Mon May 02, 2022 9:58 am

Re: Time consumung: installing and updating new software or kernels..?

#6 Post by carsti »

kmathern wrote: Thu Feb 01, 2024 11:49 am
carsti wrote: Thu Feb 01, 2024 11:25 am
dolphin_oracle wrote: Thu Feb 01, 2024 11:12 am we ship some drivers that are dkms packages. broadcom and realtek drivers. if you don't need them, remove them. the dkms rebuilds should only be happening on kernel updates, unless you have some incomplete update that previously occurred and some dkms package failed to build or install fully. apt/dpkg will keep trying until it succeeds every time you install/remove anything.

Thanks. I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.

Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.

Thanks.

How is Ubuntu or Mini handling this without compilation?

I don't use that machine anymore. I just wanted to do a fresh install with the latest MX on a machine that does not need any of these drivers. Are they still aded and compiled every time?

Charlie Brown

Re: Time consumung: installing and updating new software or kernels..?

#7 Post by Charlie Brown »

On that machine you can simply remove them with "MX Package Installer" or a "radical" one:

Code: Select all

sudo apt purge broadc*dkms rtl88*dkms -y
Will scrape them all.
_____________________

They are just to make those devices work ootb also to go on working when a new kernel is installed (either manually by you or auto-updated default kernel). Hence "dkms".

User avatar
timkb4cq
Developer
Posts: 3633
Joined: Wed Jul 12, 2006 4:05 pm

Re: Time consumung: installing and updating new software or kernels..?

#8 Post by timkb4cq »

If this is the same machine from your liva post then you don't need any of the realtek or broadcom dkms packages. You have Intel wireless hardware.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB

User avatar
DukeComposed
Posts: 1514
Joined: Thu Mar 16, 2023 1:57 pm

Re: Time consumung: installing and updating new software or kernels..?

#9 Post by DukeComposed »

Charlie Brown wrote: Thu Feb 01, 2024 12:23 pm On that machine you can simply remove them with "MX Package Installer" or a "radical" one:

Code: Select all

sudo apt purge broadc*dkms rtl88*dkms -y
Will scrape them all.
I ran

Code: Select all

dpkg -l | grep "\-dkms"
and then just did a

Code: Select all

sudo dpkg -r broadcom-sta-dkms rtl8812au-dkms rtl8821ce-dkms rtl8821cu-dkms
using the names of the packages that had the "ii" state. Your method is much more succinct, albeit hard to remember.

I'm glad someone finally asked this question. Rebuilding those DKMS modules every time I test a new kernel has been annoying me for ages.

User avatar
dolphin_oracle
Developer
Posts: 22817
Joined: Sun Dec 16, 2007 12:17 pm

Re: Time consumung: installing and updating new software or kernels..?

#10 Post by dolphin_oracle »

carsti wrote: Thu Feb 01, 2024 12:20 pm
kmathern wrote: Thu Feb 01, 2024 11:49 am
carsti wrote: Thu Feb 01, 2024 11:25 am


Thanks. I think I need those drivers. I just remember that I needed to do those Kernel updates quite often and it really sucked because of the compilation process. I went back to Mint Xfce and it worked like a charm.
MX 23 comes with four dkms wifi drivers preinstalled (broadcom-sta-dkms, rtl8812au-dkms, rtl8821ce-dkms, rtl8821cu-dkms). You might need one of them for your wifi to work, but It's unlikely you need all of them. Removing the unused ones would speed up the compilation time.

Posting a QSI for your machine would let people here know which dkms driver you're using. And it might show that you aren't using any of them, in which case you could remove all of the dkms wifi drivers.

Thanks.

How is Ubuntu or Mini handling this without compilation?

I don't use that machine anymore. I just wanted to do a fresh install with the latest MX on a machine that does not need any of these drivers. Are they still aded and compiled every time?
ubuntu doesn't ship the drivers, leaving it to the user to compile them on their own if they are needed.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

Post Reply

Return to “General”