User Tools

Site Tools


docs:tips_n_tricks:debian:index.html

This is an old revision of the document!


Debian

Packages missing after a fresh installation

… is a matter of taste, but this is (part of) my list:

# For general use:
apt-get install aptitude zsh less strace psutils rcs screen \
                rsync sshfs ntpdate host exim4-daemon-light \
                sudo file bc mlocate man [uemacs|nano]
# For systems running on the "bare metal"
apt-get install smartmontools
# For server maintenance
apt-get install munin-node munin-plugins-extra sysstat
# For development use
apt-get install dpkg-dev debhelper devscripts patch liburi-perl \
                fakeroot build-essential autoconf bison \
                autotools-dev sharutils

Configuration

/etc/apt/sources.list.d/

At least for uemacs you need to access the /usr/local repositories. This /etc/apt/sources.list.d/usr-local.list will do:

:!: This is outdated :!:
FIXME

deb-src http://debian.usr-local.de/debian sarge local non-free contrib
deb     http://debian.usr-local.de/debian sarge local non-free contrib
deb-src http://debian.usr-local.de/debian etch  local non-free contrib
deb     http://debian.usr-local.de/debian etch  local non-free contrib
deb-src http://debian.usr-local.de/debian lenny local non-free contrib
deb     http://debian.usr-local.de/debian lenny local non-free contrib
deb-src http://debian.usr-local.de/debian lucid local non-free contrib
deb     http://debian.usr-local.de/debian lucid local non-free contrib

deb-src http://debian.usr-local.de/debian gutsy         non-free
deb     http://debian.usr-local.de/debian gutsy   local non-free contrib
deb-src http://debian.usr-local.de/debian oneiric local non-free contrib
deb     http://debian.usr-local.de/debian oneiric local non-free contrib

:!: This is outdated :!:

/etc/apt/apt.conf.d/myconf

APT::Default-Release "squeeze";

Change timezone

To change the timezone of a running systems, issue

tzconfig

or

dpkg-reconfigure tzdata

depending on your version of Debian.

Change locale

update-locale LANG=C LC_CTYPE=de_DE LANGUAGE

Building Packages

sudo apt-get install devscripts
apt-get source <package>
cd <packagedir>
# generating new changelog entry with local version suffix for distribution lenny:
export DEBEMAIL="${DEBEMAIL:-peter@foo.bar}"
export DEBFULLNAME="${DEBFULLNAME:-Peter Foobar}"
dch -l .ul~lenny -D lenny
dpkg-buildpackage -rfakeroot

Linux Debian

docs/tips_n_tricks/debian/index.html.1423785777.txt.gz · Last modified: 13.02.2015 01:02 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki