Debian Software Installation

Source: Internet
Author: User
Debian software installation-Linux Release Technology-Debian information. The following is a detailed description. 1. The downloaded apt-get file is in:
/Var/cache/apt/archives/

2. apt-get usage
(1) install software
Apt-get install
Download And install or upgrade all dependent packages at the same time. If a package is set to hold (stop sign, it will be put aside (that is, it will not be upgraded ).
If some files in the software package are not downloaded, use:
# Apt-get install package -- fix-missing

(2) Delete Software
# Apt-get remove [-- purge]
Remove And any other packages that depend on the package.
-- Purge indicates that the package should be completely purged (purged). For more information, see dpkg-P.

(3) apt-get update
Upgrade the package list from the Debian image. If you want to install any software on the day, run the package at least once a day and modify the package every time.
/Etc/apt/sources. list must be executed.

(4) upgrade installed software
Apt-get upgrade [-u]
Upgrade the package to the latest available version. old packages will not be installed or removed. if a package has changed its dependency and needs to be installed with a new package, it will not be upgraded, but will be marked as hold. apt-get update will not upgrade the package marked as "hold" (this is what "hold" means ). see how to manually set the package to hold. I suggest using the '-U' option at the same time, because you can see which packages will be upgraded.

(5) search software
Apt-cache search
Search satisfied The package and description.
Apt-cache show
Display .

3. Common Dpkg usage
1. Install the package
Dpkg-I
List .
Dpkg-c
Slave To extract the package information.
Dpkg-I

2. Remove the package
Dpkg-r
Remove an installed package.

Dpkg-P
Clear a fully installed package. Unlike remove, remove only deletes data and executable files, and purge also deletes all preparation files.

Dpkg-L
List List of all installed files. Check the content of A. deb file by using dpkg-c.

Dpkg-s
Displays the information of installed packages. Also, check that apt-cache displays the package information in the Debian archive and dpkg-I to display the package information extracted from A. deb file.

Dpkg-reconfigure
Re-prepare an installed package, such as resetting the system character set:
# Dpkg-reconfigure locales

# Apt-get install x-window-system-core gnome-core xscreensaver


Optional system components
Component Description
Acpi power management package
Acpi-support acpi power management package
Acpid acpi power management package
File-roller archive Manager (first install unzip, unrar, etc)
Gconf-editor configuration editor
Smbclient (do not install) to view files required by windows (smb) Networks
Cupsys Printing Service Support
Cupsys-bsd Printing Service Support
Cupsys-client Printing Service Support
Cupsys-driver-gimpprint gimp printing service support (it is best to install gimp first)
Cupsys-driver-gimpprint-data gimp printing service support (it is best to install gimp first)
Gucharmap character ing table

2. Common Software
Gaim multi-protocol chat tool
Gthumb Image view software (similar to acdsee)
Totem-xine-based multimedia player
Qalculate a powerful calculator that can solve binary equations, points, call gnu, and plot.

3. mount
(1) mount fat partition:
Mount-t vfat/dev/hda1/mnt/win-o codepage = 936
/// Display Chinese characters:
Mount-o utf8, umask = 0/dev/hda6/mnt/cipan
(2) ntfs partition
Mount/dev/hda2/mnt/win-o iocharset = cp936
Or mount/dev/hda2/mnt/win
However, normal users cannot read the content, only root users can. This allows common users to read the data. Use:
Mount/dev/hda2/mnt/win-o iocharset = cp936, umask = 0
/// Mount ntfs to display Chinese characters:
Mount-t ntfs-o utf8, umask = 0/dev/hda2/mnt/linux

4. Reset ADSL after entering the Desktop
1) Add the following text to/etc/network/interfaces to activate the NIC
Auto eth0
Iface eth0 inet static
Address 192.168.2.1
Netmask 255.255.255.0
2) delete/etc/ppp/ppp_on_boot
3) Set automatic dialing; otherwise, manually enter
Desktop options-> advanced-> session-> Startup Program-> Add-> pon dsl-provider

5. Install openoffice.org (with synaptic)
Openoffice.org-110n-zh_CN (select this option first)
Openoffice.org
Openoffice.org-bin
Openoffice.org-debian-files
Openoffice.org-help-zh_CN

6. Sound Card installation (copying, it seems that there is a problem)
Apt-get install alsa-base alsa-utils and an apmd
Directly alsaconf.

Detailed description of alsa Driver Installation In Debian (but super simple)
Based on the 2.6 kernel (applicable to the installation and replacement of alsa from the original environment such as silent or oss)
First install related software
Apt-get install alsa-utils alsa-base
Re-install (of course there should be a compilation environment)
Apt-get install alsa-source # Do not omit the key in this step
In dpkg configures, select your own sound card type

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.