summaryrefslogtreecommitdiffstats
path: root/software/debian.page
blob: 1e9026f5769efa30f1512bf492f3ceeb65f0cc85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
format: rst
toc: no
...

===========================
Debian Linux
===========================

See also `freebsd </software/freebsd-tricks>`_ and 
`unix </software/unix-tricks>`_ tricks.

Some gotchas from installing debian a few times:

 * To enable sshd in ubuntu install ``openssh-server``

 * Massive ``ssh`` headache issues from around 2007-2008; make sure to check on
   these.

 * ``git`` is not what you want; you want ``git-core``

 * Python transition should be better, but I couldn't find a way. 
   To get to python 2.5 on etch, do something like::

    Edit /usr/share/python/debian_defaults to this Code:

        # the default python version
        default-version = python2.5
        # all supported python versions
        supported-versions = python2.4, python2.5
        # formerly supported python versions
        old-versions = python2.3
        # unsupported versions, including older versions
        unsupported-versions = python2.3

    Then sudo pycentral updatedefault python2.4 python2.5
    And change the symlink /usr/bin/python to point to python2.5

 * Make sure to install things like bzip2, unzip, less, etc

 * ``bash`` by default takes a very long time to initialize because the 
   auto-completion scripts are loaded multiple times; disable this in
   ``~/.bashrc``?

 * For building stuff you want ``build-essential``

 * For the usual system man pages ("Linux Programmer's Manual"), you may need
   to install 'manpages-dev'

 * To install emacs without an X environment, use ``emacs23-nox`` (or a more
   recent version).

find a package for a file: dpkg -S <file>

find all files for a package: dpkg -L <package>