6257rv7 发表于 2024-10-8 13:53:30

怎么样快速将 Microsoft Edge 稳定版安装到 Linux 上


    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/bbb577a8838e4404a85ec8c8b2dcdccb~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=bKJQQfj%2BrdO%2BDBDK0YdLeAB1lFI%3D" style="width: 50%; margin-bottom: 20px;">
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">网管小贾 / sysadm.cc</p>
    </div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">近期</span>有一则好<span style="color: black;">信息</span>,微软放出了 </span><span style="color: black;"><span style="color: black;">Linux</span></span><span style="color: black;"> 平台上可用的 </span><span style="color: black;"><span style="color: black;">Microsoft Edge</span></span><span style="color: black;"> 稳定版。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这距离上次我给小伙伴们介绍的<span style="color: black;">怎样</span>安装测试版 </span><span style="color: black;"><span style="color: black;">Edge</span></span><span style="color: black;"> 等内容正正好好过了一年的时间。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">如今最新稳定版本<span style="color: black;">已然</span>是 </span><span style="color: black;"><span style="color: black;">93.0.1020.40</span></span><span style="color: black;">了,正好趁<span style="color: black;">此刻</span>有些空闲,我准备重新再走一遍,分享一下<span style="color: black;">此刻</span>这个稳定版本的安装过程。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">参考前文:《Linux 版 Microsoft Edge <span style="color: black;">鲜嫩</span>出炉啰,来尝尝味道<span style="color: black;">怎样</span>~》</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">前文链接:</p>https://www.sysadm.cc/index.php/xitongyunwei/778-how-to-install-microsoft-edge-dev-on-linux
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">与前文所述<span style="color: black;">区别</span>的是,<span style="color: black;">这次</span><span style="color: black;">咱们</span>采用最快速的<span style="color: black;">办法</span>来搞定 </span><span style="color: black;"><span style="color: black;">Microsoft Edge</span></span><span style="color: black;"> 的安装。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">倘若</span>小伙伴们有<span style="color: black;">更加多</span>的空闲,<span style="color: black;">那样</span><span style="color: black;">能够</span>参考前文中的内容,<span style="color: black;">经过</span>事先逐步安装所需依赖组件,<span style="color: black;">而后</span>再安装 </span><span style="color: black;"><span style="color: black;">.deb</span></span><span style="color: black;"> 或 </span><span style="color: black;"><span style="color: black;">.rpm</span></span><span style="color: black;"> 包的方式来实现 </span><span style="color: black;"><span style="color: black;">Edge</span></span><span style="color: black;"> 的安装。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">不外</span>话说回来,<span style="color: black;">实质</span>上效果都是<span style="color: black;">同样</span><span style="color: black;">同样</span>的,有更快的<span style="color: black;">办法</span><span style="color: black;">为何</span><span style="color: black;">不消</span>呢?</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">因此呢</span><span style="color: black;">咱们</span>还是着重介绍自动安装的<span style="color: black;">办法</span>,保质保量、快速有效!</span></p>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">Ubuntu下安装 Microsoft Edge稳定版</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">本文以 </span><span style="color: black;"><span style="color: black;">2004</span></span><span style="color: black;"> 版本为例,只需要分别执行以下命令。</span></p><span style="color: black;">## 安装微软的签名密钥和 sources.lst</span>
    <span style="color: black;">sudo</span> <span style="color: black;">wget https://packages.microsoft.com/keys/microsoft.asc</span>
    <span style="color: black;">sudo</span> <span style="color: black;">gpg --dearmor microsoft.asc</span>
    <span style="color: black;">sudo</span> <span style="color: black;">mv microsoft.asc.gpg microsoft.gpg</span>
    <span style="color: black;">sudo</span> <span style="color: black;">install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/</span>

    <span style="color: black;">sudo</span> <span style="color: black;">sh -c echo "deb https://packages.microsoft.com/repos/edge stable main" &gt; /etc/apt/sources.list.d/microsoft-edge-stable.list</span>

    <span style="color: black;">sudo</span> <span style="color: black;">rm microsoft.asc microsoft.gpg</span>
    <span style="color: black;">
      ## <span style="color: black;">起始</span>安装 Micorsoft Edge Stable</span>
    <span style="color: black;">sudo</span> <span style="color: black;">apt update</span>
    <span style="color: black;">sudo</span> <span style="color: black;">apt install microsoft-edge-stable</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">需要友情提醒一下的是,此处安装微软签名证书的命令与前文略有<span style="color: black;">区别</span>。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">究其<span style="color: black;">原由</span>是之前的命令经过测试会反馈为权限不足、拒绝<span style="color: black;">拜访</span>而<span style="color: black;">引起</span>命令失败,至于<span style="color: black;">为么</span>失败<span style="color: black;">亦</span>不得其解。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">因此</span>就此我做了<span style="color: black;">有些</span>修改,只要<span style="color: black;">保证</span>官网上下载的 </span><span style="color: black;"><span style="color: black;">microsoft.asc</span></span><span style="color: black;"> 能正确转换成二进制的 </span><span style="color: black;"><span style="color: black;">microsoft.gpg</span></span><span style="color: black;"> <span style="color: black;">就可</span>。</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/f53afb8e9e2248c7b8571b8a5facfead~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=Yvn0KTCWWXrf1nUtJhdxCQa2iAs%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">安装完成后,可在<span style="color: black;">所有</span>应用中找到 </span><span style="color: black;"><span style="color: black;">Microsoft Edge</span></span><span style="color: black;"> 。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">起步</span>它,查看<span style="color: black;">帮忙</span>中的关于,<span style="color: black;">能够</span>看到是最新稳定版,没有</span><span style="color: black;"><span style="color: black;">Dev</span></span><span style="color: black;"> 等测试字样了。</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/41f2b1e4773440bf97280f0c3b03b9ad~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=N28bJkRauYO3mv%2FKTOAg%2BhY5Bvg%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/4ac3ace15731447883e5839fb56ab76b~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=A8kqzUhlhCh4d8dYTUxHidvcyVc%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">运用</span> </span><span style="color: black;"><span style="color: black;">apt-get</span></span><span style="color: black;"> 命令来安装方便、省心、快速,当然你<span style="color: black;">亦</span><span style="color: black;">能够</span>到官网上直接下载 </span><span style="color: black;"><span style="color: black;">.deb</span></span><span style="color: black;"> 包来安装。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">详细</span>安装<span style="color: black;">办法</span>以及<span style="color: black;">怎样</span><span style="color: black;">处理</span>依赖就<span style="color: black;">再也不</span>赘述了,请小伙伴们<span style="color: black;">自动</span>练级。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">下载链接:</p>https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/03a5a808b4d44069af0884572d6781f3~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=AJD%2F%2B0qYT1Q%2B0yfibtNVkgNb3hA%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">Rocky Linux下安装 Microsoft Edge稳定版</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">Rocky Linux</span></span><span style="color: black;"> 是在<span style="color: black;">将来</span>最有可能替代 </span><span style="color: black;"><span style="color: black;">CentOS</span></span><span style="color: black;"> 的一款优秀的 </span><span style="color: black;"><span style="color: black;">Linux</span></span><span style="color: black;"> 分行版。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">它的作者<span style="color: black;">便是</span>出自 </span><span style="color: black;"><span style="color: black;">CentOS</span></span><span style="color: black;"> ,<span style="color: black;">因此呢</span>针对以下内容, </span><span style="color: black;"><span style="color: black;">RedHat</span></span><span style="color: black;"> 或 </span><span style="color: black;"><span style="color: black;">CentOS</span></span><span style="color: black;"> 或 </span><span style="color: black;"><span style="color: black;">Fedora</span></span><span style="color: black;">之类的同系列发行版本均可参考运用。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">详细</span>的<span style="color: black;">办法</span>,和 </span><span style="color: black;"><span style="color: black;">Ubuntu</span></span><span style="color: black;"> 大同小异、八九不离十哈,先设定好安装源,再以 </span><span style="color: black;"><span style="color: black;">dnf</span></span><span style="color: black;"> 安装之<span style="color: black;">就可</span>。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">参考命令如下:</span></p><span style="color: black;">#</span><span style="color: black;"><span style="color: black;">## 下载并导入 Microsoft 的 GPG 公钥</span></span>
    <span style="color: black;">$</span><span style="color: black;">sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc</span>
    <span style="color: black;">
      #</span><span style="color: black;"><span style="color: black;">## 添加程序安装源</span></span>
    <span style="color: black;">$</span><span style="color: black;"> sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge</span>
    <span style="color: black;">
      #</span><span style="color: black;"><span style="color: black;">## 修正安装源的文件名<span style="color: black;">叫作</span></span></span>
    <span style="color: black;">$</span><span style="color: black;">sudo mv /etc/yum.repos.d/packages.microsoft.com_yumrepos_edge.repo /etc/yum.repos.d/microsoft-edge-stable.repo</span>
    <span style="color: black;">
      #</span><span style="color: black;"><span style="color: black;">## <span style="color: black;">起始</span>安装</span></span>
    <span style="color: black;">$</span><span style="color: black;"> sudo dnf install microsoft-edge-stable</span>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">这儿</span>与参考前文内容<span style="color: black;">无</span>什么大的变化,只需<span style="color: black;">重视</span>将命令中的 </span><span style="color: black;"><span style="color: black;">dev</span></span><span style="color: black;"> 字样切换成 </span><span style="color: black;"><span style="color: black;">stable</span></span><span style="color: black;"> <span style="color: black;">就可</span>。</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/1e16b7f378be49ae92d406f3b0ef1a00~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=99cd6K%2BhomxN5iYXSjpa617qGyM%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">一样</span>在安装完成之后,<span style="color: black;">咱们</span>来确认 </span><span style="color: black;"><span style="color: black;">Edge</span></span><span style="color: black;"> 的版本,的确为稳定版,版本号<span style="color: black;">亦</span>与之前所述一致。</span></p>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/1d7de18b01bf43ed93bf467fa2647d23~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=H4nywLflmspcxn8jPvlZBMVrVvQ%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p26-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/4125ce59c0f040cfb8e5db60ba5216ab~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=u4xU645%2FWTtgts4bdi82jTo746s%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">有心的小伙伴或许可能会<span style="color: black;">重视</span>到,其实在前面 </span><span style="color: black;"><span style="color: black;">dnf</span></span><span style="color: black;"> 自动安装时,<span style="color: black;">亦</span>能窥见 </span><span style="color: black;"><span style="color: black;">edge</span></span><span style="color: black;"> 所需的依赖组件,挨个将其安装好后再来安装 </span><span style="color: black;"><span style="color: black;">rpm</span></span><span style="color: black;"> 包就万事大吉了。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">下载链接:</p>https://packages.microsoft.com/yumrepos/edge/
    <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/tos-cn-i-qvj2lq49k0/0565a97c2f8c4dc49d460b88ba32cb19~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1728038986&amp;x-signature=MrTz%2FNJXBNif2UHweh6eQG0jrqw%3D" style="width: 50%; margin-bottom: 20px;"></div>
    <h1 style="color: black; text-align: left; margin-bottom: 10px;">写在最后</h1>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">在顺利安装好 </span><span style="color: black;"><span style="color: black;">Microsoft Edge</span></span><span style="color: black;"> 后,<span style="color: black;">咱们</span>就<span style="color: black;">能够</span>开启冲浪之旅了。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">不外</span><span style="color: black;">做为</span>稳定版本,</span><span style="color: black;"><span style="color: black;">Microsoft Edge</span></span><span style="color: black;"> 还推出了<span style="color: black;">有些</span><span style="color: black;">鲜嫩</span>有趣的功能,<span style="color: black;">例如</span>“儿童模式”。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">这让我想起了<span style="color: black;">咱们</span>国家<span style="color: black;">近期</span>出台的教育“双减”政策,还有大力推行的管控游戏<span style="color: black;">办法</span>等,不<span style="color: black;">晓得</span>这个“儿童模式”是不是高级童锁功能,<span style="color: black;">亦</span>不<span style="color: black;">晓得</span>到底怎么用,管不管用。</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">当然,还有<span style="color: black;">更加多</span>好玩、有趣而又<span style="color: black;">奥妙</span>的功能和用法,<span style="color: black;">例如</span>语音、翻译等等太多了,就等小伙伴们去积极探索大<span style="color: black;">发掘</span>吧!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">期盼</span>本文的分享能给小伙伴们有所<span style="color: black;">帮忙</span>,祝你们食用愉快!</span></p>
    <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;"><span style="color: black;">网管小贾 / sysadm.cc</span></span></p>




m5k1umn 发表于 2024-10-30 19:26:24

你的努力一定会被看见,相信自己,加油。
页: [1]
查看完整版本: 怎么样快速将 Microsoft Edge 稳定版安装到 Linux 上