Linux Operations and Administration

Slides:



Advertisements
Similar presentations
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
Advertisements

1. Reasons for logging on as a root •Most people are familiar with Windows systems with regard to administrative privileges. Many user running windows.
LINUX-WINDOWS INTERACTION. One software allowing interaction between Linux and Windows is WINE. Wine allows Linux users to load Windows programs while.
Chapter One The Essence of UNIX.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Network+ Guide to Networks, Fourth Edition Chapter 10 Netware-Based Networking.
Lab 03 Windows Operating Systems (Cont.). PYP002 Preparatory Computer ScienceWindows Operating System2 Objectives Develop a good understanding of 1. The.
MIS 431 Chapter 71 Ch. 7: Advanced File Management System MIS 431 Created Spring 2006.
70-270, MCSE/MCSA Guide to Installing and Managing Microsoft Windows XP Professional and Windows Server 2003 Chapter Nine Managing File System Access.
Chapter 5 System Software.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Linux+ Guide to Linux Certification, Third Edition Chapter 11 Compression, System Backup, and Software Installation.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Linux Operations and Administration
Chapter 7 Installing and Using Windows XP Professional.
Ch 11 Managing System Reliability and Availability 1.
Chapter 11 Compression, System Backup, and Software Installation.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
Lesson 4 Computer Software
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Managing Software using RPM. ♦ Overview In Linux, Red Hat Package Manager referred as RPM is a tool used for managing software packages and its main function.
Hardware vs. Software Computer systems consist of both hardware and software. Hardware refers to anything you can physically touch. Keyboards, mice, monitors,
Your Interactive Guide to the Digital World Discovering Computers 2012.
Chapter 4 Operating Systems and File Management. 4 Chapter 4: Operating Systems and File Management 2 Chapter Contents  Section A: Operating System Basics.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring, Managing, and Troubleshooting Resource Access.
Hands-On Microsoft Windows Server 2008
Linux+ Guide to Linux Certification
Computing Fundamentals Module A Unit 2: Using Windows Vista LessonTopic 8Looking at Operating Systems 9Looking at the Windows Desktop 10Starting Application.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 15 Installing and Using Windows XP Professional.
Tutorial 11 Installing, Updating, and Configuring Software
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
4 1 Operating System Activities  An operating system is a type of system software that acts as the master controller for all activities that take place.
Hands-On Virtual Computing
Lesson 1 Review Q and A’s.
CENT 305 Information Systems Security Linux Introduction.
Linux Operations and Administration
Installing Windows Vista Lesson 2. Skills Matrix Technology SkillObjective DomainObjective # Performing a Clean Installation Set up Windows Vista as the.
Chapter 4 Initial Configuration Tasks. Understanding the Initial Configuration Tasks window Microsoft now provides a new feature, the Initial Configuration.
Chapter 4 System Software. Software Programs that tell a computer what to do and how to do it. Sets of instructions telling computers to perform actions.
Linux+ Guide to Linux Certification Chapter Thirteen Compression, System Back-Up, and Software Installation.
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.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Installation and Upgrade Campus-Booster ID : **XXXXX Copyright © SUPINFO. All rights reserved Solaris 10 installation.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Linux Operations and Administration Chapter Two Installing OpenSUSE.
Deploying Software with Group Policy Chapter Twelve.
Linux Operations and Administration
Linux Operations and Administration
Linux Operations and Administration Chapter Twelve Configuring a Mail Server.
2: Operating Systems Networking for Home & Small Business.
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
CHAPTER 2 COMPUTER SOFTWARE. LEARNING OUTCOMES At the end of this class, students should be able to:  Explain the significance of software  Define and.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Instructor: Syed Shuja Hussain Chapter 4: Operating System Basics.
Chapter 9 Managing Software
Development Environment
Guide to Linux Installation and Administration, 2e
Chapter 7 Installing Program &Backup Tool
Managing Software.
Ubuntu Working in Terminal
Lecture 13 RPM and its advantages.
5 SYSTEM SOFTWARE CHAPTER
5 SYSTEM SOFTWARE CHAPTER
Linux Operations and Administration
Linux Operations and Administration
Presentation transcript:

Linux Operations and Administration Chapter Nine Installing Software Packages

Objectives Manage software packages with the RPM utility Handle RPM software dependencies Install, upgrade, and remove software at the command line Add remote software repositories in openSUSE Work with software packages in YaST Software Manager

Working with RPM Software Packages Software packages for Linux and UNIX used to be available in compressed tar archives called tarballs or in cpio (copy in/out) format Problems These formats had no features for upgrading or uninstalling software Installation was tedious Package management utilities developed to address these shortcomings

Working with RPM Software Packages (cont’d.) RPM Package Manager (RPM) Used to install and manage software packages Software package An archive of related files, such as configuration, data, and documentation files, constituting a software application Has a label containing metadata Metadata is descriptive information, such as name, version, size, and description of its contents

Working with RPM Software Packages (cont’d.) RPM utility Open-source software licensed under the GPL Many Linux distributions, including openSUSE, have it installed already Can be used on many OSs, such as OS/2, Solaris, AIX, Sun OS, IRIX, UNIX, and several Linux distributions

Working with RPM Software Packages (cont’d.) Used to build, install, query, verify, update, and uninstall software packages in Linux Can also be used to package a software application in source code or binary form RPM package Contains an archive of: Files Package details: such as name, version, and description

Working with RPM Software Packages (cont’d.) Packages built with RPM have some advantages: Upgrading Uninstalling Verification Querying

The RPM Utility rpm command can be used in one of the following modes: Querying Can be done by any user Installing, upgrading, and removing Can be done only by the root user

The RPM Utility (cont’d.) You might have to specify: Package name Source RPM name Package file Table 9-1 Describes common options used with this command

The RPM Utility (cont’d.) Table 9-1 Common rpm options

Querying Packages Querying with rpm command -q option Gives package details from the RPM database -q option Used to run a query Used to determine version and release information for software packages

Installing Packages RPM packages have an .rpm extension and filenaming conventions Example: OpenOffice_org-writer-3.1.1.4-1.2.3.i586.rpm Name Describes the software “OpenOffice_org-writer” in the example

Installing Packages (cont’d.) Version Indicates the package’s version number 3.1.1.4 in the example Release Software release number 1.2.3 in the example Architecture Specifies the architecture (the type of hardware the package is meant to run on) i586 in the example

Installing Packages (cont’d.) Example F-Spot package (version 0.6.1.5, release 1.1.1 for i586 hardware) installed with -i, -v, and -h options Second and third lines show some of command’s output

Installing Packages (cont’d.) Functions performed by RPM utility during installation: Dependency checks Preinstallation tasks Conflicts Unpacking Postinstallation tasks Storage

Upgrading Packages Upgrading packages with the RPM utility Similar to installing them, but you use the -U option Syntax example: rpm -U install-options package–filename Example where a software package is upgraded

Upgrading Packages (cont’d.) Smart update RPM retains previous version’s configuration file –U option also works well when no previous version of the package is on the system It simply installs the package instead of performing an upgrade

Upgrading Packages (cont’d.) -F (freshen) option Also used to upgrade software packages Can be used with a group of packages Especially useful if you have downloaded several packages and want to upgrade only the ones already installed

Upgrading Packages (cont’d.) Example showing use of -F option when a previous version doesn’t exist: Package wasn’t installed because no older version was in place

Upgrading Packages (cont’d.) Example showing use of -F option to upgrade an existing package: Command to upgrade only the packages for which an older version is already installed: # rpm –Fvh *.rpm

Uninstalling Packages RPM makes uninstalling packages fast and easy Use -e option in this format: rpm -e package–name You don’t have to specify package’s full name Example: rpm -q f-spot f-spot-0.6.1.5-1.2.1.i586 rpm -e f-spot

Uninstalling Packages (cont’d.) Activity 9-1: Using the RPM Utility Download an RPM package and install, delete, and upgrade it

RPM Dependencies RPM dependencies feature Determines whether a software package depends on another application to run Indicates what capabilities an installed package provides to other applications

RPM Dependencies (cont’d.) RPM dependencies feature useful in: Trying to delete a package that’s providing capabilities to another application Installing a software package that requires the capabilities of another application

RPM Dependencies (cont’d.) RPM “dependency loop” Solution: a front-end package manager Provides a user interface to make package management more user friendly Table 9-2 Describes a few widely used front-end package managers

RPM Dependencies (cont’d.) Table 9-2 Front-end package managers

Working with Software Packages in OpenSUSE After openSUSE is installed: Software packages are installed Repositories used to install or update packages are installed Repository A storage location for software packages Usually a Web server, but can also be on the local system

Working with Software Packages in OpenSUSE (cont’d.) Software in openSUSE is indexed You can search for software by using patterns Patterns are collections of packages that define a type of function Such as server packages

The yast Command Can be used to configure: Table 9-3 Hardware Network connections and clients Services General system options Such as language, partitioning, and boot loaders Table 9-3 Describes some common options used with yast command

The yast Command (cont’d.) Table 9-3 Common yast options

The yast Command (cont’d.) Activity 9-2: Using the yast Command Use the yast command to install and remove a package

Software Repositories openSUSE Configured Software Repositories tool Another resource for working with software packages To open: Use yast --gtk command as the root user Click Software Repositories icon

Software Repositories (cont’d.) Figure 9-1 The Configured Software Repositories tool © Cengage Learning 2013

Software Repositories (cont’d.) If yast command is used to install software that can’t be located in one of the repositories: Error similar to Figure 9-2 is shown To prevent this problem: Use Configured Software Repositories tool to add software repositories

Software Repositories (cont’d.) Figure 9-2 An install error © Cengage Learning 2013

Software Repositories (cont’d.) Three types of software repositories for version 11.2 that are available automatically: OSS (Open Source Software) http://download.opensuse.org/distribution/11.2/repo/oss/ NON-OSS (Not Open Source Software) http://download.opensuse.org/distribution/11.2/repo/non-oss/ Update (official security and bug-fix updates) http://download.opensuse.org/update/11.2/

Software Repositories (cont’d.) Table 9-4 Describes some common repositories that are available for download Activity 9-3: Using a Third-Party Software Repository Add a third-party software repository to your list of trusted repositories

YaST Software Manager OpenSUSE has a graphical utility for installing, updating, and removing software To open Software Manager On a KDE machine Click the Kickoff Application Launcher button Click the Applications tab Click System Click YaST

YaST Software Manager (cont’d.) Another method to open Software Manager Issue yast --gtk command (logged in as root) Click Software Management icon Buttons at the top of Software Manager window Available Displays packages that can be installed based on existing repositories Upgrades Displays packages for which newer versions are available

YaST Software Manager (cont’d.) Figure 9-3 YaST Software Manager © Cengage Learning 2013

YaST Software Manager (cont’d.) Installed Displays all packages installed on your system All Displays the combined results of the Available, Upgrades, and Installed lists

YaST Software Manager (cont’d.) Filter list box has the following selections: Groups Displays software packages by category, such as Admin Tools or Education Patterns Lists packages grouped by function, such as Base Technologies or Graphical Environments Languages Contains all language package files Repositories Filters packages based on the repository to which they belong

YaST Software Manager (cont’d.) Search field You can enter the name of a software package to see the RPM name and a summary of its attributes Activity 9-4: Working with the YaST Software Manager Use the YaST Software Manager to install, upgrade, and remove packages

Summary RPM Package Manager (RPM) Software package A utility used to install and manage software packages Software package An archive of related files constituting a software application RPM packages have several advantages over traditional packages rpm command is used to query the RPM database and install, remove, and upgrade packages

Summary (cont’d.) RPM dependencies feature Software repositories Determines whether a package relies on another application to run Software repositories Storage locations for software packages YaST Software Manager An easy-to-use GUI package manager yast command Used to install, update, and uninstall software packages along with their dependencies