[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/Documentation/ITIL/UsefulCommands" by PetterReinholdtsen

Debian Wiki debian-www at lists.debian.org
Fri Oct 2 16:05:17 UTC 2015


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "DebianEdu/Documentation/ITIL/UsefulCommands" page has been changed by PetterReinholdtsen:
https://wiki.debian.org/DebianEdu/Documentation/ITIL/UsefulCommands?action=diff&rev1=18&rev2=19

Comment:
Generated from git.

- ## page was renamed from DebianEdu/Documentation/en/ITIL/UsefulCommands
  = Useful commands =
  
  == Support for 4 GB memory <-- included in configuration management ==
@@ -65, +64 @@

  
  If a 2.4 kernel is used
  
- '''apt-get install kernel-image-2.4-<your processor type>-smp'''
+ '''apt-get install kernel-image-2.4-<your processor type>-smp'''
  
  With an AMD Athlon(TM) MP 2000 it is possible to use
  
@@ -341, +340 @@

    * Removed alpha compile flags.
    * Fresh admin/ sync.
  
-  -- Ben Burton <bab at debian.org>  Sun, 16 Mar 2003 16:00:19 +1100
+  -- Ben Burton <bab at debian.org>  Sun, 16 Mar 2003 16:00:19 +1100
  
  kdeaddons (4:3.1.0-2) unstable; urgency=low
  
@@ -358, +357 @@

    * New upstream release.
    * Built for KDE3.
  
-  -- Ben Burton <benb at acm.org>  Wed,  4 Sep 2002 10:36:12 +1000
+  -- Ben Burton <benb at acm.org>  Wed,  4 Sep 2002 10:36:12 +1000
  
  (END)
  }}}
@@ -405, +404 @@

  
  To find a particular package one can use a search term with this command:
  
- '''apt-cache search <package name>'''
+ '''apt-cache search <package name>'''
  
  Try this if there is too much text on the screen
  
- '''apt-cache search <package name>|more'''
+ '''apt-cache search <package name>|more'''
  
- The two symbols < and > must ''not'' be used. They are only used in this example.
+ The two symbols < and > must ''not'' be used. They are only used in this example.
  
  {{{
  tjener:~# apt-cache search apache
@@ -436, +435 @@

  
  The command
  
- '''apt-cache showpkg <package name>'''
+ '''apt-cache showpkg <package name>'''
  
  and
  
- '''<apt-cache policy <package name>'''
+ '''<apt-cache policy <package name>'''
  
  gives details about the package.
  
@@ -477, +476 @@

  
  When you have found the package to be installed, run the command
  
- '''apt-get install <package name>'''
+ '''apt-get install <package name>'''
  
  If you want to see what happened during the installation you should run a simulation first with the command
  
- '''apt-get install <package name> --simulate'''
+ '''apt-get install <package name> --simulate'''
  
  {{{
  tjener:~# apt-get install  aterm --simulate
@@ -519, +518 @@

  
  When you have found the name of the package run the command
  
- '''apt-get remove <package name>'''
+ '''apt-get remove <package name>'''
  
  If you want to see what happens when you remove the package, you may simulate this with the command
  
- '''apt-get remove <package name> --simulate'''
+ '''apt-get remove <package name> --simulate'''
  
  {{{
  tjener:~# apt-get remove  aterm --simulate
@@ -555, +554 @@

  
  When installing a package with the command
  
- '''apt-get install <package name>'''
+ '''apt-get install <package name>'''
  
  then the newest package is installed. Sometimes an older version instead of the newest version is wanted.
  
- '''apt-get install <package name>=older_version_number'''
+ '''apt-get install <package name>=older_version_number'''
  
  To get an older version of the Webmin backup module one can run
  
@@ -621, +620 @@

  
  Download the package from the home page of the creators of the program. This could for example be Opera. The program is installed using the following command:
  
- '''dpkg -i <full path to the package>'''
+ '''dpkg -i <full path to the package>'''
  
  . If you first want to simulate this try
  
- '''dpkg --no-act -i <full path to package>'''
+ '''dpkg --no-act -i <full path to package>'''
  
  {{{
  tjener:~# dpkg --install --no-act opera_8.51-20051114.5-sharedqt_en_sarge_i386.deb
@@ -745, +744 @@

  
  You get an overview with the command
  
- '''dpkg --listfiles <package name>'''
+ '''dpkg --listfiles <package name>'''
  
  {{{
  tjener:~# dpkg --listfiles opera
@@ -766, +765 @@

  
  Co-author: Knut Yrvin
  
- '''dpkg --search <filename>'''
+ '''dpkg --search <filename>'''
  
  This can look like this
  
@@ -784, +783 @@

  
  When using the command
  
- '''dpkg --search <filename>'''
+ '''dpkg --search <filename>'''
  
  Warning: ''Never'' unpack packages in the root directory
  
@@ -792, +791 @@

  
  First you need to fetch the deb package in question. This can be done by placing it in the `/tmp` directory. Use this command to unpack the files in this directory
  
- '''dpkg --vextract <package name> /tmp'''
+ '''dpkg --vextract <package name> /tmp'''
  
  . Then the required directories will be created in `/tmp` and the files are placed there.
  
- '''dpkg --vextract <package name> /tmp'''
+ '''dpkg --vextract <package name> /tmp'''
  
  == Make your own package mirror ==
  
@@ -814, +813 @@

  
  '''cd /var/www/'''
  
- '''dpkg-scanpackages dpkg /dev/null | gzip -9c > dpkg/Packages.gz'''
+ '''dpkg-scanpackages dpkg /dev/null | gzip -9c > dpkg/Packages.gz'''
  
  After that, add a new line to the file `/etc/apt/sources.list`:
  



More information about the debian-edu-commits mailing list