Tools:lin.8.manpage
From Lunar Linux
Revision as of 23:15, 19 February 2010 by Pacmanlives (Talk | contribs)
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, --probe 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 eas- ier, 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: down- load.lunar-linux.org/lunar/patches).
LRESORT_URL The default lunar mirror. If all else fails go here! (default: down- load.lunar-linux.org/lunar/cache)
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. 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)