Overview
Article explains how to update Linux systems, focusing on Ubuntu and Fedora, using GUI and command-line tools.
Package Formats and Distribution Differences
- Linux distributions use different package formats and tools.
- Understanding your distribution’s system ensures correct updates and installations.
Common Package Types
| Distribution(s) | Package Type | Notes |
|---|
| Ubuntu, Debian | .deb | Managed by apt tools. |
| Fedora, SuSE, Mandriva | .rpm | Managed by rpm/yum/PackageKit. |
| Slackware | .tgz | Pre-built binaries in archives. |
| Generic | Source, .bin, .package | Manual or custom installers. |
Ubuntu: Tools and Processes
- Tools: apt-get (CLI), Update Manager (GUI).
- Update Manager is mostly automatic; shows updates on schedule.
Update Manager Behavior
| Update Type | Check Frequency |
|---|
| Security updates | Daily |
| Non-security updates | Weekly |
Ubuntu GUI: Update Manager Steps
- Open System > Administration > Update Manager; click Check.
- Review Important Security Updates and Recommended Updates.
- Select updates (default all), click Install Updates.
- Enter sudo password; proceed. May require relogin or reboot.
- Newer tools like Ksplice aim to avoid reboots for kernel updates.
Ubuntu CLI: apt-get Steps
- Open terminal.
- Run: sudo apt-get upgrade.
- Enter password; review listed updates.
- Press y to confirm; updates install.
Fedora: Tools and Processes
- Tools: yum (CLI), PackageKit via GNOME or KDE (GUI).
- Fedora uses rpm-based management.
Fedora GUI: PackageKit Steps
- Open System > Administration > Software Update.
- Review update list; details appear in bottom pane.
- Click Install Updates; progress shows:
- Resolving dependencies.
- Downloading packages.
- Testing changes.
- Installing updates.
- Completion dialog indicates system is updated.
Fedora CLI: yum Steps
- Open terminal (Applications > System Tools > Terminal).
- Switch to root: su, enter root password.
- Run: yum update.
- Review updates; press y to confirm.
- After completion, type exit; close terminal.
Concepts and Takeaways
- Tools differ by distribution, but update concepts are similar.
- Both GUI and CLI methods support reviewing and confirming updates.
- Some updates may require logout or reboot, depending on changes.
Key Terms & Definitions
- apt-get: Ubuntu/Debian command-line package management tool.
- Update Manager: Ubuntu GUI tool for updates.
- rpm: Red Hat Package Manager format used by Fedora and others.
- yum: Fedora command-line tool to manage rpm packages.
- PackageKit: GUI frontend for package management in GNOME/KDE.
- Ksplice: Tool enabling live kernel updates without reboot.
Action Items / Next Steps
- Identify your distribution and corresponding package tools.
- On Ubuntu, choose Update Manager for automation or apt-get for manual control.
- On Fedora, use PackageKit for GUI updates or yum for command-line updates.
- Schedule regular checks if using CLI; confirm security updates promptly.