User Tools

Site Tools


debian

This is an old revision of the document!


Debian is the Operating System I use at home and used to use at work.

Official website: http://www.debian.org/

As introduction, please read the entry at Wikipedia.

Distributions

There a 3 distributions at the same time:

  • unstable (sid) with the latest versions of the softwares
  • testing
  • stable

Backports

Backports are ports from software coming from unstable or testing for stable.

Repositories

Package management

There are several front-ends:

deborphan | sudo xargs apt-get remove -y

Documentation

Articles

How to make Debian packages?

Tricks

Comment obtenir la liste des packages installés?

dpkg --get-selections | grep "	install$"

Sid dans Sarge

http://web.archive.org/web/20030708222323/home.bellsouth.net/p/s/community.dll?ep=87&subpageid=89775&ck=&userid=1&userpw=.&uh=1,0,

aptitude install debootstrap
mkdir /sid-root
debootstrap sid /sid-root http://ftp.debian.org/debian/
#output:
...
I: Base system installed successfully.
umount: /sid-root/dev/pts: not mounted
umount: /sid-root/dev/shm: not mounted
umount: /sid-root/proc/bus/usb: not mounted

echo "proc-sid /sid-root/proc proc none 0 0" >> /etc/fstab
mount proc-sid /sid-root/proc -t proc
cp /etc/hosts /sid-root/etc/hosts
chroot /sid-root /bin/bash
# on est dans la geole
#fix sources.list
apt-setup
# changer sarge en unstable
vi /etc/apt/sources.list

# changer le password de root
passwd root

#pour avoir un login sur F10
# attention: pas dans la geole!
echo "10:23:respawn:/usr/sbin/chroot /sid-root "\
"/sbin/getty 38400 tty10" >> /etc/inittab
init q
debian.1359564729.txt.gz · Last modified: 2013/10/19 09:50 (external edit)