Time consumung: installing and updating new software or kernels..? [Solved]
Time consumung: installing and updating new software or kernels..?
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?
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?
- Eadwine Rose
- Administrator
- Posts: 15339
- Joined: Wed Jul 12, 2006 2:10 am
Re: Time consumung: installing and updating new software or kernels..?
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
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
- dolphin_oracle
- Developer
- Posts: 22817
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Time consumung: installing and updating new software or kernels..?
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/
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/
Re: Time consumung: installing and updating new software or kernels..?
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.
Re: Time consumung: installing and updating new software or kernels..?
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.carsti wrote: Thu Feb 01, 2024 11:25 amdolphin_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.
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.
Re: Time consumung: installing and updating new software or kernels..?
kmathern wrote: Thu Feb 01, 2024 11:49 amMX 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.carsti wrote: Thu Feb 01, 2024 11:25 amdolphin_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.
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?
Re: Time consumung: installing and updating new software or kernels..?
On that machine you can simply remove them with "MX Package Installer" or a "radical" one:
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".
Code: Select all
sudo apt purge broadc*dkms rtl88*dkms -y
_____________________
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".
Re: Time consumung: installing and updating new software or kernels..?
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
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
- DukeComposed
- Posts: 1514
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Time consumung: installing and updating new software or kernels..?
I ranCharlie 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:
Will scrape them all.Code: Select all
sudo apt purge broadc*dkms rtl88*dkms -y
Code: Select all
dpkg -l | grep "\-dkms"
Code: Select all
sudo dpkg -r broadcom-sta-dkms rtl8812au-dkms rtl8821ce-dkms rtl8821cu-dkms
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.
- dolphin_oracle
- Developer
- Posts: 22817
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Time consumung: installing and updating new software or kernels..?
ubuntu doesn't ship the drivers, leaving it to the user to compile them on their own if they are needed.carsti wrote: Thu Feb 01, 2024 12:20 pmkmathern wrote: Thu Feb 01, 2024 11:49 amMX 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.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.
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?
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/
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/