User Tools

Site Tools


Sidebar

CCNA Notes

Resources

GNS3 - Graphical Network Simulator for Win / Mac / Linux

r/CCNA - CCNA subreddit

lx103:managing_software

Table of Contents

RPM

Redhat Package Manager – now recursive – RPM Package Manager – after being adopted by multiple distros.

Package file naming conventions (NOT A REQUIREMENT):

  • packagename-a.b.c-x.arch.rpm
    • Package Name - name of package, like.. samba
    • Version Number - (a.b.c) this is the package version number like 3.6.5 – the programmer assigns this number.
    • Build Number - number following version number (x) represents minor changes (patches, tweaks) made by package container.
    • Architecture - Defines the architecture the package was made to run on. i386 is common. there are further archs like: i586, i686, x86_64, PPC, noarch(scripts)

Operators:

  • -i – Install
  • -U – Upgrade if already installed
  • -q – Query, get info about packages

DEB

apt-get

You can edit sources in /etc/apt/sources.list

deb     http://http.debian.net/debian wheezy         main
deb-src http://http.debian.net/debian wheezy         main
deb     http://security.debian.org/   wheezy/updates main
deb-src http://security.debian.org/   wheezy/updates main

deb entries specify debian PACKAGES where as deb-src specifies SOURCE PACKAGES, upon which to compile a package/program.

lx103/managing_software.txt · Last modified: 2024/11/21 03:07 by 114.119.145.216