Find the answer to your Linux question:
Results 1 to 4 of 4
I am very new to linux... Whenever I try to "sudo apt-get install (Whatever i'm trying to install)" It says it cant find the package...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2

    Exclamation sudo install not working


    I am very new to linux...
    Whenever I try to "sudo apt-get install (Whatever i'm trying to install)" It says it cant find the package

  2. #2
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    Two things.
    1) make sure you are connected to the Internet first.
    2) run sudo apt-get update before trying to install something, especially if it hasn't been done in a while. If your local database isn't in sync with what's on the servers, apt isn't going to be able to find too much.

    Alternate method in text mode is to run sudo aptitude instead, will allow you to seek for packages instead of having to know the exact name first.

    If in a GUI, run Synaptic. More featured and very easy to use.

  3. #3
    Just Joined!
    Join Date
    Feb 2009
    Posts
    2
    Is there any way to do this without being connected to the internet? This computer is up in the kid's playroom where I can't get the wireless to work and running ethernet really isn't an option... Thanks!!

  4. #4
    Linux Guru D-cat's Avatar
    Join Date
    Jan 2009
    Location
    Bounce between Dover, NH - Shapleigh, ME
    Posts
    1,638
    https://help.ubuntu.com/community/AptCdrom

    Basic jist, if the computer is not to have Internet access period, you need to edit the sources file (in a terminal window: sudo nano /etc/apt/sources.list) and comment out (add a # at the beginning of) every line. After saving, insert the install CD and wait for it to mount (a simple open browse window will accomplish this, unless you're in text only mode).

    Back in the terminal window:

    sudo apt-cdrom add

    sudo apt-get update


    If you want to add software or drivers that are not on the base CD, see the following links:

    https://help.ubuntu.com/community/AptGet/Offline

    APTonCD

Posting Permissions

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