建筑网片铁丝规格,新塘网站seo优化,宁海县做企业网站,婚礼案例网站参考链接
Ubuntu 上 Wireshark 的安装与使用 - 知乎https://www.myfreax.com/how-to-add-apt-repository-in-ubuntu/
前情提要
使用Ubuntu软件中心或命令行apt或apt-get安装软件包时#xff0c;这些软件包是从一个或多个apt软件存储库中下载的。 APT存储库是一个网络服务器或…参考链接
Ubuntu 上 Wireshark 的安装与使用 - 知乎https://www.myfreax.com/how-to-add-apt-repository-in-ubuntu/
前情提要
使用Ubuntu软件中心或命令行apt或apt-get安装软件包时这些软件包是从一个或多个apt软件存储库中下载的。 APT存储库是一个网络服务器或本地目录其中包含可被APT工具读取的deb包和元数据文件。使用add-apt-repository命令可以在Ubuntu系统上添加apt仓库
add-apt-repository
add-apt-repository是Python脚本允许您将APT存储库添加到/etc/apt/sources.list或者作为单个文件添加/etc/apt/sources.list.d目录中该命令还可以用于删除已经存在的存储库。如果您的系统上没有add-apt-repository您会收到一条错误消息提示“找不到add-apt-repository命令”。add-apt-repository命令包含在software-properties-common软件包中。要安装它请运行以下命令sudo apt updatesudo apt install software-properties-common
添加PPA存储库
PPA个人软件包存档(Personal Package Archive)是一项服务允许用户上传使用Launchpad构建和发布的Ubuntu源软件包作为apt信息库。添加PPA存储库时add-apt-repository命令在/etc/apt/sources.list.d/目录下创建一个新文件。
安装Wireshark
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt install wireshark
命令汇总
sudo apt update
sudo apt upgrade
sudo apt install software-properties-common
sudo add-apt-repository ppa:wireshark-dev/stable
sudo apt update
sudo apt install wireshark 注意事项
安装时系统将询问你是否允许非超级用户捕获数据包。选择“Yes”允许选择“No”限制非超级用户捕获数据包最后完成安装。如果不想以sudo的方式启动wireshark参考下面的链接Ubuntu 上 Wireshark 的安装与使用 - 知乎