Where Does Debian Store Packages?
Contents

Debian already comes with pre-approved sources to get packages from and this is how it installs all the base packages you see on your system (if a user did a net-install). On a Debian system, this sources file is the “/etc/apt/sources.

Where are Debian packages located?

Documentation goes in /usr/share/doc/<package-name> , so expects documentation will be found in /usr/share/doc/expect . There may be multiple example subdirectories below that, along with other directories which may contain runnable code. man pages go elsewhere, but can be found with the command man -k expect .

Where are packages stored on Linux?

They are stored in /var/cache/apt/archives.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest