linux:dev1_3manage
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:dev1_3manage [2026/02/09 22:19] – created - external edit 127.0.0.1 | linux:dev1_3manage [2026/04/05 02:44] (current) – azman | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Some are applicable to any APT-based distro. | Some are applicable to any APT-based distro. | ||
| - | To remove translations, | + | // |
| - | 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 ===== | ||
| - | * Using '' | + | Using '' |
| - | | + | Note that apt will issue a warning when piping its output in shell. Hence, the need to redirect '' |
| - | * We can further grep away the packages that were automatically installed. | + | |
| - | | + | Using the basic '' |
| - | | + | This version, however, only provides package name. To extract similar output from '' |
| - | * 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.1770675564.txt.gz · Last modified: by 127.0.0.1
