| 1 |
Debian Hint #1: You can report a bug in a package with the 'reportbug' command, |
| 2 |
which is available in the reportbug package, either from the command-line or |
| 3 |
with the new graphical frontend (available running 'reportbug --ui gtk' or in |
| 4 |
the menu). |
| 5 |
% |
| 6 |
Debian Hint #2: You can use 'dpkg-reconfigure <package>' to change the |
| 7 |
answers you gave to the questions asked when you first installed a package. |
| 8 |
The 'configure-debian' package provides a unified front end for doing this, |
| 9 |
as well. |
| 10 |
% |
| 11 |
Debian Hint #3: You can use either 'apt search <words>' or |
| 12 |
'aptitude search <words>' to search for words in the descriptions of all |
| 13 |
available packages. |
| 14 |
% |
| 15 |
Debian Hint #4: You can see the available and installed versions for one |
| 16 |
or more available packages with the command 'apt policy <packages>'. |
| 17 |
% |
| 18 |
Debian Hint #5: If you need to build a custom kernel, use 'make bindeb-pkg' |
| 19 |
in the Linux source tree. |
| 20 |
% |
| 21 |
Debian Hint #6: There is no hint #6. Submit a hint today! |
| 22 |
% |
| 23 |
Debian Hint #7: You can use the unattended-upgrades or cron-apt packages |
| 24 |
to do automatic nightly downloads of updates for packages installed on |
| 25 |
your system. |
| 26 |
% |
| 27 |
Debian Hint #8: If you have problems with Debian that you can't solve by |
| 28 |
reading the manuals and documentation, try asking on the Debian Users |
| 29 |
mailing list ([email protected]). |
| 30 |
% |
| 31 |
Debian Hint #9: If you need to know what version of Debian you're currently |
| 32 |
running, look in /etc/debian_version or use 'lsb_release -sc' command. If you |
| 33 |
want to know the codename for that version (for example, 5.0 is codenamed |
| 34 |
'Lenny'), check this URL: |
| 35 |
|
| 36 |
https://www.debian.org/doc/FAQ/ch-ftparchives.html#s-codenames |
| 37 |
% |
| 38 |
Debian Hint #10: There are Debian mailing lists for everything from user |
| 39 |
questions to debates over what to put into the Debian Policy documents. |
| 40 |
Check out the list at https://www.debian.org/MailingLists/ and subscribe to |
| 41 |
those that interest you. |
| 42 |
% |
| 43 |
Debian Hint #11: Keep up to date on what's going on - read the Debian |
| 44 |
Project News. Read it on the web at https://www.debian.org/News/weekly/ |
| 45 |
% |
| 46 |
Debian Hint #12: The grep-dctrl package provides a number of useful scripts |
| 47 |
for quickly searching various package control files (such as the available |
| 48 |
packages file). |
| 49 |
% |
| 50 |
Debian Hint #13: If you don't like the default options used in a Debian |
| 51 |
package, you can download the source and build a version which uses the |
| 52 |
options you prefer. See https://www.debian.org/doc/FAQ/ch-pkg_basics.html |
| 53 |
(sections 6.13 and 6.14) for more information. |
| 54 |
|
| 55 |
However, bear in mind that most options in most packages can be configured |
| 56 |
at runtime, and do not require recompiling the package. |
| 57 |
% |
| 58 |
Debian Hint #14: If you would like to follow things happening to a package |
| 59 |
(for example, if you want to see bug reports, release notices, and other |
| 60 |
similar things), consider subscribing to it on the Debian Package Tracker. |
| 61 |
You can find out more about the Debian Package Tracker at: |
| 62 |
|
| 63 |
https://www.debian.org/doc/manuals/developers-reference/ch04.en.html#pkg-tracker |
| 64 |
% |
| 65 |
Debian Hint #15: The documentation for a package can normally be found |
| 66 |
under /usr/share/doc/<package>. In particular, the README.Debian file often |
| 67 |
has useful information about Debian-specific quirks or tips. |
| 68 |
% |
| 69 |
Debian Hint #16: If you're searching for a particular file, but don't know |
| 70 |
which package it belongs to, try installing 'apt-file', which maintains a |
| 71 |
small database of this information, or search the contents of the Debian |
| 72 |
Packages database, which can be done at: |
| 73 |
|
| 74 |
https://www.debian.org/distrib/packages#search_contents |
| 75 |
% |
| 76 |
Debian Hint #17: Need someone to talk to about Debian? If you're comfortable |
| 77 |
with Internet Relay Chat (IRC), just install your favorite IRC client, and |
| 78 |
join #debian on irc.debian.org. |
| 79 |
% |
| 80 |
Debian Hint #18: Quality control information about a package can be found by |
| 81 |
going to https://tracker.debian.org/<package>; this page provides links to the |
| 82 |
Maintainer's QA page, the BTS, news items for the package, and information on |
| 83 |
which versions are available in which archives. |
| 84 |
% |
| 85 |
Debian Hint #19: If you're interested in building packages from source, you |
| 86 |
should consider installing the apt-src package. |
| 87 |
% |
| 88 |
Debian Hint #20: Want to keep track of what version of a package you have |
| 89 |
installed (especially useful for those running hybrid stable / testing / |
| 90 |
unstable systems)? Check out apt-show-versions. |
| 91 |
% |
| 92 |
Debian Hint #21: If your Debian box is behind a slow network connection, |
| 93 |
but you have access to a fast one as well, check out the apt-zip package. |
| 94 |
% |
| 95 |
Debian Hint #22: Wondering which Debian mirror is best for you? Check out |
| 96 |
the apt-spy and netselect-apt packages, which can give you information |
| 97 |
about how various mirror sites perform. |
| 98 |
% |
| 99 |
Debian Hint #23: If your system is using too much disk space, try the |
| 100 |
deborphan package; it can offer suggestions about which packages may be |
| 101 |
unused and removable. And, of course, don't forget to clean out the |
| 102 |
APT cache area (using 'apt clean', 'aptitude clean', or |
| 103 |
aptitude's Action -> Clean package cache menu item). |
| 104 |
% |
| 105 |
Debian Hint #24: If you would like to thank a maintainer for handling an |
| 106 |
issue, check out reportbug --kudos. |
| 107 |
% |
| 108 |
Debian Hint #25: The 'debian-reference' package contains a wide variety |
| 109 |
of reference documents for Debian users and developers. Most of the |
| 110 |
information can also be found at the following URL: |
| 111 |
|
| 112 |
https://www.debian.org/doc/manuals/reference |
| 113 |
% |
| 114 |
Debian Hint #26: If a package doesn't seem to have much documentation, |
| 115 |
check for a package named '<package>-doc' or similar and make sure to |
| 116 |
install it as well; packages with large amounts of documentation |
| 117 |
regularly split the docs in this manner for those who don't want to |
| 118 |
install them. |
| 119 |
% |
| 120 |
Debian Hint #27: Regularly verify your backups. You *are* keeping backups, |
| 121 |
right? Right? If not, start with tar(1) or dump(1). |
| 122 |
% |
| 123 |
Debian Hint #28: If your machine is not on all of the time (such as a |
| 124 |
laptop), check out the 'anacron' package; this will make sure that regular |
| 125 |
tasks still happen, even if the machine isn't on at the time they would |
| 126 |
normally trigger. |
| 127 |
% |
| 128 |
Debian Hint #29: Keep your system clock accurate - Machines which are turned on |
| 129 |
most or all of the time should have the 'ntpsec' package installed to keep the |
| 130 |
time accurate in between reboots. |
| 131 |
% |
| 132 |
Debian Hint #30: Documentation can be made available at http://localhost/ |
| 133 |
by installing the 'doc-base' and 'doc-central' packages and their |
| 134 |
dependencies. |
| 135 |
% |
| 136 |
Debian Hint #31: In sysvinit, disabling a normally-active service in a |
| 137 |
specific runlevel should be done by changing the S link in /etc/rc<level>.d |
| 138 |
to a K link, rather than removing the link entirely; if all links are removed, |
| 139 |
the system will assume on the next install that they need to be replaced. You |
| 140 |
can achieve this with 'update-rc.d <service> disable|enable [<runlevel>]'. |
| 141 |
% |
| 142 |
Debian Hint #32: The package 'doc-debian' contains some general |
| 143 |
documentation about the Debian project. It is also available in Spanish |
| 144 |
(doc-debian-es), French (doc-debian-fr) and Ukrainian (doc-debian-uk). |
| 145 |
% |
| 146 |
Debian Hint #33: The package 'devscripts' contains some useful scripts for |
| 147 |
users who want to help to improve Debian, e.g. wnpp-alert, rc-alert and bts. |
| 148 |
% |
| 149 |
Debian Hint #34: If you want to track Debian sid and have a small download |
| 150 |
quota or a really slow connection, check out the debdelta package. |
| 151 |
% |
| 152 |
Debian Hint #35: In search for some games? Take a look at 'goplay', which |
| 153 |
offers a nice frontend for browsing through all kind of games. |
| 154 |
% |
| 155 |
Debian Hint #36: Need a newer package than shipped with Debian's last |
| 156 |
stable release, but don't want to upgrade to 'testing' or 'unstable'? Some |
| 157 |
packages are kept up-to-date via the stable-updates suite, some others are |
| 158 |
made available via the stable-backports suite. |
| 159 |
% |
| 160 |
Debian Hint #37: Want to download a package without installing it? Use |
| 161 |
'apt download <pkgname>' or 'aptitude download <pkgname>'. |
| 162 |
% |
| 163 |
Debian Hint #38: Want to know how you can use a program you have never used |
| 164 |
before? "man" will be your best new friend! Type "man <program-name>" in a |
| 165 |
shell. Run "man -H <program-name>" to read the manual page in a browser. Or, |
| 166 |
point your browser to "https://manpages.debian.org/<program-name>". |
| 167 |
% |
| 168 |
Debian Hint #39: Improve bash's tab-completion by installing the |
| 169 |
bash-completion package. |
| 170 |
% |
| 171 |
Debian Hint #40: If you install the command-not-found package, attempting to |
| 172 |
run a command you don't have installed will tell you what package to install to |
| 173 |
obtain that command. |
| 174 |
% |
| 175 |
Debian Hint #41: You can use 'apt show <package_name>' or 'aptitude show |
| 176 |
<package_name>' to get more information about a debian package. |
| 177 |
% |
| 178 |
Debian Hint #42: You can use 'apt-file list <package_name>' to obtain a listing |
| 179 |
of the contents of debian package. This action is similar to |
| 180 |
'dpkg -L <package_name>' except the package does not need to be installed or |
| 181 |
fetched using apt and analyzed with 'dpkg-deb -c <deb_name>'. |
| 182 |
% |
| 183 |
Debian Hint #43: Want to temporarily disable your iptables firewall? Use |
| 184 |
'iptables-save | sed "/-/d;/^#/d;s/DROP/ACCEPT/" | iptables-restore' to remove |
| 185 |
all rules and set the default policy to ACCEPT. |
| 186 |
% |
| 187 |
Debian Hint #44: You can follow the Identi.ca account for Debian at |
| 188 |
https://identi.ca/debian More information of Debian at Identica can also |
| 189 |
be found at: https://wiki.debian.org/Teams/Publicity/Identica |