Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Apt-get install from local file system

  1. #1
    Join Date
    Jul 2008
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Apt-get install from local file system

    Hi,

    I have a palmtop computer with Ubuntu 8.04 installed onto windows as the 'install in windows' option. There is no internet connection available - the only way to copy files is via usb-stick.

    How do I copy packages via the usb-stick, and then install them with apt-get or dpkg?

    It's not possible to run dpkg-scanpackages, it does not seem to be installed.

  2. #2
    Join Date
    Oct 2006
    Location
    Florence, Italy
    Beans
    170

    Re: Apt-get install from local file system

    You can, for example, copy the package you want to install on the Desktop and then double-click it. This action will open the package with gdebi, which will perform the installation

  3. #3
    Join Date
    Jul 2007
    Location
    New Haven, CT
    Beans
    14
    Distro
    Xubuntu 8.04 Hardy Heron

    Re: Apt-get install from local file system

    If it is a .deb:
    Code:
    sudo dpkg -i /path/to/file.deb
    Not sure if that helps.

  4. #4
    Join Date
    Feb 2007
    Location
    Romania
    Beans
    Hidden!

    Re: Apt-get install from local file system

    copy the files to the /var/cache/apt/archives directory
    and install the packages with apt-get, aptitude,
    Synaptic Package Manager or Add/Remove ...

  5. #5
    Join Date
    Jul 2008
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apt-get install from local file system

    Thanks for the replies guys - will try

    Quote Originally Posted by sisco311 View Post
    copy the files to the /var/cache/apt/archives directory
    and install the packages with apt-get, aptitude,
    Synaptic Package Manager or Add/Remove ...
    I've tried this already - didn't work, I'm afraid.

  6. #6
    Join Date
    Jan 2007
    Location
    Melbourne, Australia
    Beans
    5,096

    Re: Apt-get install from local file system

    You could try using the generate package script in synaptic
    Ubuntu Newbie Help: irc: #beginners-help on network irc.freenode.net
    Help others, mark your threads solved.

  7. #7
    Join Date
    Jul 2008
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apt-get install from local file system

    The only method that seems to work is the double-click method. A bit tedious to have to follow all dependncies, only to end up with a circular dependency (g++ needs libstdc++ needs g++)...

    Any thoughts on how to resolve this?

  8. #8
    Join Date
    Jul 2008
    Beans
    60
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Apt-get install from local file system

    Time to bump this up a bit...

  9. #9
    Join Date
    May 2007
    Beans
    64

    Re: Apt-get install from local file system

    i have found that if you have all the deb's in one folder, using "sudo dpkg -i *.deb" works pretty well with dependency issues, assuming you have all the necessary packages.

  10. #10
    Join Date
    Jan 2011
    Beans
    4

    Re: Apt-get install from local file system

    Yes .I have the same problem
    If you use dpkg command to install deb file .
    like this :sudo dpkg -i name.deb
    so you will see the Dependence problem
    And you fine the depandence file and use dpkg again .
    like this: sudo dpkg -i a.deb b.deb c.deb etc.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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