Open mikuQ opened 2 months ago
ubuntu的软件源文件:/etc/apt/sources.list.d/ubuntu.sources
root@ubuntu:~# cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb deb-src
URIs: http://cn.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb deb-src
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
root@ubuntu:~#
apt反查命令由哪个软件包提供(未安装情况下)
root@ubuntu:~# apt-file search bin/rz | grep "bin/rz$"
lrzsz: /usr/bin/rz
root@ubuntu:~# apt-file search find | grep "bin/find$" findutils: /usr/bin/find
root@ubuntu:~# apt-file search wc | grep "bin/wc$" coreutils: /usr/bin/wc
root@ubuntu:~# apt-file search ip | grep "bin/ip$" iproute2: /bin/ip iproute2: /sbin/ip
root@ubuntu:~# apt-file search nmcli | grep "bin/nmcli$" network-manager: /usr/bin/nmcli
ubuntu-配置在线源
ubuntu的软件源文件:/etc/apt/sources.list.d/ubuntu.sources
ubuntu-官方模板
root@ubuntu:~# cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb deb-src
URIs: http://cn.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
dpkg
apt
Debian配置软件源
/etc/apt/sources.list
/var/lib/apt/lists/
/var/cache/apt/archives/