LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
Search this Thread
Old 03-06-2009, 02:01 PM   #1
lemonlaw95
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
gentoo package manager question


i'm using ubuntu now because i'm used to it and it's simple to install.
i've tried installing gentoo several times on different computers, but in the end i always go back to ubuntu, fedora, or suse.
one of my main complaints is how the software in the ubuntu repos is several months old. does portage have the same problem, or is it for the most part brand new software? and while i'm at it, does anyone know about how long a gnome compile takes on a C2D 2.26?
 
Old 03-06-2009, 02:18 PM   #2
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
The software can be put into the repositories quite quickly, but you won't be able to install it unless you're using the testing branch or manually unmask it. As an example, gimp 2.6.5 is in the repository, but the latest version that's available to users of the stable branch is 2.4.6.
 
Old 03-06-2009, 02:43 PM   #3
lemonlaw95
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Original Poster
Rep: Reputation: 0
so how can i make it always install the testing versions unless said program isn't available in the testing repo?
and another thing, how can i uninstall software that i downloaded and compiled, not through portage?
 
Old 03-06-2009, 06:06 PM   #4
Total-MAdMaN
Member
 
Registered: May 2008
Distribution: Gentoo
Posts: 306

Rep: Reputation: 34
Putting ACCEPT_KEYWORDS="~x86" into /etc/make.conf will install packages from the testing branch.

As for removing packages you've installed outside of portage, it's as simple as going into the source directory and typing make uninstall.
 
Old 03-06-2009, 10:30 PM   #5
lemonlaw95
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Original Poster
Rep: Reputation: 0
and by source directory you mean...?
there's several directories named "src" that i've seen.
 
Old 06-02-2009, 11:04 PM   #6
imaginasys
LQ Newbie
 
Registered: Nov 2004
Location: Québec, Canada
Distribution: Fedora Core 3
Posts: 6

Rep: Reputation: 1
Hi,

I suggest that you take time to read some documentation on the gentoo site.

goto http://www.gentoo.org/doc/en/handboo...l=1#book_part2

and find chapter "3.a. Using One Branch".

You will have some explanation about the stable and testing branch as well as other important notion about portage.

If you want to switch to testing you will have to recompile all of your system since every version of any of your software will have to be recompiled... It may take a long time to do that... And I would recommand that you get some "know how" about portage first if you want to be able to resolve eventual version conflict that this change could bring.

Having last version of everything is cool but it haves its toll too... Think twice!

Good luck,

Bernard
 
Old 06-03-2009, 05:20 AM   #7
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
Quote:
Originally Posted by lemonlaw95 View Post
and by source directory you mean...?
there's several directories named "src" that i've seen.

By source directory he means that when you compile software it's always a good idea to keep the directory containing the source code that you used to compile/install the software. If at any time you wish to uninstall the software just cd into the source code folder that you used to install it and run:

Code:
sudo make uninstall
Note: I've never used Gentoo so I don't know if sudo comes pre-installed, but if the above doesn't work just become root with the "su" command and then just run make uninstall.

Last edited by dudeman41465; 06-03-2009 at 05:22 AM.
 
Old 06-03-2009, 06:37 AM   #8
d2_racing
Gentoo support team
 
Registered: May 2009
Location: Ste-Foy,Québec,Canada
Distribution: Gentoo
Posts: 115

Rep: Reputation: 17
With Gentoo, we don't run manually make to install packages, we use the emerge command.

I use make only to compile and install my kernel actually.
 
Old 06-03-2009, 08:19 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,040

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
Originally Posted by Total-MAdMaN View Post
Putting ACCEPT_KEYWORDS="~x86" into /etc/make.conf will install packages from the testing branch.
This is something I wouldn't recommend at least at the beginning. You'll be much happier if while learning you don't have to deal with the annoyances of testing ~arch. Of course, that depends on the skills of each given person.

Quote:
Originally Posted by lemonlaw95 View Post
so how can i make it always install the testing versions unless said program isn't available in the testing repo?
and another thing, how can i uninstall software that i downloaded and compiled, not through portage?
Quote:
Originally Posted by Total-MAdMaN View Post
As for removing packages you've installed outside of portage, it's as simple as going into the source directory and typing make uninstall.
Quote:
Originally Posted by lemonlaw95 View Post
and by source directory you mean...?

Look at this three posts. If you compiled it by hand, you compiled it from source, and the source should be into a directory, shouldn't it? If you deleted it after compiling and installing, the only way to run "make uninstall" would be to get the sources again, prepare them and tne do "make uninstall" on the directory containing them. Note that you must use the same set of configure options, particularly those involving paths, like --prefix= that you used with ./configure the first time you made these sources. That's why you should always save the source directory when you are compiling by hand outside your package manager so you don't have to remember that.

Though to be frank, I disregard this practice unless you know what you are doing.

In Gentoo, it's better to learn to create ebuilds and build the package using portage instead. That way everything is under control.

Last edited by i92guboj; 06-03-2009 at 08:22 AM.
 
Old 06-03-2009, 09:59 AM   #10
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
Quote:
Originally Posted by lemonlaw95 View Post
how can i uninstall software that i downloaded and compiled, not through portage?
In addition to portage itself you also have the layman repositories. Sort of a testing addition to portage.

In my 3 years with Gentoo, I have never had to install from outside portage and layman. I presume most people won't have to do that very often either.

Difficult to say how long a large compile like gnome would take. Not only does it depend on your systems hardware, it also depend on how many other dependencies needs updating. On my single-core 32 bit AMD +3200 system I leave it overnight to compile large things like gnome, openoffice etc.

Mons
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Package manager question dave247 Debian 10 10-07-2008 06:20 PM
Is it possible to install Red Hat's Package manager on Gentoo? LiquidSlumber Linux - Software 4 03-13-2006 09:34 PM
Newbie Package Manager Question for RH WS azcoder2 Red Hat 3 03-13-2006 08:12 AM
Graphical package manager for Gentoo blood_omen Linux - General 1 01-12-2005 07:38 AM
How do I create icons if package doesn't (i.e. gentoo file manager? araczek Linux - Newbie 3 01-31-2004 08:48 PM


All times are GMT -5. The time now is 10:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration