C Keeping the System Up-to-Date

The apt-get and dnf utilities both fill the same role: They install and update software packages. Both utilities compare the files in a repository (generally on the Internet) with those on the local system and update the files on the local system according to your instructions. Both utilities automatically install and update any additional files that a package depends on (dependencies). Most Linux distributions come with apt-get or dnf. Debian-based systems such as Ubuntu and Mint are set up to use apt-get, which works with deb packages. Red Hat Enterprise Linux and Fedora use dnf, which works with rpm packages. There are also versions of apt-get that work with ...

Get A Practical Guide to Linux Commands, Editors, and Shell Programming, Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.