/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux.Distrib/gentoo/gentoo.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Sort installed packages by size:
 
2
    equery s | sort -t "," -k 3.7 -n list.txt
 
3
 
 
4
Information on installed packages (when, compilation time, ...)
 
5
     genlop openoffice          - List of versions and dates of installs
 
6
     genlop -t openoffice       - List compilation times
 
7
     
 
8
Accelerating portage searches
 
9
    update-eix                  - Updating current cache
 
10
    eix -s xmms                 - searching package
 
11
    
 
12
    
 
13
Dependencies
 
14
    emerge --depclean --pretend [atom]          - package/s are not needed
 
15
        --verbose                               - information on dependants
 
16
        
 
17
    List of all (with reverse dependencies) pakcages in world set
 
18
        ((eix --system -n 2> /dev/null; eix --world-all -n 2>/dev/null) | grep "^\[[^[:digit:]]" | cut -d " " -f 2
 
19
    List of installed packages which are not in system and world sets
 
20
        ((eix --system -n 2> /dev/null; eix --world-all -n 2>/dev/null) | grep "^\[[^[:digit:]]" | cut -d " " -f 2; eix -I -n 2>/dev/null | grep "^\[[^[:digit:]]" | cut -d " " -f 2) | sort | uniq -u
 
21
 
 
22
Get all files from installed package
 
23
    for name in `equery f glibc`; do if [ -f $name ]; then dir="./`dirname $name`"; mkdir -p $dir; (cd $dir; cp -a $name .); fi; done