In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article is to share with you about what the linux source means. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
In linux, the full name of the source is "software source", which is the free application installation warehouse of the Linux system, which contains the binary package and source code of all kinds of software or the ISO file of the distribution; the software source can be a network server, a CD-ROM, or even a directory on the hard disk.
The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.
In linux, the full name of the source is "software source". It is a free application installation repository for Linux system. Many applications will be included in this repository, including by type:
Software repository: binary packages and source code of all kinds of software
ISO repository: ISO files for distribution
The software source can be a network server, a CD-ROM, or even a directory on a hard disk.
Official software source address of deep operating system: http://packages.deepin.com/
The pool/ directory holds the address of all released software packages
Project/ stores resources used by developers
With the continuous development of deep operating system and the increase of users, in order to facilitate users to update the system and install software more quickly, deep operating system has established 70 software sources worldwide, covering 24 countries.
Software source file
The software source configuration file of the deep operating system is / etc/apt/sources.list, which contains the source address of the software you use (note that the software installation package is not in this folder, but only the description of the server, all software installation access still needs to be connected to the network).
The deep operating system inherits debian and ubuntu using the command apt-get to search, install, upgrade, and uninstall software in the software repository, while most Ren Hat-based Linux uses the yum command. There are also a few Linux that use their own package management systems, such as YlmfOS's Ypk,SUSE 's YaST,Gentoo 's Portage, and so on.
The terminal executes the following command to view the source file of the current system:
Sudo gedit / etc/apt/sources.list
The default software source for Deep operating system 15 is shown below:
Deb [by-hash=force] http://packages.deepin.com/deepin stable main contrib non-free#deb-src http://packages.deepin.com/deepin stable main contrib non-free
The first word of each line, deb or deb-src, describes the file type:
(deb) indicates that the directory contains binary packages, that is, compiled packages that we usually use.
(deb-src) indicates that it is a source code package, which contains the source code, the Debian control file (.dsc), and the record file diff.gz that "Debian" the changes made by the program.
Modify software source
If you need to modify the software source, there are two ways:
Run the control center-system information-settings-update source (change), and select your favorite software source.
Manually modify the source configuration file (if you are not aware of the dangers, do not modify it), the terminal executes:
Sudo edit / etc/apt/sources.list
The list of software sources needs to be refreshed after modification and saving, and the terminal executes:
Sudo apt-get update
Synchronization software source
If you want to provide a software source service for the deep operating system, you can check out the following synchronization methods:
Synchronous software repository (about 330 GB)
Rsync-av-- delete-after rsync.deepin.com::deepin/ / var/www/deepin/
Synchronous ISO repository (approx. 520 GB)
Rsync-av-- delete-after rsync.deepin.com::releases/ / var/www/deepin-cd/
"remarks:
1. You can move the / var/www/ path in the above address to the root directory of the server
two。 Please add a cron task that runs every day to ensure that the deep operating system image source you provide remains "up-to-date" for a long time
3. We recommend that you first synchronize the software repository of the deep operating system, and then synchronize the ISO repository of the deep operating system
4. Please do not store other files (such as unofficial software packages) in directories related to the deep operating system image source to avoid misunderstanding.
5. If you have any suggestions or comments, please feedback to support@deepin.org.
Thank you for reading! This is the end of the article on "what does the source of linux mean?". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.