A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux Chapter 13: Downloading and Installing Software By Fred R. McClurg Linux Operating System © Copyright 2013, All Rights Reserved
rpm: RedHat Package Manager Description: CLI for installs, uninstalls, upgrades, queries Installs ◦ rpm -Uvh \ samba fc14.i686.rpm
yum: Yellow Dog Updater, Modified Description: CLI for installs, uninstalls, upgrades, queries and checks dependencies ◦ Command line utility ◦ Already installed ◦ Checks for compatibility ◦ Checks for dependencies ◦ Installs required software ◦ Upgrades out of date software
yum: Options yum install ◦ Description: Downloads and installs software from yum repository. Installs any dependant packages ◦ Syntax: yum install vim-enhanced yum remove ◦ Description: Removes specified packages ◦ Syntax: yum remove vim-enhanced
yum: Options yum list ◦ Description: Lists all packages in the yum repository ◦ Syntax: yum list | grep -i vim yum search ◦ Description: Searches the string in the package description, summary and name ◦ Syntax: yum search vim
Adding/Removing Software Fedora ◦ gpk-application : GUI for adding and removing software RHEL ◦ pirut : GUI for adding and removing software
Compile/Install Source Code 1. tar -xvzf src.tar.gz and 2../configure 3. make 4. sudo make install or 2../configure && make && sudo make install
Downloading without Browser wget: ◦ Allows you to download files without a browser wget \ wget -b \
Using ftp ftp prep.ai.mit.edu ◦ User: anonymous cd pub/gnu/gcc ls cd gcc lcd c:\Users\Fred\Downloads binary get gcc tar.gz quit