from small one page howto to huge articles all in one place
 

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

42240

userrating:

average rating: 1.5 (4 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tips&Tricks

Portage's new '--newuse' option

This week we want to explain a new Portage option which allows you to track changes to USE flag settings you may have altered after installing an application. We're talking about --newuse, one of a number of very useful new features in Portage 2.0.51. Before we start, make sure that you've installed the latest Portage revision on your box.

Imagine that up until today, you never had printer. Now you bought one, and of course you want to use your Gentoo system to test your new printer. First of all, you'd want printing support for some of the applications you've installed. In order to get that you would alter your USE flags and add cups and maybe some more flags to your USE variable in /etc/make.conf.

So what's next, then? You'll need to find an easy way to create a listing with all packages affected by this USE flag change:

Type emerge --newuse to list all packages affected by a USE flag change:

Code Listing 1: List all packages affected by a USE flag change

# emerge --newuse world -Dpv 
 
These are the packages that I would merge, in order: 
 
Calculating world dependencies ...done! 
[ebuild  N    ] net-print/cups-1.1.21-r2  -debug +pam -samba -slp +ssl 8,348 kB 
[ebuild   R   ] gnome-base/nautilus-2.8.0  +cups* -debug -flac -gstreamer -mad +oggvorbis 5,637 kB

No surprise that the CUPS package itself wants to get installed now, but you will also notice the appended asterisk to the +cups USE flag on the Nautilus package: This simply points out that the USE flag has changed, and you can now merge CUPS and all the packages which could benefit from an active cups USE flag. Don't forget to configure your new printer.

from http://www.gentoo.org/news/en/gwn/20041025-newsletter.xml


rate this article:
current rating: average rating: 2.4 (5 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2018-08-22
2018-08-21
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2018 Sascha Nitsch Unternehmensberatung UG(haftungsbeschänkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 4717.1 ms