Introduction to Linux software sources
Chen kichao
==================
1. Software source Overview
The software source is a free application installation warehouse for Linux systems. Many applications are included in this warehouse, which includes:
1). Software warehouse: Binary packages and source code of various types of software
2). ISO image: released ISO file
The software source can be a network server, a CD, or even a directory on the hard disk.
Deepin software source address: http://packages.linuxdeepin.com/
1). The pool/directory stores the physical addresses of all released software packages.
2). project/store resources used by developers
With the continuous development of the Deepin System and the increase of users, Deepin has established 70 software sources around the world, covering 24 countries, to help users quickly update the system and install software, click to view all Deepin software sources
2. Software source files
The Deepin software source configuration file is/etc/apt/sources. list, which contains the source address of the software you are using (note that not the software installation package is in this folder, but only the server description information, all software installation and retrieval still need to be networked ).
Deepin uses the apt-get command to search, install, upgrade, and uninstall the software in the software repository. In other Linux systems, use yum and other commands.
The terminal can run the following command to view the source file of the current system:
Sudo gedit/etc/apt/sources. list
The following shows the default software source of Deepin2014:
# This file was created by deepin software center, please do not 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
The 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 deb or deb-src in each line describes the file type:
1). (deb) indicates that the directory contains binary software packages, that is, the compiled software packages we usually use;
.
3. modify the software source
If you need to modify the software source, there are two methods:
1) Open the deep store-Option-software source and select the software source you like.
2) manually modify and run sudo gedit/etc/apt/sources. list on the terminal.
Open the software source configuration file and manually modify the software source content. After the modification is saved, you need to refresh the software source list and run sudo apt-get update on the terminal.
4. synchronous software source
If you want to provide a software source service for Deepin. Add a daily cron task on your server.
1). synchronous software warehouse (about 46 GB in size)
Rsync-av -- delete-after packages.linuxdeepin.com: packages // var/www/deepin/
2). Synchronize the ISO image (about 52 GB in size)
Rsync-av -- delete-after cdimage.linuxdeepin.com: releases // var/www/deepin-cd/
NOTE 1: The directory/var/www/in the preceding command can be moved to the root directory of the server.
2. To get the best user experience, add a daily cron task.
3. We strongly hope that you will provide the latest stable versions (32-bit and 64-bit) and Development tree (32-bit and 64-bit) images. Please note that we hope that the images you provide can be used for long-term use.
4. Do not store other files (such as unofficial packages) in the deepin/directory to avoid misunderstanding.
5. send feedback to chenxiangbang@linuxdeepin.com.
========================================================== =
========================================================== =
Note -- Article Source: http://wiki.linuxdeepin.com/index.php? Title = % E8 % BD % AF % E4 % BB % B6 % E6 % BA % 90
==========
I have to say that Google search is powerful.