2009-1-linux-w11

  • Uploaded by: aorigin
  • 0
  • 0
  • May 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View 2009-1-linux-w11 as PDF for free.

More details

  • Words: 446
  • Pages: 13
How to Set a Static IP address in Ubuntu 8.10 (Intrepid Ibex) - Step 1 1. sudo update-rc.d -f NetworkManager remove reboot - Step 2 2-1. sudo nano /etc/network/interfaces auto lo eth0 iface lo inet loopback iface eth0 inet static address xxx.xxx.xxx.xxx(enter your ip here) netmask xxx.xxx.xxx.xxx 2-2. sudo nano /etc/resolv.conf nameserver xxx.xxx.xxx.xxx(enter your dns server ip) nameserver xxx.xxx.xxx.xxx(enter your alt dns server ip)

Software management An explanation of the package management subsystem Installing and removing software using Synaptic Manually installing a software package Installing and removing software at the command-line Adding new software repositories Compiling a program from source code

All about package management What’s in a package?

all programs are distributed as software package files Difference Ubuntu : only contain the program itself Windows : include the program and various system files

Important

everything in a typical Ubuntu originally came out of package

installation

All about package management APT and dpkg

Advanced Package Tool(APT) works at a higher level keeping track of what packages are installed very clever intelligent and efficient software updates

Debian Package system(dpkg)

works at a basic level doing the hard work of actually installing and removing packages

All about package management Software repositories

Ubuntu departs most radically from how Windows handles software management Repositories large stores of package located online, but CD/DVDs, USB

Personal Package Archive(PPA) to install cutting-edge software

All about package management Repositories Main

core package

Universe

Community maintained repository

Restricted

Proprietary drivers

Multiverse Updates

updates repository security repository

All about package management Dependency management

APT’s job is to take care of dependencies, and it does so automatically and largely invisibly uninstall some software that’s depended upon by other software reverse dependencies

Synaptic:An overview System → Administration Installing software Frozen-Bubble

Uninstalling software

Mark for Reinstallation Mark for Removal Mark for Complete Removal

Reinstalling software

Mark for Reinstallation

Manually installing a package inadvisable fraught with problems dependency issues

Gdebi Package Installer program .deb extension

Table 6-2

Command-line software management •

Installing software • • • •



Uninstalling software •



sudo apt-get update apt-cache search frozen bubble apt-cache show frozen-bubble sudo apt-get install frozen-bubble sudo apt-get autoremove frozen-bubble

Reinstalling software •

sudo apt-get –reinstall install frozen-bubble

Command-line software management •

Manually installing/uninstalling packages • • •



sudo dpkg -i packagename.deb sudo dpkg -r packagename sudo dpkg -I packagename.deb | less

Uninstallation limitations •

dependency hell

Working with repositories •

Adding a repository • • •



Start the Software Source program /etc/apt/source.list sudo apt-get update

Adding a new repository key • •

key : .asc, .gpg sudo apt-key app keyfile.gpg

Compiling from source code •

install build-essential package

• • • •

./configure make sudo make install

More Documents from "aorigin"

Upgrade Ubuntu
May 2020 2
2009-1-linux-w11
May 2020 4
2009-1-13w
May 2020 3
2009-1-7w
May 2020 1
2009-1-6w
May 2020 2
2009-1-3w
May 2020 1