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, in- stalling, and tracking software installations. OPTIONS -c, --compile Compiles module even if there is a compile cache in /var/cache/lu- nar. -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. -g, --download Configures the modules, determines their dependencies and download the sources, 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 op- tions 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 com- piled 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. -4, --ipv4 Download sources using ipv4. -6, --ipv6 Download sources using ipv6. --catalyst-immediate Fire CATALYST triggers after each module instead of collecting them and firing after all modules complete. This is useful when trigger order matters or when a triggered rebuild must happen before the next module is installed. See moonbase(5) for details on the CATA- LYST file format. 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_URLThe 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_URLThe KDE mirror (default: ftp.kde.org). SFORGE_URL The Sourceforge mirror. (default: none). PATCH_URL The default patch mirror. (default: download.lunar-linux.org/lu- nar/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: download.lunar-linux.org/lu- nar/). 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 ad- dress. 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 SUSTAINWhen 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 be- fore and after installation. VOYEUR If set to yes then compiler output will be displayed in real time. REAP Deletes files when removing. AUTOFIXIf 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 down- loads 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 Updated by Stefan Wold 10/11/2014 Updated by Stefan Wold 02/19/2026 REPORTING BUGS Report bugs to SEE ALSO lunar(8), lrm(8), lvu(1), lget(8), moonbase(5) WARRANTY This is free software with ABSOLUTELY NO WARRANTY Lunar Linux October 2014 LIN(8)