Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
So, I'm not sure if its just me, or linux is very misleading. I read in the linux guide, if you want to install something, you first download it.....then in ...
  1. #1
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4

    sudo apt-get install........are you serious

    So, I'm not sure if its just me, or linux is very misleading.
    I read in the linux guide, if you want to install something, you first download it.....then in command terminal, sudo apt-get install 'name of program' and it will get it.

    Heres my problem,
    everytime I do that, it says cannot find.
    I place the folders right on the desktop!!!
    and if I open the folders up, there is no install files.
    This is very frustrating,


    Thanks,
    ka0s

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Hello and welcome aboard!

    You are not using APT properly. You can check this article for some instructions on using it:

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

    Most new Linux users will find using Synaptic an easier option for installing software:

    https://help.ubuntu.com/community/SynapticHowto
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Linux User Manko10's Avatar
    Join Date
    Sep 2010
    Posts
    250
    In case you misunderstood this: you don't have to download the packages yourself. When you issue apt-get it does the download for you. Of course you can also install packages you downloaded before but by default packages are fetches from the Internet automatically.
    Refining Linux Advent calendar: “24 Outstanding ZSH Gems

  4. #4
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    358
    To install the packages you downloaded, use dpkg. You have to give it the complete path if you're not in the directory where they are. Or you can use Synaptic package manager to do it graphically. But as said above, you don't need to download the packages first, since apt-get will go and get them if you have an internet connection. If you have no internet connection on the machine you're installing to, then you have to put the packages on it manually, then installl with dpkg. "man dpkg" in a terminal will give you help on using it.

  5. #5
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    Thanks guys, that is making things much more clear and understandable. I'm going to try this shortly

    Thanks for the help,
    ka0s

  6. #6
    Just Joined!
    Join Date
    Jun 2004
    Location
    Halesowen, West Midlands, UK
    Posts
    71
    You don't have to download anything if it's already in the repositories.
    A few simple tips.
    "sudo apt-cache search pulseaudio" as an example will display all the packages of that name that reside in the repositories in your /etc/apt/sources.list.

    "sudo apt-get install <package>" or "sudo aptitude install <package>" will fetch the package and install it along with any other pre- or co-requisite packages.

    If something you need is in another repository you can "sudo add-apt-repository ppa:ubuntu-wine/ppa" as an example.

    synaptic if you want to go the GUI way.

  7. #7
    Just Joined!
    Join Date
    May 2011
    Posts
    44
    Quote Originally Posted by Siddly View Post
    You don't have to download anything if it's already in the repositories.
    A few simple tips.
    "sudo apt-cache search pulseaudio" as an example will display all the packages of that name that reside in the repositories in your /etc/apt/sources.list.

    "sudo apt-get install <package>" or "sudo aptitude install <package>" will fetch the package and install it along with any other pre- or co-requisite packages.

    If something you need is in another repository you can "sudo add-apt-repository ppa:ubuntu-wine/ppa" as an example.

    synaptic if you want to go the GUI way.
    Ubuntu 11.+ (and even possibly 10.+) no longer comes pre packaged with aptitude. you'll need to:

    Code:
    sudo apt-get install aptitude
    also, don't forget to update:
    Code:
    sudo apt-get update

  8. #8
    Just Joined!
    Join Date
    Jul 2011
    Posts
    4
    I try to download aptitude, and it says its only available from another source....

  9. #9
    Just Joined!
    Join Date
    Apr 2005
    Location
    Clinton Township, MI
    Posts
    84
    I may get some argument on this, but I see no reason to go out and get aptitude when you already have at least dpkg (the underlying package manager), apt-get, the command package manager that can pull in other required software when you request for a software change, and synaptic, a graphical interface to the underpinnings of dpkg and apt-get. Your specific system may even have an update-manager or software-manager. Why do you need more than that? Better to learn what you have have first and not add to it until you have a specific reason for doing so. Learn the basics first would be my recommendation.

  10. #10
    Just Joined!
    Join Date
    May 2011
    Posts
    44
    Quote Originally Posted by ka0s View Post
    I try to download aptitude, and it says its only available from another source....
    <SoapBoxMoment>
    The quality of our help is directly dependent on the quality of information.
    + Please copy all error messages into code tags.
    + Please be specific with the steps you took.
    When I do the thing I get the error and it doesn't work.
    (This was a real answer I received on another forum...)
    ^This is what we call the problem with prepositions. Even in context I had no clue what this guy was on about...
    </SoapBoxMoment>

    I was able to install aptitude without errors via:
    Code:
    sudo apt-get install aptitude
    Can you please paste the error message.

    Quote Originally Posted by masinick View Post
    I may get some argument on this, but I see no reason to go out and get aptitude when you already have at least dpkg (the underlying package manager), apt-get, the command package manager that can pull in other required software when you request for a software change, and synaptic, a graphical interface to the underpinnings of dpkg and apt-get. Your specific system may even have an update-manager or software-manager. Why do you need more than that? Better to learn what you have have first and not add to it until you have a specific reason for doing so. Learn the basics first would be my recommendation.
    I agree, all you need is apt-get and dpkg, though I hardly find occasion to use dpkg; everything is available in the repositories (especially when working on servers vs workstations). However, aptitude can be invoked via CLI just like apt-get; I have found occasion to use aptitude to install what apt-get calls 'virtual packages'--this was pre-10.04...

    Better to learn what you have have first and not add to it until you have a specific reason for doing so.
    This is the best advice.

Page 1 of 2 1 2 LastLast

Posting Permissions

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