Questions tagged [debian]

Note: Questions MUST be programming related. Use this tag only if your question relates to development on Debian using operating system API's or Debian-specific features, or to creating packages in the deb format.

The Debian Project

The Debian Project is a project aimed at providing a complete, all-purpose operating system with free open source software. The term 'Debian' is used for the Linux distribution rather then the project. In its most common form the operating system uses a Linux kernel and is packed with GNU tools (officially naming it "Debian GNU/Linux"). The name Debian comes from the names Debra and Ian Murdock (founder and his wife) (1).

Debian is known for its strict adherence to free software (2), its dependency resolving package manager (DPKG, APT), its stability (there are however releases available with more bleeding-edge software) and ability to run on lots of types of hardware. It has many derivatives (2) including the the very popular Ubuntu ().

What should and should not be asked here

Since Debian generally uses the Linux kernel and software also available for other Linux distributions there is a lot of common ground between these topics.

The debian-tag should be used for questions about

  • Creating packages in the deb format
  • Development on Debian using operating system API's or Debian specific features

For other questions there are more relevant tags, either more general or more specific:

  • Developing on a Debian PC (use a tag for the programming languages or tools you're using instead)
  • Using the command line (use or, preferably, the actual used shell like or )
  • Configuration and administration questions should be asked on Serverfault
  • Questions about using Debian or some of its tools fit better on Superuser or Unix & Linux

Learn more

Index of releases

  • The next release of Debian is codenamed buster — no release date has been set
  • Debian 9 (stretch) — current stable release
  • Debian 8 (jessie) — obsolete stable release
  • Debian 7 (wheezy) — obsolete stable release
  • Debian 6.0 (squeeze) — obsolete stable release
  • Debian GNU/Linux 5.0 (lenny) — obsolete stable release
  • Debian GNU/Linux 4.0 (etch) — obsolete stable release
  • Debian GNU/Linux 3.1 (sarge) — obsolete stable release
  • Debian GNU/Linux 3.0 (woody) — obsolete stable release
  • Debian GNU/Linux 2.2 (potato) — obsolete stable release
  • Debian GNU/Linux 2.1 (slink) — obsolete stable release
  • Debian GNU/Linux 2.0 (hamm) — obsolete stable release
9207 questions
319
votes
17 answers

Version of Apache installed on a Debian machine

How can I check which version of Apache is installed on a Debian machine? Is there a command for doing this?
pindiwala
  • 3,547
  • 4
  • 18
  • 14
315
votes
5 answers

ps command doesn't work in docker container

I want to do a ps command in a docker container derived from Debian official Docker hub repository: $ docker run -ti debian:wheezy /bin/bash root@51afd6b09af8:/# ps bash: ps: command not found
Yves Nicolas
  • 4,451
  • 7
  • 21
  • 37
252
votes
11 answers

Test a weekly cron job

I have a #!/bin/bash file in cron.week directory. Is there a way to test if it works? Can't wait 1 week I am on Debian 6 with root
dynamic
  • 44,025
  • 53
  • 143
  • 223
248
votes
13 answers

How to search contents of multiple pdf files?

How could I search the contents of PDF files in a directory/subdirectory? I am looking for some command line tools. It seems that grep can't search PDF files.
Jestin Joy
  • 3,215
  • 4
  • 15
  • 14
211
votes
10 answers

How to check the version before installing a package using apt-get?

I'm thinking to install hylafax+ version 5.5.4 which was release last month on my Debian PC. I checked dpkg -l | grep "hylafax" and found out that the current version is 5.5.3. Then I checked apt-cache search hylafax and saw the packages are…
Yasiru G
  • 6,218
  • 5
  • 18
  • 37
191
votes
7 answers

How to kill zombie process

I launched my program in the foreground (a daemon program), and then I killed it with kill -9, but I get a zombie remaining and I m not able to kill it with kill -9. How to kill a zombie process? If the zombie is a dead process (already killed), how…
MOHAMED
  • 35,883
  • 48
  • 140
  • 238
185
votes
12 answers

Setting Django up to use MySQL

I want to move away from PHP a little and learn Python. In order to do web development with Python I'll need a framework to help with templating and other things. I have a non-production server that I use to test all of web development stuff on. It…
gregor
  • 1,871
  • 2
  • 11
  • 9
167
votes
2 answers

What is difference between arm64 and armhf?

Raspberry Pi Type 3 has 64-bit CPU, but its architecture is not arm64 but armhf. What is the difference between arm64 and armhf?
furushchev
  • 1,849
  • 2
  • 8
  • 12
157
votes
23 answers

No module named _sqlite3

I am trying to run a Django app on my VPS running Debian 5. When I run a demo app, it comes back with this error: File "/usr/local/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File…
Alexander van Dijk
  • 1,671
  • 2
  • 11
  • 3
145
votes
13 answers

How to set the locale inside a Debian/Ubuntu Docker container?

I'm running a Ubuntu Docker container. I have a Norwegian keyboard and need to use Norwegian characters (øæå). My Terminal character encoding is set to UTF-8 and I'm connected to my container using SSH. However, I'm unable to type Norwegian…
mtmacdonald
  • 11,747
  • 16
  • 57
  • 93
140
votes
2 answers

Where are sudo incidents reported?

Attempting something devious on my machine leads to ryan@debian:~$ sudo EAT_ALL_THE_COOKIES_BEFORE_DINNER [sudo] password for ryan: ryan is not in the sudoers file. This incident will be reported. Where is this incident reported, and how do I get…
user1717828
  • 6,137
  • 5
  • 27
  • 48
125
votes
3 answers

How do I download a package from apt-get without installing it?

I have a computer without a NIC, and I want to install some programs in it via USB memory, but how can I download a program from apt-get without installing it?
Manuel de Leon
  • 2,583
  • 4
  • 17
  • 12
117
votes
10 answers

How to build a Debian/Ubuntu package from source?

I have the source of a program (taken from cvs/svn/git/...) and I'd like to build a Debian/Ubuntu package for it. The package is present in the repositories, but: It is an older version (lacking features I need) I need slightly different compile…
Ryszard Szopa
  • 5,253
  • 8
  • 30
  • 43
116
votes
21 answers

python-dev installation error: ImportError: No module named apt_pkg

I am Debian user, and I want to install python-dev, but when I run the code in the shell as a root: # aptitude install python-dev I get the following error: Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 28, in…
Belphegor
  • 3,711
  • 11
  • 34
  • 57
115
votes
16 answers

Bash script prints "Command Not Found" on empty lines

Every time I run a script using bash scriptname.sh from the command line in Debian, I get Command Not found and then the result of the script. The script works but there is always a Command Not Found statement printed on screen for each empty line.…
David
  • 1,515
  • 3
  • 13
  • 9
1
2 3
99 100