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

Thread: Install packages offline?

  1. #1
    Join Date
    Jan 2013
    Beans
    3

    Install packages offline?

    Hey there, is it possible to install packages offline, such as, ndiswrapper?

    I have a dual boot system going between Windows Vista/Ubuntu. I have internet access on Vista(via wifi hotspot) but not yet on Ubuntu. I was thinking I could download packages on Vista and put them on an sd card and take them over to Ubuntu and install them. Are there any terminal commands that might make this possible?

    Thanks.

  2. #2
    Join Date
    May 2012
    Beans
    277

    Re: Install packages offline?

    Yes, download the appropriate packages you need onto your drive and then install them in ubuntu.
    Or just use linux mint, that has ndiswrapper pre installed.

  3. #3
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Install packages offline?

    You might find it easier to just plug straight into your router with an ethernet cable and install that way.

  4. #4
    Join Date
    May 2012
    Beans
    277

    Re: Install packages offline?

    Quote Originally Posted by Paqman View Post
    You might find it easier to just plug straight into your router with an ethernet cable and install that way.
    This is a very good method too.
    But like I said maybe linux mint is in your future.

  5. #5
    Join Date
    Jan 2013
    Beans
    3

    Re: Install packages offline?

    I can't connect through Ethernet. I connect using a WiFi USB adapter that connects to the internet through an android smartphone that has potable WiFi hotspot, all wireless. Is there a terminal command that can install them by having them on my desktop?

  6. #6
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Install packages offline?

    Quote Originally Posted by chanoaji View Post
    Is there a terminal command that can install them by having them on my desktop?
    Yes, but it's easier to just double-click on the .deb and it will open in Software Centre.

    If it complains that dependencies are not met, you will need to make sure you also have the .deb file for any packages that it depends on. It looks like you'll need ndisgtk, ndiswrapper-common and ndsiwrapper-utils-1.9. Install them in this order: common > utils > ndisgtk.
    Last edited by Paqman; January 25th, 2013 at 09:41 AM.

  7. #7
    Join Date
    Jan 2013
    Beans
    3

    Re: Install packages offline?

    When opened through software center the install button is greyed out.

  8. #8
    iMac71 is offline Gee! These Aren't Roasted!
    Join Date
    Dec 2012
    Beans
    171

    Re: Install packages offline?

    supposing that you have more than a package to install and that those packages are all on your desktop, you might use the following bash script:
    PHP Code:
    #!/bin/bash

    pkgs=$(ls ~/Desktop/*.deb)
    for pkg in $pkgs
    do
        dpkg -i $pkg
    done
    exit 0 

  9. #9
    Join Date
    Sep 2012
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Install packages offline?

    All Ubuntu packages can be found here
    http://packages.ubuntu.com/

    You can manually install from the deb files. However, you will need to check the dependencies carefully making sure you install in the correct order. If a package needs another package then install the needed package first. Note the needed package may need other packages too.

    If you can get internet access apt makes this much easier as it does all the checking for you.

  10. #10
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: Install packages offline?

    Quote Originally Posted by chanoaji View Post
    When opened through software center the install button is greyed out.
    Ok, let's see why. Try it in terminal and see what error it spits out:

    Code:
    sudo dpkg -i packagename.deb

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
  •