Tools:lin.8.manpage
From Lunar Linux
(Difference between revisions)
m (added formatting disclaimer) |
Pacmanlives (Talk | contribs) |
||
Line 30: | Line 30: | ||
OPTIONS | OPTIONS | ||
− | -c, --compile | + | -c, --compile Compiles module even if there is a compile cache in /var/cache/lunar. |
− | + | ||
− | -d, --debug | + | -d, --debug Enables debug messages, very useful when emailing a bug report. |
− | + | ||
--deps Configures the modules and determines their dependencies, but they | --deps Configures the modules and determines their dependencies, but they | ||
are not compiled or installed. | are not compiled or installed. | ||
− | -f, --from directory | + | -f, --from directory Specify an alternate directory to search for source code tarballs. An |
− | + | ||
alternative to /var/spool/lunar. | alternative to /var/spool/lunar. | ||
− | -h, --help | + | -h, --help Outputs short help. |
− | + | ||
− | -p, -- | + | -p, --prob Only lin if the module was not previously installed. |
− | + | ||
− | -r, --reconfigure | + | -r, --reconfigure Select new configuration and dependencies for modules. |
− | + | ||
− | --opts (configure flags) | + | --opts (configure flags) Add arbitrary options to the configure stage of the module. The |
− | + | ||
options are saved for future upgrades but will be erased by using | options are saved for future upgrades but will be erased by using | ||
"-r". | "-r". | ||
− | -R, --resurrect | + | -R, --resurrect Reinstalls a module which has been removed but still has the compiled |
− | + | ||
version available. | version available. | ||
− | -w, --want (version number) | + | -w, --want (version number) Try to install a different version than the current one in moonbase. |
− | + | ||
Integrity checking is turned off. Success not guaranteed. | Integrity checking is turned off. Success not guaranteed. | ||
− | -s, --silent | + | -s, --silent Decreases the level of message output. |
− | + | ||
− | -v, --verbose | + | -v, --verbose Increases the level of message output. |
− | + | ||
FILES | FILES | ||
All files can be edited by hand, but its easier to edit them with lunar. | All files can be edited by hand, but its easier to edit them with lunar. | ||
− | /etc/lunar/config | + | /etc/lunar/config Configuration options. |
− | + | /etc/lunar/mirrors Mirror information. | |
− | /etc/lunar/ | + | /etc/lunar/local/* Local settings. |
− | + | /etc/lunar/local/config Various local settings and compiler optimization parameters (select | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | /etc/lunar/local/config | + | |
− | + | ||
− | + | ||
with lunar). | with lunar). | ||
− | /etc/lunar/local/depends/* | + | /etc/lunar/local/depends/* Dependency and configuration information for modules. |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | /var/lib/lunar/functions/*.lunar Contains functions used by lin. | |
ENVIRONMENT | ENVIRONMENT | ||
− | The | + | The following settings can be altered in /etc/lunar/local/config It is easier, faster and less error prone to edit them with lunar. |
− | + | ||
− | GNU_URL | + | GNU_URL - The GNU Mirror (default: ftp.gnu.org). |
− | + | ||
− | KERNEL_URL | + | KERNEL_URL - The kernel mirror (default: ftp.kernel.org). |
− | + | ||
− | XFREE86_URL | + | XFREE86_URL - The xfree86 mirror (default: ftp.xfree86.org). |
− | + | ||
− | GNOME_URL | + | GNOME_URL - The GNOME mirror (default: ftp.gnome.org). |
− | + | ||
− | KDE_URL | + | KDE_URL - The KDE mirror (default: ftp.kde.org). |
− | + | ||
− | SFORGE_URL | + | SFORGE_URL - The Sourceforge mirror. (default: none). |
− | + | ||
− | PATCH_URL | + | PATCH_URL - The default patch mirror.(default: download.lunar-linux.org/lunar/patches). |
− | + | ||
− | + | ||
− | LRESORT_URL | + | LRESORT_URL - The default lunar mirror. If all else fails go here! (default: download.lunar-linux.org/lunar/cache) |
− | + | ||
− | + | ||
− | MOONBASE_URL | + | MOONBASE_URL - The lunar moonbase mirrors. (default: download.lunar-linux.org/lunar/). |
− | + | ||
− | + | ||
− | color | + | color - If set to yes lin outputs nice colour. Green for messages, gray for compiling, yellow for questions, and red for errors. |
− | + | ||
− | PROMPT_DELAY | + | PROMPT_DELAY - The delay in seconds that lin pauses when waiting for responses from |
− | + | ||
you. | you. | ||
− | MAIL_REPORTS | + | MAIL_REPORTS - If set to yes, installation logs will be mailed to the admin upon a |
− | + | ||
successful compile. Compile logs will be mailed instead upon a failed | successful compile. Compile logs will be mailed instead upon a failed | ||
compilation. | compilation. | ||
− | ADMIN'S_EMAIL | + | ADMIN'S_EMAIL - The mailbox where the reports will be mailed. The admin's email |
− | + | ||
address. | address. | ||
− | PRESERVE | + | PRESERVE - When set to yes, configuration files that have been edited will not |
− | + | ||
get deleted when the module is re-installed | get deleted when the module is re-installed | ||
Line 163: | Line 123: | ||
load.lunar-linux.org/lunar/). | load.lunar-linux.org/lunar/). | ||
− | color If set to yes lin outputs nice colour. Green for messages, gray for | + | color - If set to yes lin outputs nice colour. Green for messages, gray for |
compiling, yellow for questions, and red for errors. | compiling, yellow for questions, and red for errors. | ||
− | PROMPT_DELAY | + | PROMPT_DELAY - The delay in seconds that lin pauses when waiting for responses from |
− | + | ||
you. | you. | ||
− | MAIL_REPORTS | + | MAIL_REPORTS - If set to yes, installation logs will be mailed to the admin upon a |
− | + | ||
successful compile. Compile logs will be mailed instead upon a failed | successful compile. Compile logs will be mailed instead upon a failed | ||
compilation. | compilation. | ||
− | ADMIN'S_EMAIL | + | ADMIN'S_EMAIL - The mailbox where the reports will be mailed. The admin's email |
− | + | ||
address. | address. | ||
− | PRESERVE | + | PRESERVE - When set to yes, configuration files that have been edited will not |
− | + | ||
get deleted when the module is re-installed | get deleted when the module is re-installed | ||
− | SOUND | + | SOUND - If set to yes then sounds will be enabled if the lunar-sound module |
is installed | is installed | ||
− | SUSTAIN | + | SUSTAIN - When set to yes this disallows removing of modules that would cause |
− | + | ||
terrible malfunctions. eg glibc, gcc, bash, to name some obvious | terrible malfunctions. eg glibc, gcc, bash, to name some obvious | ||
ones. | ones. | ||
− | VIEW_REPORTS | + | VIEW_REPORTS - If set to yes then you will be prompted whether to view reports |
− | + | ||
before and after installation. | before and after installation. | ||
− | VOYEUR If set to yes then compiler output will be displayed in real time. | + | VOYEUR - If set to yes then compiler output will be displayed in real time. |
− | REAP | + | REAP - Deletes files when removing. |
− | AUTOFIX | + | AUTOFIX - If set to yes whenever a library is updated all packages that depend |
− | + | ||
on that library will be rebuilt. See FIND_CHECK, MD5SUM_CHECK, | on that library will be rebuilt. See FIND_CHECK, MD5SUM_CHECK, | ||
LDD_CHECK, SYM_CHECK for autofix settings. | LDD_CHECK, SYM_CHECK for autofix settings. | ||
− | FIND_CHECK | + | FIND_CHECK - See the -f options above for explanations of these. |
− | + | ||
ADVANCED USAGE | ADVANCED USAGE |
Latest revision as of 17:40, 22 August 2010
Disclaimer:
This page may not be in synchronization with the man pages available on a Lunar-Linux system.
The initial version was a cut'n'paste from the man command, which produces weird wiki formatting.
LIN(8) LUNAR LIN(8)
NAME: lin - Lunar install software modules
SYNOPSIS
lin [options] [package1[/version]] ... [package2[/version]] ...
COPYRIGHT
lin(8) is Copyright (C) 2002-2003 Terry Chan with portions copyrighted by previous authors 2001-2002
EXAMPLE
To install emacs type:
lin emacs
DESCRIPTION
lin is part of the Lunar source-code package management suite. It is a com- mand-line tool for automatically retrieving, unpacking, compiling, installing, and tracking software installations.
OPTIONS
-c, --compile Compiles module even if there is a compile cache in /var/cache/lunar.
-d, --debug Enables debug messages, very useful when emailing a bug report.
--deps Configures the modules and determines their dependencies, but they are not compiled or installed.
-f, --from directory Specify an alternate directory to search for source code tarballs. An alternative to /var/spool/lunar.
-h, --help Outputs short help.
-p, --prob Only lin if the module was not previously installed.
-r, --reconfigure Select new configuration and dependencies for modules.
--opts (configure flags) Add arbitrary options to the configure stage of the module. The options are saved for future upgrades but will be erased by using "-r".
-R, --resurrect Reinstalls a module which has been removed but still has the compiled version available.
-w, --want (version number) Try to install a different version than the current one in moonbase. Integrity checking is turned off. Success not guaranteed.
-s, --silent Decreases the level of message output.
-v, --verbose Increases the level of message output.
FILES
All files can be edited by hand, but its easier to edit them with lunar.
/etc/lunar/config Configuration options.
/etc/lunar/mirrors Mirror information.
/etc/lunar/local/* Local settings.
/etc/lunar/local/config Various local settings and compiler optimization parameters (select with lunar).
/etc/lunar/local/depends/* Dependency and configuration information for modules.
/var/lib/lunar/functions/*.lunar Contains functions used by lin.
ENVIRONMENT
The following settings can be altered in /etc/lunar/local/config It is easier, faster and less error prone to edit them with lunar.
GNU_URL - The GNU Mirror (default: ftp.gnu.org).
KERNEL_URL - The kernel mirror (default: ftp.kernel.org).
XFREE86_URL - The xfree86 mirror (default: ftp.xfree86.org).
GNOME_URL - The GNOME mirror (default: ftp.gnome.org).
KDE_URL - The KDE mirror (default: ftp.kde.org).
SFORGE_URL - The Sourceforge mirror. (default: none).
PATCH_URL - The default patch mirror.(default: download.lunar-linux.org/lunar/patches).
LRESORT_URL - The default lunar mirror. If all else fails go here! (default: download.lunar-linux.org/lunar/cache)
MOONBASE_URL - The lunar moonbase mirrors. (default: download.lunar-linux.org/lunar/).
color - If set to yes lin outputs nice colour. Green for messages, gray for compiling, yellow for questions, and red for errors.
PROMPT_DELAY - The delay in seconds that lin pauses when waiting for responses from you.
MAIL_REPORTS - If set to yes, installation logs will be mailed to the admin upon a successful compile. Compile logs will be mailed instead upon a failed compilation.
ADMIN'S_EMAIL - The mailbox where the reports will be mailed. The admin's email address.
PRESERVE - When set to yes, configuration files that have been edited will not get deleted when the module is re-installed
SOUND If set to yes then sounds will be enabled if the lunar-sound module is installed
SUSTAIN When set to yes this disallows removing of modules that would cause terrible malfunctions. eg glibc, gcc, bash, to name some obvious ones. MOONBASE_URL The lunar moonbase mirrors. (default: down- load.lunar-linux.org/lunar/).
color - If set to yes lin outputs nice colour. Green for messages, gray for compiling, yellow for questions, and red for errors.
PROMPT_DELAY - The delay in seconds that lin pauses when waiting for responses from you.
MAIL_REPORTS - If set to yes, installation logs will be mailed to the admin upon a successful compile. Compile logs will be mailed instead upon a failed compilation.
ADMIN'S_EMAIL - The mailbox where the reports will be mailed. The admin's email address.
PRESERVE - When set to yes, configuration files that have been edited will not get deleted when the module is re-installed
SOUND - If set to yes then sounds will be enabled if the lunar-sound module is installed
SUSTAIN - When set to yes this disallows removing of modules that would cause terrible malfunctions. eg glibc, gcc, bash, to name some obvious ones.
VIEW_REPORTS - If set to yes then you will be prompted whether to view reports before and after installation.
VOYEUR - If set to yes then compiler output will be displayed in real time.
REAP - Deletes files when removing.
AUTOFIX - If set to yes whenever a library is updated all packages that depend on that library will be rebuilt. See FIND_CHECK, MD5SUM_CHECK, LDD_CHECK, SYM_CHECK for autofix settings.
FIND_CHECK - See the -f options above for explanations of these.
ADVANCED USAGE
Using source code tarballs from an alternate location.
lin --from /root/spool/lunar emacs Unless the -from option is speci- fied lin will always check the /var/spool/lunar directory first to see if the package exists. If the package does not exist it downloads the package via the Internet.
AUTHOR
Kyle Sallee
Updated Thomas Stewart 01/15/2002
Converted to Lunar by Terry Chan 03/23/2002
Updated by Chuck Mead 07/17/2003
Updated by Terry Chan 08/08/2003
REPORTING BUGS
Report bugs to <maintainer@lunar-linux.org>
SEE ALSO
lunar(8), lrm(8), lvu(1), lget(8), moonbase(5)
WARRANTY
This is free software with ABSOLUTELY NO WARRANTY
Lunar Linux August 2003 LIN(8)