Find the answer to your Linux question:
Results 1 to 5 of 5
I was wondering how you would install software in gentoo, I read that you type emerge "the file name" and then it installs, I kinda of need a little more ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    577

    Installing Software


    I was wondering how you would install software in gentoo, I read that you type emerge "the file name" and then it installs, I kinda of need a little more help

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    To install a piece of software, type:
    Code:
    emerge <program name>
    To search for a program, type:
    Code:
    emerge --search <program name>
    Check out http://www.gentoo.org/doc/en/handboo...?part=2&chap=1
    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Linux Guru Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,252
    Or you can search the Packages Database at:

    http://packages.gentoo.org


    Basically, here are the commands you really need:

    Code:
    emerge --sync
    - Syncs you up with current releases and such, but doesn't actually install anything
    
    emerge <PACKAGE>
    - Installs the package
    
    emerge -nuD world
    - Updates all installed packages if an update is available
    
    emerge --pretend --verbose <PACKAGE>
    - Shows what USE flags would be used if the package was to be installed, also what dependencies would be installed
    And that is Portage in a nutshell.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast
    Join Date
    Dec 2004
    Posts
    577
    thank you all, that was helpful

  6. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    also there is another web site to search pakcagen on that i like better
    www.gentoo-portage.com

    also there is a pkg called 'esearch' and that is a locate type search for pkges it uses a db and the command
    Code:
    esync
    updates it's db and dose 'emerge sync' at the same time
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

Posting Permissions

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