日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

linux的源代码是公开的吗(linux的源)

發布時間:2023/12/3 综合教程 27 生活家
生活随笔 收集整理的這篇文章主要介紹了 linux的源代码是公开的吗(linux的源) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

linux系統裝好后怎么更新源?

Linux軟件源的設置方法

1 打開數據源配置文件

vi /etc/apt/sources.list

添加相關的數據源,可以選擇以下的數據源,不要寫太多,否則會影響更新速度。

之后使用apt-get update更新源列表

為防止非官方源中軟件包不全的問題,請在sources.list文件中尾部添加一組官方源。

#######################################

# 163

#######################################

deb http://mirrors.163.com/debian/ lenny main contrib non-free

deb-src http://mirrors.163.com/debian lenny main contrib non-free

deb http://mirrors.163.com/debian-security/ stable/updates main

deb-src http://mirrors.163.com/debian-security/ stable/updates main

#######################################

# official

#######################################

deb http://ftp.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.debian.org/debian/ lenny main contrib non-free

deb http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free

deb http://security.debian.org/ stable/updates main

deb-src http://security.debian.org/ stable/updates main

deb http://volatile.debian.org/debian-volatile stable/volatile main

deb-src http://volatile.debian.org/debian-volatile stable/volatile main

#######################################

# 臺灣及大陸教育網高校等

#######################################

deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free

deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

### ustc debian-multimedia

deb http://debian.ustc.edu.cn/debian-multimedia/ stable main

deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main

### ustc debian-security

deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

臺灣及大陸教育網高校等

#######################################

deb http://ftp.tw.debian.org/debian/ lenny main contrib non-free

deb-src http://ftp.tw.debian.org/debian lenny main contrib non-free

deb http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb-src http://mirrors.geekbone.org/debian/ lenny main contrib non-free

deb http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb-src http://mirror.dlut.edu.cn/debian/ lenny main contrib non-free

deb http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

deb-src http://debian.csie.ntu.edu.tw/debian/ lenny main contrib non-free

### ustc debian-multimedia

deb http://debian.ustc.edu.cn/debian-multimedia/ stable main

deb-src http://debian.ustc.edu.cn/debian-multimedia/ stable main

### ustc debian-security

deb http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

deb-src http://debian.ustc.edu.cn/debian-security/ stable/updates main non-free contrib

如何設置Linux最快的更新源?

我一般是通過命令獲取的:

#sudo apt-get update

而/etc/apt/sources.list這個文件中是一個指示apt程序到哪里去獲取資源的資源列表文件。apt-get update之后的內容不會反應在這里。另外,apt-get update只是更新了apt的資源列表,沒有真正的對系統執行更新。如果需要,要使用apt-get upgrade來更新。

這個英文短文就是一些關于這個命令的說明,可以查看一下

Syncking with Repository After saving your sources.list file, we first want to update our local database so that it's in sync with Debian's sources:

apt-get updateThe output will show apt-get downloading the information from Debian's servers and then syncking its own database. Your output should look something like this:

linuxhelp.net:~# apt-get updateGet:1 ftp://ftp.debian.org testing/main Packages Get:2 http://security.debian.org stable/updates/main Packages Get:3 http://security.debian.org stable/updates/main Release Get:4 ftp://ftp.debian.org testing/main Release Get:5ftp://ftp.debian.org testing/main Sources Get:6 ftp://ftp.debian.org testing/main Release Fetched 4744kB in 2m40s (29.5kB/s)Reading Package Lists... Donelinuxhelp.net:~#

總結

以上是生活随笔為你收集整理的linux的源代码是公开的吗(linux的源)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。