A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux...
-
Upload
cory-barrett -
Category
Documents
-
view
223 -
download
1
Transcript of A Practical Guide to Fedora and Red Hat Enterprise Linux Unit 8: Installing Software in Linux...
A Practical Guide to Fedora and Red Hat Enterprise LinuxUnit 8: Installing Software in LinuxChapter 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-3.5.8-76.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: Optionsyum 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: Optionsyum 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.gzand
2. ./configure3. make4. sudo make install
or2. ./configure && make
&& sudo make install
Downloading without Browser
wget:◦Allows you to download files without a browser
wget \http://fedoraproject.org
wget -b \http://example.com/bigFile.tar.gz
Using ftpftp prep.ai.mit.edu
◦User: anonymouscd pub/gnu/gcclscd gcc-4.6.0lcd c:\Users\Fred\Downloadsbinaryget gcc-4.6.0.tar.gzquit