1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626
|
.TH DEBRAM 1 \
"23 December 2006" "Debian Project" "Debian Ramification Manual"
.SH NAME
debram \- look \&.debs up in the Debian Ramification
.\"
.\" --------------------------------------------------------------------
.\"
.SH "SYNOPSIS"
.B debram
[
.B \-cwprtxABTXDMNP1lLu.sj?V
] [
.B \-d
.I package
]... [
.B \-m
.I maintainer
]... [
.IR ramification \&...
]
.\"
.\" --------------------------------------------------------------------
.\"
.SH "DESCRIPTION"
Debian GNU/Linux provides thousands upon daunting thousands of software
packages. Sorting them into broad classes then dividing and redividing
them into finer, more specific branches, this command ramifies Debian's
packages in much the same manner as a university library ramifies its
books. If you know what you want your computer to do but do not yet
know the package to do it, you can find the package here.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "QUICK START"
Give the command
.IP
.B debram \-cx
.PP
(Omit the
.RB \&` c \&'
option if your terminal has a white background or does not support
color.) Now explore ram 1000 with
.IP
.B debram \-cx 1000
.PP
Observe the output, then retrieve a plan of ram 1100 with
.IP
.B debram \-cp 1100
.PP
Repeat the same operation with the abbreviation
.IP
.B debram \-cp 11
.PP
Again, but with cross-references.
.IP
.B debram \-cpx 11
.PP
Show the trunk above 1100.
.IP
.B debram \-cpt 11
.PP
Retrieve 1100's plan, showing also the trunk.
.IP
.B debram \-cptr 11
.PP
Enough plans. Let's look at some packages. Notice
.I 1112 File Listing and Finding
in the previous output, then
.IP
.B debram \-cx 1112
.PP
(Try adding a
.B \-w
option to the command if your terminal is at least 132 columns wide.)
Now list the same ram in brief.
.IP
.B debram \-cXD 1112
.PP
Again, and show the trunk this time.
.IP
.B debram \-cXDt 1112
.PP
Be very brief: list only the package names.
.IP
.B debram \-1 1112
.PP
Limit the listing to packages currently installed (or dpkg-selected).
.IP
.B dpkg --get-selections | debram \-cXDs 1112
.PP
What packages does E. Zini keep?
.IP
.B debram \-cm \&'E. Zini\&'
.PP
Suppose that you have been looking for the
.I tar
package, but have not seen it yet. Find it now.
.IP
.B debram \-cd tar
.PP
Retrieve the entire Ramification plan.
.IP
.B debram \-cp | more \-f
.PP
Now you know enough to begin using the
.BR debram (1)
profitably. If you have or can open a text terminal at least 132
columns wide, you will also wish to try the
.B \-w
option:
.IP
.B debram \-cxrw 3110 | less \-r
.PP
(Press \&`q' to exit
.BR less (1).)
To view the long, long listing of the entire ramification at once, enter
.IP
.B debram \-cxrw | less \-r
.PP
omitting the
.B \-w
if your terminal is only 80 columns wide.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "OPTIONS"
.SS Basic Output Formatting
.TP
.BR \-c , " --color"
Color-code the output (recommended).
.TP
.BR \-w , " --wide"
Output in 132-column format. This is recommended if your terminal is
sufficiently wide. (See below for a way to boot Linux into a 132x60
terminal.)
.SS Other General Options
.TP
.PD 0
.BI \-d package
.TP
.BI --find-deb= package
Find the named package.
.PD
.TP
.PD 0
.BI \-m maintainer
.TP
.BI --maint= maintainer
Find all
.IR maintainer \&'s
packages.
.PD
.TP
.BR \-p , " --plan"
Print the ramification plan or table of contents. If a
.I ramification
is specified, print a partial plan descending from it. (Implies
.BR \-r \&,
except when
.B \-t
is given.)
.TP
.BR \-r , " --recursive"
Print the entire tree under the given
.IR ramification \&.
.TP
.BR \-t , " --trunk" , " --recursive-up"
Print the trunk above the given
.IR ramification \&.
That is, print the ram, the parent ram, the grandparent ram, and so on,
up to the root of the tree.
.TP
.BR \-x , " --expand-xref"
Print cross-references in long-form, showing each ram's title rather
than just its number.
.SS Selective Output Suppression
The
.B \-A
and
.B \-B
options focus
.BR debram (1)'s
overall operation. Usually
.BR debram (1)
prints the tables both of end-level ramifications (such as 1311 and
1312, each having a table of Debian packages) and of higher-level
ramifications (such as 1350 and 1300, each having only a table of
subramifications); but you may not always wish the two kinds of tables
intermixed, especially when requesting an
.B \-r
or
.B \-T
listing.
The
.B \-A
.RB ( --no-end-level )
and
.B \-B
.RB ( --only-end-level )
options respectively cause
.BR debram (1)
not to print the end-level and higher-level ramification tables.
.TP
.BR \-A , " --no-end-level"
Omit package tables.
.TP
.BR \-B , " --only-end-level"
Omit subramification tables.
.TP
.BR \-T , " --no-title"
Omit ramification titles. (Implies
.BR \-X .)
.TP
.BR \-X , " --no-xref"
Omit cross-references.
.TP
.BR \-D , " --no-desc"
Omit package descriptions.
.TP
.BR \-M , " --no-maint"
Omit names of package maintainers.
.TP
.BR \-N , " --no-count"
Omit per-ramification \&.deb counts.
.TP
.BR \-P , " --no-pri"
Omit package priorities.
.TP
.BR \-1 , " --names-only"
Print package names only. This option is equivalent to
.BR \-BTXDMNP \&.
.SS Manual Character-Encoding Selection
.BR debram (1)
defaults appropriately for your locale, so selecting a character
encoding manually is optional. If your locale is the default
C/POSIX non-locale, then
.BR debram (1)
defaults to Latin-1\(emwhich is technically nonstandard behavior but for
.I debram
is usually the right thing to do. Use
.B \-L
if you definitely want pure ascii.
.TP
.BR \-l , " --latin1"
Output and accept arguments in Latin-1 (iso-8859-1).
.TP
.BR \-L , " --ascii" , " --no-latin1"
Output and accept arguments in ascii. (See also the
.B \-.
option.)
.TP
.BR \-u , " --utf8"
Output and accept arguments in utf-8 (Unicode) rather than Latin-1.
.SS Other Options
.TP
.BR \-\&. , " --ascii-dots"
In the output, fill blanks with ascii's \&`\&.\&' full-stop character
(rather than the middle dot, which ascii does not provide; see also the
.B \-L
option).
.TP
.BR \-s , " --selections"
Print only packages named on stdin. The principal use of this option is
in
.RB \*(lq "dpkg --get-selections | debram \-s " "\&...\*(rq,"
which causes
.B debram
to ignore packages you have neither installed nor selected for
installation. As such, the option accepts package names on standard
input, one name per line, each name optionally followed the word
\*(lqinstall\*(rq (which
.B debram
ignores).
.SS Seldom Used Options
.TP
.BR \-j , " --pri-one-color"
Output the package-priority column all in the same color: do not
differentiate.
.TP
.BI --data-file= file
Substitute clear-text
.I file
for the library data file.
.TP
.BI --data-file-gz= file
Substitute compressed
.I file
for the library data file.
.SS Metaoptions
.TP
.BR \-? , " --help"
Give a help list.
.TP
.B --usage
Give a short usage message.
.TP
.BR \-V , " --version"
Print the program version.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "RAMIFICATIONS"
A
.I ramification
is a branch of the Debian archive whose packages serve approximately the
same application domain or interest similar groups of users. The first
division of the archive follows the traditional GNU/Linux manpage
hierarchy, with ram 1000 corresponding roughly to man section (1), ram
3000 to section (3), and so forth. Further subramifications
successively focus on tighter domains.
.PP
.BR debram (1)
works on the
.I ramifications
you specify on the command line, defaulting to the umbrella
metaramification 0000 if you specify none. The useful
.B \-r
.I recursive
option causes
.BR debram (1)
to select the named ramifications plus all subramifications branching
recursively from them. Many rams cross-reference other rams across the
tree; by default the program concisely prints only cross-reference ram
numbers, but with the
.B \-x
option it prints expanded cross-reference information.
.PP
The branch-numbering system needs little explanation, except perhaps in
one respect: a ram number's count of non-zero digits always reveals its
ram's level. Thus, for instance, 5060 and 5600 would each be
second-level rams under the top-level 5000, but 5660 would be a
third-level ram under the second-level 5600.
.PP
If you give fewer than four
.I ramification
digits,
.BR debram (1)
completes the number with zeros. Thus
.B 8
is a valid abbreviation for
.BR 8000 \&,
for example.
.PP
Although the usage is not entirely consistent (even within this
manpage),
.IP \(bu
the top-level rams like 1000 and 8000 are usually called
.I sections
(after the traditional \*(lqman section\*(rq nomenclature),
.IP \(bu
the second-level rams like 1100 and 1200 are usually called
.IR divisions \&,
.IP \(bu
the third-level rams like 1110 and 1120 are usually called
.IR groups \&,
and
.IP \(bu
the end-level rams like 1121 and 1140 (the latter of which is an
end-level ram despite its number's ending in a zero) are usually called
.IR branches \&.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "UPDATING THE LIBRARY DATA"
As an autobiographer cannot cover the last events of his life, neither
can
.I debram
cover the last packages to enter Debian's stable release.
.I Debram
is fine as is, but if you prefer complete full coverage, then after the
release you can look for a revised
.IR debram-data
package bearing the same number as the version you now have (run
.RB \*(lq "debram \-V" \*(rq
for the number) but with a single letter appended. For example, if you
now have version 1.2.3, then you can look for
.I debram-data
version 1.2.3a, 1.2.3b or the like. Besides completing the coverage of
the stable release, such an update will undoubtedly also correct some
errors and oversights; so, it is worth getting if you want it.
.PP
The easiest place to get the update if you time it right will be from
Debian's unstable archive. However, that archive must eventually drop
it in favor of a new development version, which is not what you want if
you are running Debian stable. A more lasting source for the update
will be
.RS
.PP
.I http://sourceforge.net/projects/debram/
.RE
.PP
(Of course, no update can be guaranteed to appear\(emwhat is guaranteed
to appear is the
.I debram-data
you already have\(embut an update did appear for the last stable release
of Debian and is equally likely to appear for this one. Look for it
within four to six months.)
.PP
If running Debian stable, you need not and probably should not update
the
.I debram
package itself; it suffices to update
.IR debram-data .
Furthermore, for Debian stable you should only update to the same
version with the single letter appended, as 1.2.3a. Versions bearing
later numbers (like 1.2.4 or 1.3.0 against 1.2.3) are development
versions toward the following Debian release; they are probably not what
you want.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "WIDENING THE LINUX CONSOLE"
.BR debram (1)
was originally programmed to provide the most easily readable output
when invoked with the
.B \-cw
options on a 132-column wide terminal\(emespecially on the standard
.RB non- X (7)
Linux console (see
.BR console (4)).
Fewer users today use the console than used to, and
.BR X (7)
terminals typically show 132 columns or more in any case, so it's not as
important an issue as it used to be. However, some console users may
still be interested to learn how to widen their consoles to the standard
wide-console width of 132 columns. This section of the man page tells
how it can be done, at least on some computer hardware.
.PP
Exactly how to widen your Linux console depends on your specific
hardware and OS installation. Nevertheless the following instructions
should lead you in the correct direction.
.RS
.PP
Print a hard copy of this manpage with
.IP
.B man \-Tps 1 debram | lpr
.PP
Reboot while holding <Shift> down (without the <Shift>, some Linux
machines are programmed never to offer you a boot prompt). At the boot
prompt, enter
.IP
.B Linux video=vga16:off vga=ask
.PP
(Your kernel image may have some other name than \*(lqLinux\*(rq\&.
Also, the
.I video\&=
option may not be necessary for you. Adapt your boot-prompt entry
accordingly.)
.PP
Notice that the kernel offers you the choice of several video modes. If
you do not yet see 132x60,
.IR scan \&.
.PP
Choose
.IR 132x60 \&.
(The kernel may offer you hexadecimal numbers but demand decimal numbers
in return. If you are reading this section of the manpage, you probably
already know how to convert hexadecimal to decimal, but if you feel
uncertain then refer to the table in
.BR ascii (7).)
.RE
.PP
If all is well the kernel now boots into a 132x60 console.
.PP
The foregoing procedure naturally gives you 132x60 only once: the kernel
returns to 80 columns the next time you boot it. Configuring the kernel
to boot 132x60 by default requires editing
.I /etc/lilo.conf
then running
.BR lilo (8)
(presuming that you are booting with
.BR lilo (8);
else see
.B Grub
below). The author has added the lines
.IP
vga=0x123
.br
append="video=vga16:off"
.PP
to the appropriate stanza of his own
.I /etc/lilo.conf
on at least one machine,
but yours may need something slightly different to achieve the desired
effect. (The author got the number 0x123 for his video hardware during
the boot-time video-mode scan referenced above. You can do likewise to
obtain the needed number for your video hardware.)
.PP
You may like the 132x60
.RB non- X (7)
Linux console. The author does. Try it if you wish.
.SS Grub
The foregoing assumes that you boot your Debian system with
.BR lilo (8).
A modern Debian system, however, is more likely booted with
.BR grub (8).
The author does not yet know the latter boot system well enough to write
a new man page section on it, but perhaps the present section provides
information even
.BR grub (8)
users will find of interest or use.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "FILES"
.PD 0
.TP
.I /usr/share/debram/debram.txt.gz
the default library data file (it is human-readable, too)
.TP
.I /usr/share/doc/debram/
reference documents including the
.I Command Selection Guide.
.PD
.\"
.\" --------------------------------------------------------------------
.\"
.SH "ENVIRONMENT"
.TP
.SM
.BR "LC_ALL" , " LC_CTYPE" , " LANG"
These variables optionally specify your locale, which determines how
.BR debram (1)
outputs non-ascii characters by default. See
.BR locale (7)
for general information about locales.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "BUGS"
The
.B \-c
or
.B --color
option produces pleasing colors only on a terminal with a black
background, such as xterm and the standard non-X Linux console.
Other common terminals, such as the standard Gnome terminal, have white
backgrounds by default. Users of these terminals probably will not find
the
.B \-c
option very useful.
.\" .PP
.\" (A technical bug: Because the
.\" .B \-s
.\" option relies internally for speed's sake on <search.h>'s standard
.\" old hash interface, it can accept only a fixed maximum number of
.\" package names. Presently the maximum is set at 32,768 which is two
.\" or three times
.\" .IR sarge \&'s
.\" size. Not only does this mean that the
.\" .B \-s
.\" option fails to scale, but it also implies a momentarily but
.\" unnecessarily wasteful use of heap memory space when the
.\" .B \-s
.\" option is given with only a few package names. The heap
.\" inefficiency arises only when the
.\" .B \-s
.\" option is given, however.)
.PP
Non-i386 architectures enjoy a handful of special packages not available
on i386. Debram does not cover these. Debram probably should at least
cover all the special amd64 packages, but it doesn't, yet.
.PP
Unavoidably in a ramification of this size, several packages
inadvertently yet undoubtedly remain misramified. Report
misramifications sensibly, please, to Debian's Bug Tracking System.
If you are running Debian
.I stable,
please check the latest
.I debram-data
in Debian
.I unstable
before reporting the bug.
.\" .PP
.\" Visit
.\" .I http://debtags.alioth.debian.org
.\" for further information on
.\" .IR debtags \&/ debram
.\" development.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "AUTHOR"
Thaddeus H. Black <thb@debian.org>
.PP
Although the changelog details the direct parts several have played in
debram development, the author particularly wishes to acknowledge the
contributions of his Debian sponsor Giacomo Catenazzi, whose review and
counsel have made debram significantly better a package than it
otherwise would have been; and of the
.I debtags
development team led by Enrico Zini, who have welcomed the debram (they
might easily have done otherwise) and have gone out of their way to
integrate it successfully into the larger
.\" .I debtags
debtags
structure.
.\" .PP
.\" In a work of this size, some errors will inevitably be found despite
.\" the best advice. Full responsibility for these naturally rests with
.\" the author.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "COPYLEFT"
Copyright (C) 2002\-2006 Thaddeus H. Black
.PP
.BR debram (1)
and all the files included in the
.I debram
package are free software; you can redistribute them and/or modify them
under the terms of the GNU General Public License, Version 2.
.\"
.\" --------------------------------------------------------------------
.\"
.SH "SEE ALSO"
.BR dpkg (8),
.BR apt-get (8),
.BR more (1),
.BR less (1),
the
.I Command Selection Guide
(included in the standard
.I debram
distribution),
.I debtags.deb
|