1 / 11

CSI 135

CSI 135. Downloading & Installing Software. Software Packages. A software package is a scripts, programs, files and directories that are needed to run some particular software application The files come as a “package” to make it easy to install and, if necessary, uninstall. Software Packages.

ellard
Download Presentation

CSI 135

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CSI 135 Downloading & Installing Software

  2. Software Packages • A software package is a scripts, programs, files and directories that are needed to run some particular software application • The files come as a “package” to make it easy to install and, if necessary, uninstall

  3. Software Packages • Software packages for Unix/Linux come in different package formats • rpm – most popular for Linux • tar • tar.gz (compressed tar)

  4. Installation Programs • Unix/Linux systems include programs to make downloading and installing packages easy on the end user • The yum program is one such program

  5. Installation Programs • Early versions of Red Hat did provider the rpm command, but the user had to figure out what other packages an application needed and download them • yum manages dependencies for the user

  6. yum • You should not have to configure yum. It should be ready to go. • Its configuration file is /etc/yum.conf.

  7. /etc/yum.conf yes?> cat /etc/yum.conf [main] cachedir=/var/cache/yum keepcache=0 debuglevel=2 logfile=/var/log/yum.log distroverpkg=redhat-release tolerant=1 exactarch=1 obsoletes=1 gpgcheck=1 plugins=1 Global options Update packages only if same architecture Remove obsoleted packages

  8. /etc/yum.conf # Note: yum-RHN-plugin doesn't honor this. metadata_expire=1h # Default. # installonly_limit = 3 # PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d

  9. Using yum # yum update This command determines which packages need to be updated and updates them. It also takes care of any dependencies.

  10. Using yum # yum install tcsh # yum remove tcsh You can use yum to install specific applications or to remove them when you no longer need them.

  11. Other yum Commands command function List installed packages with available updates Removes header files and cached dependencies Remove package dependency data (reloads next time) Lists packages available on the repository Searches for word in package descriptions • check-update • clean all • clean metadata • list available • search word

More Related