Ubuntu: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:


Installed packages.
Installed packages.
  dpkg -get-selections
  dpkg --get-selections
  apt-get install openssh-client openssh-server
  apt-get install openssh-client openssh-server



Revision as of 19:27, 11 September 2009

Search for packages.

http://www.ltsp.org/twiki/bin/view/Ltsp/WebHome

Prepare ltsp environment.

sudo cp /etc/apt/sources.list /opt/ltsp/i386/etc/apt/sources.list
sudo chroot /opt/ltsp/i386
apt-get update

Installed packages.

dpkg --get-selections
apt-get install openssh-client openssh-server

List packages on one machine and install on another.

dpkg --get-selections > installed-software
dpkg --set-selections < installed-software
dselect

Upgrade.

sudo apt-get -y update
sudo apt-get -y upgrade

Which package provides.

http://packages.ubuntu.com/

List available linux packages.

apt-cache pkgnames