Introduction to Linux software sources

Source: Internet
Author: User

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.

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.