Linux Lite Forums

Software - Support => Other => Topic started by: m654321 on December 15, 2019, 06:32:38 AM

Title: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: m654321 on December 15, 2019, 06:32:38 AM

In continuing to try and learn more about how the LL file system (and linux generally) is organized, could someone tell me where the downloaded *.deb packages are stored, as well as the linux kernel packages, on the LL file system, in my case LL3.8 ?

Many thanks for any help with this
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: DeepThought on December 15, 2019, 06:41:22 AM
@m654321  They are stored at:

Code: [Select]
/var/cache/apt/archives/
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: m654321 on December 15, 2019, 07:06:01 AM
@m654321  They are stored at:
Code: [Select]
/var/cache/apt/archives/

Had a look at the above location, but only some packages listed, i.e.
firefox, flashplugin, gir1.2, libn*, libpcap, libsmbclient, libsnapd, libssh, libwbclient, network manager, samba packages.

Can't see Kernel packages or others.
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: DeepThought on December 15, 2019, 07:14:50 AM
@m654321  Your kernel packages will be named linux-image-somenumber ....
as to not many packages there, when did you last do "sudo apt autoremove" as that actually removes cached packages, saving space on the system.

Hope this helps :)

Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: m654321 on December 15, 2019, 09:18:45 AM
@m654321  Your kernel packages will be named linux-image-somenumber ....
as to not many packages there, when did you last do "sudo apt autoremove" as that actually removes cached packages, saving space on the system.
Hope this helps :)

Yes, i run 'autoremove' regularly, so I guess that explains why there isn't much in there right now .
Many thanks for pointing that out.
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: Moltke on December 15, 2019, 06:37:53 PM
Quote
Had a look at the above location, but only some packages listed, i.e.
firefox, flashplugin, gir1.2, libn*, libpcap, libsmbclient, libsnapd, libssh, libwbclient, network manager, samba packages.

Can't see Kernel packages or others.

For kernel packages check under
Code: [Select]
ls /lib/modules
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: Jerry on December 15, 2019, 07:37:12 PM
@m654321  They are stored at:
Code: [Select]
/var/cache/apt/archives/

Had a look at the above location, but only some packages listed, i.e.
firefox, flashplugin, gir1.2, libn*, libpcap, libsmbclient, libsnapd, libssh, libwbclient, network manager, samba packages.

Can't see Kernel packages or others.

Kernel packages are stored there along with all other packages, they are not in a separate location. If there are none there, then your last clean cleared them out.
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: DeepThought on December 16, 2019, 02:28:00 AM
@Jerry  Thanks for the reminder, forgot about clean :)

@m654321  using sudo apt-get and one of the following will clean out the cached packages:

Code: [Select]
  autoremove - Remove all unused packages automatically
  clean - Erase downloaded archive files
  autoclean - Erase old downloaded archive files

info from "apt-get --help"

Hope this helps :)
Title: Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ?
Post by: m654321 on December 16, 2019, 05:21:35 AM
Thanks guys  8)