Installing softwares in linux

483 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
483
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
37
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Installing softwares in linux

  1. 1. INSTALLING SOFTWARES (a.k.a PACKAGES) <ul><li>WHY??? </li></ul><ul><li>TAR Files </li></ul><ul><li>RPM Red Hat Package Manager </li></ul><ul><li>DEB Debian Package Manager </li></ul>
  2. 2. RED HAT PACKAGE MANAGEMENT <ul><li>Used by- </li></ul><ul><li>Naming Conventions- </li></ul><ul><li>packagename-a.b.c-x.arch.rpm </li></ul><ul><li>Syntax- </li></ul><ul><li>rpm [operations] [options] [packages] </li></ul><ul><li>Basic use: </li></ul><ul><li>rpm –ivh packagename.rpm </li></ul>
  3. 3. DEBIAN PACKAGE MANAGER <ul><li>COMMANDS: </li></ul><ul><li>DPKG </li></ul><ul><li>-i install install package </li></ul><ul><li>-P purge removes package and config. files </li></ul><ul><li>-r remove removes package leaves config. </li></ul><ul><li>-p print info. Prints info about inst. Packages </li></ul><ul><li>-I info prints info About uninstalled pkgs </li></ul><ul><li> </li></ul><ul><li>APT-GET </li></ul>
  4. 4. APT-GET <ul><li>Advanced Packaging Tool </li></ul><ul><li>To install: </li></ul><ul><li>apt-get install packagename </li></ul><ul><li>To upgrade: </li></ul><ul><li>apt-get upgrade </li></ul><ul><li>To remove: </li></ul><ul><li>apt-get remove packagename </li></ul>
  5. 5. TAR FILES <ul><li>Works on every distribution. </li></ul><ul><li>More work to install. </li></ul><ul><li>Basic use: </li></ul><ul><li>tar xvf package.tar packg_directory </li></ul>
  6. 6. INSTALLING SOFTWARE FROM SOURCE CODE: <ul><li>Source code software must be compiled and installed. </li></ul><ul><li>Usually comes in compressed archive, called a tarball with a .tar or .tar.gz ending. </li></ul><ul><li>Archive includes source, configure script, makefile, and install scripts. </li></ul>
  7. 7. INSTALLING SOFTWARE FROM SOURCE CODE: <ul><li>CONFIGURE SCRIPTS – Inspects system for requirements and configures the makefile. </li></ul><ul><li>MAKEFILE- Contains installation parameters, variables, and setup instructions. </li></ul><ul><li>‘ make’ and ‘make install’ commands are run to compile and install software. </li></ul>

×