What is a Package Management System?



Similar documents
Basic Linux & Package Management. Original slides from GTFO Security

Apt-mirror. Copyright c Dr. Kent L. Miller Jan-20

Code Estimation Tools Directions for a Services Engagement

How to Install and Run Tibia on Linux Using Wine without Windows Contents

OpenGeo Suite for Linux Release 3.0

Installation Guide. Copyright (c) 2015 The OpenNMS Group, Inc. OpenNMS SNAPSHOT Last updated :19:20 EDT

How To Run A Password Manager On A 32 Bit Computer (For 64 Bit) On A 64 Bit Computer With A Password Logger (For 32 Bit) (For Linux) ( For 64 Bit (Foramd64) (Amd64 (For Pc

ULTEO OPEN VIRTUAL DESKTOP UBUNTU (PRECISE PANGOLIN) SUPPORT

Intelligent Video Analytics. Server Installation Guide. - Windows - Linux

Online Backup Linux Client User Manual

Linux+ Guide to Linux Certification, Third Edition. Chapter 11 Compression, System Backup, and Software Installation

Online Backup Client User Manual

CS197U: A Hands on Introduction to Unix

RUGGEDCOM NMS for Linux v1.6

1. Product Information

Online Backup Client User Manual Linux

AlienVault Unified Security Management (USM) 4.x-5.x. Deploying HIDS Agents to Linux Hosts

The BackTrack Successor

RecoveryVault Express Client User Manual

Zulu Installation Guide. Zulu Release 8.9 August 25, 2015

ULTEO OPEN VIRTUAL DESKTOP V4.0

Partek Flow Installation Guide

IT6204 Systems & Network Administration. (Optional)

Online Backup Client User Manual

Zend Server 5.0 Reference Manual

The FOSSology Project Overview and Discussion. » The Open Compliance Program. ... By Bob Gobeille, Hewlett-Packard

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

Of Penguins and Wildebeest. Anthony Rodgers VA7IRL

A DirectX 9 capable graphics card is recommended. A DirectX 10 capable graphics card from ATI or nvidia is required for Volume Rendering.

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

Installation & Upgrade Guide

The Build Process. of (GNU Tools for ARM Embedded Processors)

nitrobit update server

OFFLINE ACTIVATION. 1. Download the offline utilities. 2. On the computer on which you are installing your FEI software

What s New in Propalms VPN 3.5?

Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers

Installation Guide. McAfee VirusScan Enterprise for Linux Software

SendMIME Pro Installation & Users Guide

Installation ServerView ESXi CIM Provider V6.12

Copyright 2014, SafeNet, Inc. All rights reserved.

Imprint. ecodms Version: (krusty) Manual Build Number: 20 Language: Copyright 2016: ecodms GmbH Salierallee 18a Aachen Germany

BACKUP YOUR SENSITIVE DATA WITH BACKUP- MANAGER

User Guide - escan for Linux File Server

pbuilder Debian Conference 2004

Zenoss Core ZenUp Installation and Administration

Training on Linux System Administration, LPI Certification Level 1

Sage ERP Accpac U.S. Payroll Versions 5.5S, 5.6O and 6.0J Tax Update for June 30, 2012

How To Backup A Database In Navision

My name is Robert Comella. I am a SANS Technology Institute (STI) student who is nearly finished with my master of science in engineering degree.

HOW TO SILENTLY INSTALL CLOUD LINK REMOTELY WITHOUT SUPERVISION

Abstract. Microsoft Corporation Published: November 2011

Novell ZENworks 10 Configuration Management SP3

Making CP/M 3 CF disks for S100 IDE Board

EMC Documentum Connector for Microsoft SharePoint

IBM WebSphere Application Server Version 7.0

HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD Course Outline CIS INTRODUCTION TO UNIX

IBM Endpoint Manager Version 9.1. Patch Management for Red Hat Enterprise Linux User's Guide

Software Deployment and Configuration

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Connect to an SSL-Enabled Microsoft SQL Server Database from PowerCenter on UNIX/Linux

Apache 2.0 Installation Guide

How To Install Acronis Backup & Recovery 11.5 On A Linux Computer

A Smart Way to Manage Packages in Yocto Project

TAO Installation Guide v0.1. September 2012

ARMSDK-VM Virtual Appliance A preconfigured Linux system

Massey University Follow Me Printer Setup for Linux systems

Password Reset Tool for Service Desk Operators Version 2.0

VERSION 9.02 INSTALLATION GUIDE.

FirstClass Synchronization Services Install Guide

AES Crypt User Guide

Installation of OpenMPI

NETWORK OPERATING SYSTEMS. By: Waqas Ahmed (C.E.O at Treesol)

insync Installation Guide

The Linux System. o Updating without touching the user's files and configurations.

OpenOffice.org 3 Installation Guide

Netop Remote Control for Linux Installation Guide Version 12.22

Anti-Spyware Enterprise Module software

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Download and Installation Instructions. Android SDK and Android Development Tools (ADT) Microsoft Windows

PTC Integrity Eclipse and IBM Rational Development Platform Guide

Configuring Microsoft IIS 5.0 With Pramati Server

Code::Blocks Student Manual

AVALANCHE MC 5.3 AND DATABASE MANAGEMENT SYSTEMS

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Configuring MailArchiva with Insight Server

HOWTO configure Xinu under Virtual Box

EMC Documentum Webtop

Practice Fusion API Client Installation Guide for Windows

MegaRAID SAS Device Driver Installation

How To Use Ackup On Ackups On A Cell Phone Or Ipad Or Ipa (Ackup) On A Pc Or Ipam 2.5 (Aqb) On An Iphone

PN Connect:Enterprise Secure FTP Client Release Notes Version

ESX 4 Patch Management Guide ESX 4.0

How To Configure A Server With Xwconfigure.Org (Myrothsol) On A Microsoft Server (Myriod) On An Ubuntu) On Your Ubuntu Server (Xw) With A Password Protected (Myros

Abstract. Microsoft Corporation Published: August 2009

Transcription:

Package Management

What is a Package Management System? A package management system (or PMS) is a collection of tools to automate the process of installing, upgrading, configuring, and removing software packages from a computer. Distributions of Linux typically consist of hundreds or even thousands of distinct software packages therefore managing the packages is very much essential.

Debian Package A Debian "package", or a Debian archive file, contains the executable files, libraries, and documentation associated with a particular suite of program or set of related programs. Normally, a Debian archive file has a filename that ends in.deb. BOSS follows Debian Package Management System

Types of Debian Packages There are two types of debian packages : Binary Package : Usually distinguished with.deb file extension. The Debian binary package file names conform to the following convention: It contains executables, configuration files, man/info pages, copyright information, and other documentation.

It consists of.dsc file Source Package Package Name, version, Maintainer's Name, Builddepends. Information about other files..orig.tar.gz file Original unmodified source in gzip compressed tar format.diff file Debian specific changes to the original source

Package Management Tools dpkg apt-get gdebi Synaptic manager

Dpkg dpkg is Debian Package Manager This tool can be used with different parameters for different operations. dpkg -l - lists all the packages which are installed in the system dpkg -l packagename tells whether that particular package is installed and if installed its version and a description about the package. dpkg -i packagename Installs the package in the system.

Apt APT Advanced Package Tool It provides the apt get program and apt get gives a simple way to retrieve and install packages from multiple sources using the command line. It also provides apt cache program. It can only install.deb archives from the source which is specified in /etc/apt/sources.list. It will call dpkg directly after downloading the.deb archives from the configured sources.

Usage of apt-get Ways to use apt get To update the packages list, apt get update To install a package (ex: gdm), apt get install gdm To remove a package (ex: gdm) from your system apt get remove gdm To remove the package and also its configuration files from your system apt get purge remove gdm

Contd... To upgrade all the packages which is installed in your system. apt get upgrade To upgrade all the packages on your system, and, if needed for a package upgrade, installing extra packages or removing packages apt get dist upgrade

How to Work with apt-get? Open vi /etc/apt/sources.list and add the following repositories in it deb http://packages.bosslinux.in/boss tejas main contrib non free deb src http://packages.bosslinux.in/boss tejas main contib non free Run apt get update command from the prompt This command looks for the packages list available in the archives and saves it in /var/lib/apt/lists. When we install a package, apt will search for status and path of the package in package lists file

Usage of apt-cache To find packages whose description contain word apt cache search word To view the detailed information of a package apt cache show packagename

Packages Installation Packages can be installed in different ways like: Installing Through utility cd. Installing From shell prompt Installing Through synaptic manager. Installing the packages from source like.tar.gz. Installing through alien. Installing through wine.

Synaptic Package Manager Synaptic Package Manager enables you to install software onto your system and to manage the software that is already installed. This software is bundled in so called packages. A single application can even exist in several packages.nearly all applications reuse the functionality of other applications or libraries to avoid doubled efforts. So most of the packages depends on other packages. Synaptic Package Manager resolves the dependencies automatically.

Features Install, remove, configure, upgrade single and multiple packages. Upgrade your whole system. Manage package repositories. Search packages by name. Browse all available online documentation related to a package. Lock packages to a current version

Installation through prompt There are two methods to install through shell prompt First Method If a package is downloaded from the Boss repository manually, it can be installed using the following command dpkg i package name If it asks for any dependancies, then the dependant package should also be downloaded manually and installed.

Contd... Second Method Add the following line in the /etc/apt/sources.list deb http://packages.bosslinux.in/boss main and save the file and quit. Then run apt get update in the shell prompt, this will update the packages list. To install the package run apt get install packagename

Installation of rpm and exe Installing rpm packages Rpm packages can be installed using a tool called alien. Alien i <rpm package name> Alien d <rpm package name> Installing exe files Exe packages can be installed using a tool called wine. Wine <name of the exe file>

Installation from compressed files Tar.gz or zip files installation Right click on the corresponding file and choose extract here option Follow the instructions in README file or install file Mostly the steps will be./configure make make install

Repository A repository is a set of packages organized in a special directory tree which also contains a few additional files containing indexes and checksums of the packages. Repositories can be online and offline (cdrom). The components are main, contrib and non free. The different distributions in Boss are Tarang,Anant,Tejas and Savir. Index files are Packages.gz and Sources.gz.

Components Main Include packages which comply with DFSG(debian free software guidelines). Non free Include packages which do not comply with the DFSG. Contrib Include packages which do comply with the DFSG, but may fail other requirements. For instance, they may depend on packages which are in non free.

DFSG Some of the Debian free software guidelines Free redistribution. Inclusion of source code. Allowing for modifications and derived works. Integrity of the author's source code The license needs to apply to all to whom the program is redistributed. The GPL, BSD licenses are examples of licenses considered free.

GPL License Freedom to use the software for any purpose. Freedom to change the software to suit your needs. Freedom to share the software with your friends and neighbours. Freedom to share the changes you make.

Wine A software application that allows computer programs written for Microsoft Windows to run on Linux operating systems. To install wine run, apt get install wine To install a.exe file in wine wine <windowsapp.exe> To run the installed application Application Wine Programs

Installing New Fonts Installing new fonts in Linux is as simple as a copy operation, Copy the fonts to be installed into the following directory, /usr/share/fonts For using the new font immediately run, fc cache f v

Installing a Kernel Download the following.deb's Linux headers 2.6.xx Linux image 2.6.xx Install the above.deb's Selecting the newly installed kernel in grub, boots the system with that kernel.

The END! Thank You