linux:dev1_3manage
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux:dev1_3manage [2026/04/05 02:35] – [List Installed Packages] azman | linux:dev1_3manage [2026/04/05 02:44] (current) – azman | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| //**Note:** To automatically update system essentials,//< | //**Note:** To automatically update system essentials,//< | ||
| + | |||
| + | ===== Upgrading ===== | ||
| + | |||
| + | To do an upgrade: | ||
| + | |||
| + | * Modify ''/ | ||
| + | * skip '' | ||
| + | * Update package list < | ||
| + | * Upgrade distribution < | ||
| + | * To make sure EVERYTHING is upgraded (avoids old packages held back) | ||
| + | * < | ||
| + | * Do house cleaning < | ||
| + | # apt autoremove | ||
| + | # apt clean</ | ||
| + | |||
| + | That should do it! | ||
| ===== List Installed Packages ===== | ===== List Installed Packages ===== | ||
| Line 14: | Line 30: | ||
| Using the basic '' | Using the basic '' | ||
| This version, however, only provides package name. To extract similar output from '' | This version, however, only provides package name. To extract similar output from '' | ||
| + | |||
| + | ===== Adding More Repo ===== | ||
| + | |||
| + | Get proper signature key from that source ('' | ||
| + | < | ||
| + | |||
| + | Create a listing file for source URL in ''/ | ||
| + | < | ||
| + | |||
| + | After doing an '' | ||
| + | |||
| + | ===== Reconfigure Package ===== | ||
| + | |||
| + | Basically, run a '' | ||
| + | |||
| + | e.g. To change timezone < | ||
| + | |||
| + | ===== Search package for specific binary ===== | ||
| + | |||
| + | * There is a specific tool for that < | ||
| + | * Update the package/ | ||
| + | * Search for " | ||
| + | |||
| + | ===== Avoiding marking package as manually installed | ||
| + | |||
| + | * Use dry-run (simulation) option '' | ||
| + | * Removed the package(s) displayed from your install list and re-run without '' | ||
| + | |||
| + | ===== GRUB Stuffs ===== | ||
| + | |||
| + | To prevent GRUB from looking for other OS every time it is updated: | ||
| + | * edit ''/ | ||
| + | * run update-grub | ||
| + | |||
| + | To add a custom entry: | ||
| + | * add a menuentry in ''/ | ||
| + | * uses the same menuentry format as in ''/ | ||
| + | * e.g. to boot my Slackware partition I can insert <code grub> | ||
| + | menuentry ' | ||
| + | insmod part_gpt | ||
| + | insmod ext2 | ||
| + | set root=' | ||
| + | if [ x$feature_platform_search_hint = xy ]; then | ||
| + | search --no-floppy --fs-uuid --set=root --hint-bios=hd0, | ||
| + | else | ||
| + | search --no-floppy --fs-uuid --set=root 4d95a526-2518-4fd6-a904-f7bd2729145d | ||
| + | fi | ||
| + | linux / | ||
| + | } | ||
| + | </ | ||
| + | * use '' | ||
| + | * of course, < | ||
| + | * run update-grub | ||
| + | |||
| + | ===== KVM Stuffs ===== | ||
| + | |||
| + | If KVM group is missing, simply create one... | ||
| + | < | ||
linux/dev1_3manage.1775356506.txt.gz · Last modified: by azman
