Install Software. UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running.

Slides:



Advertisements
Similar presentations
Guide To UNIX Using Linux Third Edition
Advertisements

Linux+ Guide to Linux Certification Chapter 12 Compression, System Backup, and Software Installation.
Overview Basic functions Features Installation: Windows host and Linux host.
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.
Julie McEnery1 Installing the ScienceTools The release manager automatically compiles each release of the Science Tools, it creates a set of wrapper scripts.
Installing Linux softwares Sirak Kaewjamnong. 2 Software packets  When Linux developers create their software they typically bundle all the executable.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Linux Commands LINUX COMMANDS.
Chapter 11 Compression, System Backup, and Software Installation.
Downloading & Installing Software Chapter 13. Maintaining the System Yum Pirut BitTiorrent Rpm Keeping Software Up To Date Up2date Red Hat Network Wget.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
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.
Linux Operations and Administration
Linux+ Guide to Linux Certification
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
LPIC-1 TRAINING COURSE Topic 102: Linux Installation and package management.
Linux Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CENT 305 Information Systems Security Linux Introduction.
Package Management How to use rpms. Topics The Problem of Software Installation Package Management Systems Using RPM Finding RPMs Building RPMs.
Linux Package Management Dr. Michael L. Collard 1.
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Guideline: How to build AMSS source code? History: 01/02/ Make Draft 05/02/2010 – Release /02/2010 – Updated.
UCSC All rights reserved. No part of this material may be reproduced and sold. 1 IT1202-Fundamentals Of Programming (Using JAVA) Interacting with.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
CIT 470: Advanced Network and System AdministrationSlide #1 CIT 470: Advanced Network and System Administration Package Management.
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.
1 What is a Kernel The kernel of any operating system is the core of all the system’s software. The only thing more fundamental than the kernel is the.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Linux Introduction What is Linux? How do you use it?
UNIX/LINUX SHELLS.  “A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
ITI Chris Uriarte ITI-481: Unix Administration Meeting 2 Rutgers University Center for Applied Computer Technologies Chris Uriarte, Instructor.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.
Lab 3 + Using the Terminal 1. "Under Linux there are GUIs (graphical user interfaces). where you can point and click and drag, and hopefully get work.
File Transfer Protocol (FTP) FTP host stores files Client logs into host Client program sends command to get a file FTP host downloads the file with error.
Installation of packages Objectives –Using software packaging tools Contents –Application delivered as –Where to get commonly used rpm’s –Autofs on! –Getting.
Software in the Data Protector Architecture
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
RedHat Package Management RPM and YUM in RedHat Enterprise, Fedora, Suse and Centos.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Software Management Linux Software Package File Extensions Extension File.rpm Software package created with the Red Hat Software Package Manager, used.
A Brief Introduction to Linux Cheng-Han Du. History.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Agenda The Linux File System (chapter 4 in text) Linking Files Hard Links / Symbolic Links Disk Storage Checking for Disk Space (df / du) Archiving (Backing.
Linux Essentials Chapter 1: Selecting an Operating System.
IT320 Operating System Concepts
bitcurator-access-webtools Quick Start Guide
CIT 470: Advanced Network and System Administration
Hadoop Architecture Mr. Sriram
COP 4343 Unix System Administration
Welcome to Linux Chap#1 Hanin Abdulrahman.
Managing Software.
More Scripting & Chapter 11
RedHat Package Management
University of Texas Rio Grande Valley Systems Administration CSCI 6175
The Linux Command Line Chapter 18
COP 4343 Unix System Administration
Understanding Linux and the BASH shell v
bitcurator-access-webtools Quick Start Guide
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

Install Software

UNIX Shell The UNIX/LINUX shell is a program important part of a Unix system. interface between the user & UNIX kernel starts running when you log interprets the commands that you type. Before runs commands, determines whether cmd is

What a UNIX/LINUX shell Al shells derive many of their features from the Bourne shell, or /bin/sh Every Unix system needs the Bourne shell to function correctly bash is the default shell for most Linux distributions When a user is created, many startup files are placed in their home directory:.bash_logout,.bash_profile,.bashrc...

Compress file gzip(gunzip), bzip2 (bunzip2),zip (unzip) : compress and replace ▫ gzip(bzip2) mydata.doc ▫ zip mydata.zip mydata.doc tar: archiving, support gzip(-z) & bzip2 (-j) ▫ archiving: tar -cvfmyarchive.tar mydirectory/ ▫ de-archiving: tar -xvfmyarchive.tar mydirectory/ ▫ combine with gzip  compress: tar -zcvfpics.tar.gz *.jpg  decompress: tar -zxvfpics.tar.gz

Compress File gzip(gunzip), bzip2 (bunzip2),zip (unzip) : compress and replace ▫ gzip(bzip2) mydata.doc ▫ zip mydata.zipmydata.doc tar: archiving, support gzip(-z) & bzip2 (-j) ▫ archiving: tar -cvfmyarchive.tarmydirectory/ ▫ de-archiving: tar -xvfmyarchive.tarmydirectory/ ▫ combine with gzip ▫ compress: tar -zcvfpics.tar.gz*.jpg ▫ decompress: tar -zxvfpics.tar.gz

Installing Software Sources: ■ Tucows ■ Freshmeat ■ Linux Online Verifying Your Downloads

Installing Software Packages (RPM) ■ Install new packages ■ Update existing packages ■ Verify package files ■ Query installed packages ■ Uninstall packages

A sample RPM

■ Package. ■ Version Number: ■ Release Number : 15. The designators include: ■ fcx Specifies that the package is intended for Fedora Core version x. For example, fc4 indicates the package is for Fedora Core 4. ■ rhlx Specifies that the package is intended for Red Hat Linux version x. ■ susexxx Specifies that the package is intended for SUSE Linux version xxx. For example, Fedora Core 10

A sample RPM ■ Architecture Type This part of the file name specifies the CPU ▫ ■ i386 Specifies that the software will run on an Intel or later CPU. ▫ ■ i686 Specifies that the software will run on an Intel Pentium II or ▫later CPU. ▫ ■ athlon Specifies that the software is intended to run on an AMD Athlon CPU. ▫ ■ ppc Specifies that the software is intended to run on the PowerPC CPU. ▫ ■ noarch Specifies that the package is not architecture-dependent.

From.rpm packages Installing and upgrading,remove ▫ rpm –i(U) software rpm ▫ rpm –e software Querying the RPM database ▫ rpm -q software ▫ rpm -qa //list all package ▫ rpm -qa| grepkde

Querying Packages-# rpm -q [options] rpm -q ▫ ■ –i rpm –qi postfix command has been issued ▫installed on the system. ▫ ■ --whatrequires  rpm –q –whatrequires postfix ▫ ■ –l This option displays a list of files that are included in an RPM package. ▫ ■ --provides This option displays the functionality the specified package supplies.

Querying Packages- -qa — Lists all installed packages. -qf file — Lists the package that owns file. (The file must include the full path name or rpm assumes the current directory.) -qi package — Lists lots of information about a package.000 -qR package — Lists components (such as libraries and commands) that package depends on. -ql package — Lists all the files contained in package.

Querying Packages- -qd package — Lists all documentation files that come in package. -qc package — Lists all configuration files that come in package. -qp [option] package — Query packages that are not yet installed. Using this option, along with other query options, allows you to query packages you have that are not yet installed.

Verifying rpm package integrity

Installing Software from Source Code ■ Preparing the installation files ▫./configure ■ Compiling the executable: convert the text-based source code into a binary executable file by C compiler (such as gcc) ▫make ■ Installing the executable ▫make instal

Running yum to download and install RPMs

Using yum to install packages locally