Linux Lite Forums
LL3.8: where kernel packages & *.deb packages generally stored in file system ? - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.linuxliteos.com/forums/forumdisplay.php?fid=20)
+--- Thread: LL3.8: where kernel packages & *.deb packages generally stored in file system ? (/showthread.php?tid=6649)



LL3.8: where kernel packages & *.deb packages generally stored in file system ? - m654321 - 12-15-2019


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


Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - DeepThought - 12-15-2019

[member=458]m654321[/member]  They are stored at:

Code:
/var/cache/apt/archives/



Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - m654321 - 12-15-2019

(12-15-2019, 11:41 AM)DeepThought link Wrote: [member=458]m654321[/member]  They are stored at:
Code:
/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.


Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - DeepThought - 12-15-2019

[member=458]m654321[/member]  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 Smile




Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - m654321 - 12-15-2019

(12-15-2019, 12:14 PM)DeepThought link Wrote: [member=458]m654321[/member]  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 Smile

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.


Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - Moltke - 12-15-2019

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:
ls /lib/modules



Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - Valtam - 12-16-2019

(12-15-2019, 12:06 PM)m654321 link Wrote: [quote author=DeepThought link=topic=6927.msg49858#msg49858 date=1576410082]
[member=458]m654321[/member]  They are stored at:
Code:
/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.
[/quote]

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.


Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - DeepThought - 12-16-2019

[member=2]Jerry[/member]  Thanks for the reminder, forgot about clean Smile

[member=458]m654321[/member]  using sudo apt-get and one of the following will clean out the cached packages:

Code:
  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 Smile


Re: LL3.8: where kernel packages & *.deb packages generally stored in file system ? - m654321 - 12-16-2019

Thanks guys  8)