Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo specific commands
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bus_drivr
n00b
n00b


Joined: 20 Feb 2003
Posts: 48
Location: Florida

PostPosted: Sat Apr 17, 2004 2:56 am    Post subject: gentoo specific commands Reply with quote

Hi
Thought it might be a good idea to have a list of gentoo specific commands and a brief description of there use.
Please feel free to add yours and there will be others as time goes on.
I'll add some more as I discover/remember them.
bus_drivr

Many of these are from their own manpages. You do read the instructions first don't you. ;-) YMMV of course. Understand some of this stuff may have more functionality than when the manpage was written. In short if you hose your system running dep-clean- remember I probably did it first ;-)

emerge - I won't bother.

revdep-rebuild - supposedly rebuilds dependencies. YMMV Can't do it recursively (at present?).

emerge-webrsync - retrieves snapshots via http for those who may not be able to use rsync protocol.

qpkg -"is GenToolKit's "query package" tool, using it, you can find packages owning files on your filesystem, check the integrity of installed
packages, and do other queries against installed or uninstalled packages."

dep-clean displays extraneous, missing or extra packages. Extra pack- ages are those in which are not a part of the portage tree
(/usr/portage). It does NOT modify the system in any way.

glsa-check has no manpage at present. It lists/checks for some possible possible security problems. Recent ones anyway.

ewhich is a little tool to find the actual ebuild file for a given
package name. It can use simple package names (like xfree), package names with category (like x11-base/xfree) or DEPEND atoms (like >=x11-base/xfree-4.3.0).

equery has no manpage and I don't have a description for it.

etcat tries to complement the existing portage related tools but geared
specifically for the power user. It enables users and developers to
quickly find out information on particular packages without resorting
to manually poking the portage tree and portage database.

euse is used to set(disable/enable) USE flags /etc/make.conf without
having to edit the file directly. It is also used to get detailed infor-
mation about use flags like description, status of flags(enabled/dis-
abled), type of flag(global/local) etc. It can also be queried for
viewing the current use flag settings in /etc/make.conf,
/etc/make.defaults and environment.

pkg-size has no man page.

pkg-clean - Gentoo: Clean obsolete packages (run at the end of each successful emerge?)

mkebuild - Gentoo: Interactive ebuild generator (hhmmm haven't tried that one yet :) )

A beginning anyway.
Back to top
View user's profile Send private message
bus_drivr
n00b
n00b


Joined: 20 Feb 2003
Posts: 48
Location: Florida

PostPosted: Sat Apr 17, 2004 3:45 pm    Post subject: gentoo specific commands Reply with quote

Hi,
Continuing:

rc-update used to add init scripts to runlevels

opengl-update This utility switch between OpenGL implementations. Currently there are two supported implementations, namely "xfree" and "nvidia", the implementations for XFree86 and the NVidia drivers respectively. (works with "ati" also)

fixpackages (as i understand it)this script rearranges your pre-compiled binaries to fit any changes in the package layout
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 18157

PostPosted: Sun Apr 18, 2004 12:02 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Those who know what's best for us must rise and save us from ourselves.
Back to top
View user's profile Send private message
iswm
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 139
Location: Tucson, AZ

PostPosted: Mon Apr 19, 2004 8:21 am    Post subject: Reply with quote

ebuild is Gentoo-specific isn't it?

Man page wrote:
The ebuild program is a direct interface to the Portage system. It allows for direct action upon an ebuild with specific sub-commands or groups of commands to perform in a specific ebuild's context and functions. Accepting an ebuild script and one or more commands as arguments, the ebuild program parses the ebuild script and execute the specified commands. Commands exist to fetch sources, unpack sources, compile sources, install object files into a temporary directory "image", merge the image to the local filesystem, create a bzipped tarball package out of the image, and more.
Back to top
View user's profile Send private message
mrmodin
Apprentice
Apprentice


Joined: 24 Jan 2004
Posts: 216
Location: Stockholm, Sweden

PostPosted: Mon Apr 19, 2004 1:38 pm    Post subject: Reply with quote

A little warning about dep-clean. It has crashed the system for me and many others, Don't delete anything that you don't really know what it is.
Back to top
View user's profile Send private message
bus_drivr
n00b
n00b


Joined: 20 Feb 2003
Posts: 48
Location: Florida

PostPosted: Tue Apr 20, 2004 12:16 am    Post subject: Reply with quote

Hey if you look under my name it says noob :? 'nuff said?

Ebuild is a gentoo command yes. Thanks. That one seems to live in
/usr/lib/portage/bin the first group was from gentoolkit plus a couple I remembered right off hand.

AFAIK the ones in /usr/lib/portage/bin exist identically on all gentoo systems of the same version. The gentoolkit ones you have to "emerge gentoolkit" in order to have them.

etc-update is for updating configuration files after the emerge has finished updating.

regenworld has no man page but if you hose your "world" file you can recreate one it. Might be useful under other circumstances...
Back to top
View user's profile Send private message
bus_drivr
n00b
n00b


Joined: 20 Feb 2003
Posts: 48
Location: Florida

PostPosted: Tue Apr 20, 2004 12:57 am    Post subject: Reply with quote

equery is a package query tool. Can/will be able to list files owned by a package check their md5sums and timestamps, display use flags.
equery --help will give some helpful info.

quickpkg # This script tries to quickly create a Gentoo binary package using the
# VDB_PATH/category/pkg/* files ($PATH changee to /var/db/pkg/category?)

env-update - updates environment settings automatically
Back to top
View user's profile Send private message
Duty
Apprentice
Apprentice


Joined: 15 Nov 2003
Posts: 253

PostPosted: Tue Apr 20, 2004 8:02 am    Post subject: Reply with quote

dep-clean is obsolete, you can hose your system in a similar manner using `emerge depclean`
Back to top
View user's profile Send private message
jj11888
n00b
n00b


Joined: 28 Apr 2004
Posts: 36

PostPosted: Thu Apr 29, 2004 2:47 am    Post subject: Reply with quote

gensync - nice tool to use rsync for certain folders, currently setup to let you do `gensync bmg-main` and it will sync the breakmygentoo.net packages.

included in gentoolkit-dev btw
Back to top
View user's profile Send private message
MighMoS
Guru
Guru


Joined: 24 Apr 2003
Posts: 416
Location: @ ~

PostPosted: Thu Apr 29, 2004 2:50 am    Post subject: Re: gentoo specific commands Reply with quote

bus_drivr wrote:
opengl-update This utility switch between OpenGL implementations. Currently there are two supported implementations, namely "xfree" and "nvidia", the implementations for XFree86 and the NVidia drivers respectively. (works with "ati" also)
don't for get xorg-x11!
_________________
jabber: MighMoS@jabber.org

localhost # export HOME=`which heart`
Back to top
View user's profile Send private message
duckyhatezchat
Tux's lil' helper
Tux's lil' helper


Joined: 22 Nov 2003
Posts: 77

PostPosted: Fri Apr 30, 2004 7:08 am    Post subject: Reply with quote

Is net-setup in live cd gentoo-specific?
_________________
Ducky
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9236
Location: beyond the rim

PostPosted: Wed May 05, 2004 12:30 pm    Post subject: Reply with quote

qpkg, etcat, glsa-check, dep-clean, ewhich, emerge-webrsync, pkg-size and pkg-clean will go away in the future, their functionality is or will be integrated into emerge or equery.
Back to top
View user's profile Send private message
Nate_S
Guru
Guru


Joined: 18 Mar 2004
Posts: 414

PostPosted: Thu May 06, 2004 9:06 pm    Post subject: Reply with quote

genlop, while not part of the gentoolkit, is a very nice portage util

emerge genlop
genlop --help #for usage

it can do things like estimate the time of a pretend emerge, parse your log files, and more.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum