Find the answer to your Linux question:
Results 1 to 3 of 3
Hello! I want to do a copy of the DVDs of Debian's installation to my hard disc, so that when I do aptitude install xxx it could do it directly ...
  1. #1
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2

    How to use aptitud install direct from the hard disc?

    Hello!

    I want to do a copy of the DVDs of Debian's installation to my hard disc, so that when I do aptitude install xxx it could do it directly from the hard disc.

    Can someone help me, please?

    Everything what I have till now are the 3 ISO of Debian's installation.
    But I don't know how I must mount that and modify the sources.list file.

    Thank you very much!


  2. #2
    Linux Guru Vergil83's Avatar
    Join Date
    Mar 2004
    Posts
    2,408
    Just edit your
    Code:
    /etc/apt/sources.list
    and replace with the line
    Code:
    deb file:/HD_location_of_packages stable main contrib
    Then apt-get update. Now the next time you install something it should come from your HD location
    sources.list
    Brilliant Mediocrity - Making Failure Look Good

  3. #3
    Just Joined!
    Join Date
    Oct 2007
    Posts
    2
    Thanks, Vergil83!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •