LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-13-2005, 08:22 AM   #1
Ravi72
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Installing packages from local archives?


Hi,
I would like to know if it is possible to copy the files (*.deb) from the archives of another system to my local machine and install the packages without accessing the internet.

I have my colleague's system connected to internet on which he has installed couple of packages through synaptic. Related package files are available in /var/cache/apt/archives directory of his machine.

I tried copying all the files from his archives directory to my home_dir/binaries and added the entry "deb file:/home_dir/binaries ./" into /etc/apt/source.list (along with creating Packages file). While installing the packages I observe that though the files are locally available on my hard disk installer tries to download it from internet!!!.

How do I make the installer to use the local copy (if available) before going to other sources for the rest.

Thanks in advance,
Ravi
 
Old 09-13-2005, 08:38 AM   #2
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
how about installing them by hand with dpkg -i packagename.deb?
 
Old 09-13-2005, 10:31 AM   #3
Ravi72
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Since I have to load multiple packages I thought it will be difficult to manage the installations. Also does the database gets synchronized with synaptic in case I want to add few more modules having dependancy with already isntalled modules?

I feel synaptic is a easy way to manage the packages and use it as much as possible.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Firefox into usr/local richo7 Linux - Newbie 4 06-09-2005 02:30 AM
Where are my .deb packages from /var/cache/apt/archives? bruno buys Debian 3 02-13-2005 07:21 AM
APT setup for local packages rthomas_uk Debian 3 12-01-2004 08:47 AM
Can't get local host after installing Apache jedson Linux - Software 6 10-24-2004 02:00 PM
installing SUSE from Local HDD demmylls Linux - Distributions 1 11-26-2003 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration