LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-get install from local hard-drive (https://www.linuxquestions.org/questions/linux-software-2/apt-get-install-from-local-hard-drive-519811/)

billiejoex 01-16-2007 09:46 AM

apt-get install from local hard-drive
 
Hi all.
I often use a Debian system in a place where internet connection isn't availble.
I'd like to know if and eventually how it is possible to use apt-get by using a local folder (e.g. /home/user/repo) as repository.

Thanks in advance.

FnordPerfect 01-16-2007 09:52 AM

Yes, add it as a source in /etc/apt/sources.list

IIRC, it is sufficient to make it look like this:

Code:

deb file:/home/user/repo ./
Then, do apt-get update

~fab

billiejoex 01-16-2007 09:54 AM

Thank you man, I'll try it as soon as possible.


All times are GMT -5. The time now is 11:22 PM.