Site Tools


Hotfix release available: 2026-07-14c "Mort". upgrade now! [57.3] (what's this?)
Hotfix release available: 2026-07-14b "Mort". upgrade now! [57.2] (what's this?)
Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
notes:lpic-1_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
notes:lpic-1_notes [2026/09/15 06:07]
216.73.216.243 old revision restored (2026/09/14 10:42)
notes:lpic-1_notes [2026/09/16 10:35] (current)
216.73.216.94 old revision restored (2026/09/14 06:10)
Line 120: Line 120:
   * Interact with the boot loader   * Interact with the boot loader
   * Terms: /boot/grub/menu.lst, grub.cfg and other variations, grub-install, MBR, superblock   * Terms: /boot/grub/menu.lst, grub.cfg and other variations, grub-install, MBR, superblock
- 
-==Notes== 
-  * BIOS looks for and runs boot loader from first specified boot device. 
-  * Boot loader find and loads specified kernel (with specified kernel options) which loads required modules and starts system processes. 
-  * LILO is a 2-stage program 
-    * First stage is in 512-byte MBR or in the boot sector of a partition (if it is a secondary boot loader). 
-    * Second stage is in /boot/boot.b . 
-    * Map file locating kernel is in /boot/map 
-    * //lilo// command reads /etc/lilo.conf which contains kernel image locations, kernel options, the default boot disk etc. It encodes this information along with physical disk information and writes it into the boot files (MBR/boot-sector, boot.b and map). 
-  * GRUB is a multi-stage boot loader, more flexible than LILO. 
-    * Changes take effect immediately. 
-    * (hd0,1) -> 2nd partition on the 1st hard disk. Refers only to the order of the disks as seen by the BIOS so order may change if BIOS boot order is changed. 
-    * //grub-install// writes to MBR/boot sector. Uses/boot/grub/device.map to map BIOS drives to Linux devices e.g. "(hd0)   /dev/sda". 
-    * Grub command-line expects a specific order of commands to boot kernel <code>grub> root (hd0,0) 
-grub> kernel /vmlinuz-2.4.18-14 ro root=/dev/hda2 
-grub> initrd /initrd-2.4.18-14.img  [optional] 
-grub> boot</code> 
  
 === 102.3 Manage shared libraries (LCN-5 CTL-2) === === 102.3 Manage shared libraries (LCN-5 CTL-2) ===
Line 143: Line 126:
   * Load shared libraries   * Load shared libraries
   * Terms: ldd, ldconfig, /etc/ld.so.conf, LD_LIBRARY_PATH   * Terms: ldd, ldconfig, /etc/ld.so.conf, LD_LIBRARY_PATH
- 
-==Notes== 
-  * Most programs on Linux use common system libraries. 
-  * These can be statically linked into the program at compile-time - more disk, more memory, slower. 
-  * Or can be dynamically loaded at runtime (shared libraries) - shared memory, smaller disksize, faster. 
-  * //ldd// can be used to display required shared libraries for an executable 
-  * Dynamically linked executables are examined at runtime by the shared object dynamic linker, //ld.so// 
-  * //ldconfig// reloads shared library paths from /etc/ld.so.conf to update binary cache /etc/ld.so.cache 
-  * $LD_LIBRARY_PATH env variable can also be used 
  
 === 102.4 Use Debian package management (LCN-5 CTL-2) === === 102.4 Use Debian package management (LCN-5 CTL-2) ===
Line 158: Line 132:
   * Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed)   * Obtain package information like version, content, dependencies, package integrity and installation status (whether or not the package is installed)
   * Terms: /etc/apt/sources.list, dpkg, dpkg-reconfigure, apt-get, apt-cache, aptitude   * Terms: /etc/apt/sources.list, dpkg, dpkg-reconfigure, apt-get, apt-cache, aptitude
- 
-==Notes== 
-  * .deb package names - pkgname_version-revision_arch.deb . version is typically major.minor.patchlevel e.g ncurses4_4.2.3-9_i386.deb 
-  * //dpkg// operates directly on //.deb// packages 
-    * uses /var/lib/dpkg/[available|status] files to store metadata 
-    * -i=install -r=remove --purge=purge 
-    * -E=do not overwrite with same version or older 
-    * -G=do not overwrite with older package version 
-    * -l=list matching installed packages -L=list files from package 
-    * -s=status of package -S=search for file in installed packages 
-  * //apt-get// uses package names and sources and resolves dependencies 
-    * -d=download only -s=simulate -y=assume yes 
-    * install, remove, update (sources), upgrade (all packages), dist-upgrade (to new OS version) 
-    * uses /etc/apt/sources.list. Lines look like <code> deb http://http.us.debian.org/debian stable main contrib non-free</code> 
-  * //dselect// is a menu-based interface to //dpkg// 
-  * //alien// converts other package types to .deb packages (or to rpm with -r) e.g. Slackware/generic tarball, RPM . //alien -i x.rpm// 
  
 === 102.5 Use RPM and YUM package management (LCN-5 CTL-2) === === 102.5 Use RPM and YUM package management (LCN-5 CTL-2) ===
notes/lpic-1_notes.1789477640.txt.gz · Last modified: 2026/09/15 06:07 by 216.73.216.243 · Currently locked by: 170.106.188.69