UNIX / Linux command-line interface.

Upgrading Red Hat Enterprise Linux / CentOS

RHEL/CentOS 5–6–7
Package Management with rpm and yum
Building Software From Source

There have been only minor changes in software package management and the task of building software from source. The biggest change hasn't been within Linux itself, but has been the Internet locations of the major free software archives.

Previous: Storage

The previous page explained how storage has changed as the default file system type has migrated from Ext3 to Ext4 to XFS and possibly to Btrfs depending on the distribution.

6 — Package Management

RHEL/CentOS 5.* gave you both IA32 and IA64 binaries and libraries for most packages when you install onto 64-bit hardware. Put another way, starting with RHEL 6 you no longer get two lines of output when you type:

$ rpm -q firefox

and so you no longer have to type this to figure it out:

$ rpm -q --qf '%{name}.%{arch}\n' firefox
Package Management

See my page on package management for details on rpm and yum, as well as other Linux package systems like the Debian and Ubuntu apt-get and dpkg and the Mageia urpm system, plus OpenBSD and Solaris package management.

7 — Building Software from Source

Starting with RHEL 6, rpmbuild and related tools no longer use directories under /usr/src/ as their working area. They instead use ~/rpmbuild, meaning that things like building a kernel as root requires an unusually large amount of space on the / partition. That is, unless you do this:

# mkdir /usr/src/rpmbuild
# ln -s /usr/src/rpmbuild ~/rpmbuild

For reasons completely unrelated to any specific Linux distribution, the standard free software web sites have changed. Formerly useful sites like sourceforge.net, freshmeat.net, freecode.com, and freshrpms.net have been replaced by GitHub.

The next section is on networking, an area with many recent changes.

Next: Networking