Difference between revisions of "Linux Notes"

From Simson Garfinkel
Jump to navigationJump to search
Line 9: Line 9:
===Update Fedora===
===Update Fedora===
   sudo yum update        # downloads and installs out-of-date RPMs
   sudo yum update        # downloads and installs out-of-date RPMs
  sudo yum list installed # shows what is installed
  sudo yum list                # shows all packages available.
===Update Ubuntu===
===Update Ubuntu===
   sudo apt-get update    # updates the databases
   sudo apt-get update    # updates the databases

Revision as of 16:18, 17 July 2011

Simson's notes on Linux.


Find current Linux Version

ubuntu
   cat  /etc/lsb-release

Updating, Upgrading and Installing

Update Fedora

 sudo yum update        # downloads and installs out-of-date RPMs
 sudo yum list installed # shows what is installed
 sudo yum list                # shows all packages available.

Update Ubuntu

 sudo apt-get update    # updates the databases
 sudo apt-get upgrade   # downloads and installs the .apt files

Upgrade Ubuntu

  1. See https://help.ubuntu.com/community/NattyUpgrades
  2. In System->Administration->Update Manager, click on "Settings" and chose the set of releases you wish.

Network Upgrade for Ubuntu Servers

   sudo apt-get install update-manager-core
   sudo do-release-upgrade

Installing Fedora from the Live User

Application->System Tools->Install to Hard Drive

Apt Help