Introduction to Linux Software sources

Source: Internet
Author: User
Tags rsync

Chen Kozhan

=============

1. Introduction to Software sources

Software source is the Linux system Free Application installation warehouse, a lot of applications will be included in this warehouse, according to the type points are:
1). Software repositories: Binary packages and source code for all types of software
2). ISO Image: The ISO file for the release version
A software source can be a Web server, a CD-ROM, or even a directory on a hard disk.
Deepin official software Source address: http://packages.linuxdeepin.com/
1). pool/directory holds the physical address of all released packages
2). project/storage resources used by developers
With the continuous development of deepin system and the increase of users, in order to facilitate users to update the system and install software more quickly, Deepin has now established 70 software sources in the world, covering 24 countries, click to view deepin all software sources

2. Software source files

Deepin's software source configuration file is/etc/apt/sources.list, which writes the source address of the software you use (note that it is not the software installation package in this folder, but only the description of the server, all the software installation Gets or needs to be networked).
Deepin uses commands Apt-get to search, install, upgrade, and uninstall software in the Repository, while other Linux uses commands such as Yum.
The terminal executes the following command to view the source files for the current system:
sudo gedit/etc/apt/sources.list
The Deepin2014 default software source is shown below:
# This file is created by Deepin Software Center, please don't modify manually!


Deb Http://packages.linuxdeepin.com/ubuntu trusty main restricted universe multiverse
Deb Http://packages.linuxdeepin.com/ubuntu trusty-security main restricted universe multiverse
Deb Http://packages.linuxdeepin.com/ubuntu trusty-updates main restricted universe multiverse
# Deb Http://packages.linuxdeepin.com/ubuntu trusty-proposed main restricted universe multiverse
# Deb Http://packages.linuxdeepin.com/ubuntu trusty-backports main restricted universe multiverse
DEB-SRC http://packages.linuxdeepin.com/ubuntu trusty main restricted universe multiverse
DEB-SRC http://packages.linuxdeepin.com/ubuntu trusty-security main restricted universe multiverse
DEB-SRC http://packages.linuxdeepin.com/ubuntu trusty-updates main restricted universe multiverse
# deb-src Http://packages.linuxdeepin.com/ubuntu trusty-proposed main restricted universe multiverse
# deb-src Http://packages.linuxdeepin.com/ubuntu trusty-backports main restricted universe multiverse


Deb Http://packages.linuxdeepin.com/deepin trusty main universe Non-free
DEB-SRC Http://packages.linuxdeepin.com/deepin Trusty Main universe Non-free
#deb Http://packages.linuxdeepin.com/deepin trusty-updates Main universe Non-free
#deb-src http://packages.linuxdeepin.com/deepin trusty-updates main universe Non-free
The first word in each line, Deb or DEB-SRC, describes the file type:
1). (Deb) means that the directory contains a binary package, which is a compiled package that we typically use;
2). (DEB-SRC) is a source package that contains source code, Debian control files (. DSC), and "Debian" the changes that the program has made to record files diff.gz.


3. Modify the software source


If you need to modify the source of the software, there are two ways:
1). Open the Deepin store------------Select the source of the software you like.
2). Manual modification, terminal execution: sudo gedit  /etc/apt/sources.list
manually modify the software source content after opening the software source configuration file. After the modification is completed, the software source list needs to be refreshed, terminal execution: sudo apt-get update 

4. Synchronizing the software source

If you want to provide a software source service for Deepin. Then add a cron task to your server that runs on a daily basis.
1). Synchronizing the Software warehouse (approximately 46G in size)
Rsync-av--delete--delete-after packages.linuxdeepin.com::p ackages//var/www/deepin/
2). Synchronous ISO image (approximately 52G in size)
Rsync-av--delete--delete-after cdimage.linuxdeepin.com::releases//var/www/deepin-cd/
Note 1. The directory/var/www/in the above command can be moved to the root directory of the server.
2. To get the best user experience, add a cron task that runs daily.
3. We strongly hope that you provide the latest stable version (32-bit and 64-bit) and the development tree (32-bit and 64-bit) mirroring. Please note that we hope that the image you provide can be used for long-term use.
4. Please do not store other documents (such as unofficial packages) in the deepin/directory in order to avoid misunderstandings.
5. Please send your feedback to [email protected].

=========================================


==========================================

Note--Article Source: http://wiki.linuxdeepin.com/index.php?title=%E8%BD%AF%E4%BB%B6%E6%BA%90

=========

Have to say Google search is very powerful

Introduction to Linux Software sources

Related Article

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.