ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

安装ubuntu18.04后续事情

2022-06-25 08:32:30  阅读:201  来源: 互联网

标签:http 后续 mirrors 安装 aliyun ubuntu deb ubuntu18.04 com


    01.安裝系統
    我的ubuntu版本是18.04,目前已經是22.02版本.之所以沒有選擇最新版本,因為自己對ubuntu系統並不是那麼精通,使用最新的操作系統會有各種問題需要去解決.

    我的目的是將ubuntu作為生產工具,但是我不縣去灘平遇到的問題.因此使用低於最新的STL的年三個版本最好,遇到的問題有其他人已經經歷過,找到現有的處理方案就好.
   

    02.更改源
   1.备份源列表
   sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

   2.选择合适的源,替换原文件的内容,保存编辑好的文件
   deb http://mirrors.aliyun.com/ubuntu/ XXXXX main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ XXXXX-security main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ XXXXX-updates main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ XXXXX-proposed main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ XXXXX-backports main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ XXXXX main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ XXXXX-security main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ XXXXX-updates main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ XXXXX-proposed main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ XXXXX-backports main restricted universe multiverse

   
   使用的是18.04的版本,因此XXXX修改為bionic.具體的不同的ubuntu版本的XXXXX修改為結合ubuntu版本.
   deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
   deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
   deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

   3.使用原始的文本編輯器
   sudo gedit /etc/apt/sources.list
   將上面的阿里雲的源地址覆蓋sources.list中的數據,然後保存.

   4.刷新列表
   sudo apt-get update
   在命令行中會有下面的文本,代表正在更新
   Get:1 http://mirrors.aliyun.com/ubuntu bionic InRelease [242 kB]
   Get:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease [88.7 kB]
   Get:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease [88.7 kB]
   Get:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease [242 kB]
   Get:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease [74.6 kB]
   ......
   Get:120 http://mirrors.aliyun.com/ubuntu bionic-backports/universe DEP-11 64x64 Icons [3,943 B]
   Fetched 72.5 MB in 11min 33s (105 kB/s)
   Reading package lists... Done

   03.輸入法
   更改完軟件源後,更改輸入法,後續需要作處理.
   不管使用搜狗拼音还是百度拼音都是很多问题,如果你使用搜狗拼音或者百度拼音都没有问题,那么不需要看下面的输入法.
   可以参考使用的内容: https://www.cnblogs.com/51ma/p/12868504.html
   注意当前的参考页面的输入法输入比较稳定,非常地给力.因此使用的是IBUS-Pinyin.目前折磨地我烦躁的输入法,就通过这篇博客来暂时性地解决掉.

   04.辦公軟件
   1.百度雲盤 https://pan.baidu.com/
   2.微信: http://archive.ubuntukylin.com/ubuntukylin/pool/partner/weixin_2.1.1_amd64.deb
   3.qq音樂: https://y.qq.com/download/download.html
   4.釘釘: https://alidocs.dingtalk.com/i/p/nb9XJlJ7QbxN8GyA/docs/ROGpvEna5YQWmaPgQ156W4ykmK3zoB27
   5.有到雲筆記: https://note.youdao.com/download.html
   6.辦公軟件: https://www.wps.cn/product/wpslinux
   7.atom(文本編輯器): https://atom.io/

   sudo dpkg -i baidunetdisk_4.3.0_amd64.deb weixin_2.1.1_amd64.deb
   -- 終端命令: weixin
   sudo dpkg -i TencentMeeting_0300000000_2.8.0.3_x86_64_default.publish.deb
   sudo dpkg -i atom-amd64.deb
   -- 終端命令: atom

   05.工作环境
   sudo apt-get install git


   10.其他软件(ubuntu软件商店)
   01.KeePass 密码管理软件

   穿插其中:
   如果你发现缺少依赖,但是你认为已经下载依赖,可以执行下面2个命令:
   首先,来更新源: sudo apt-get update
   其次,修复安装: sudo apt-get -f install

   常用的APT命令参数:
   更新已安装的包: sudo apt-get upgrade
   删除包: sudo apt-get remove package
   重新安装包: sudo apt-get install package--reinstall
   获取包的相关信息,如说明、大小、版本等: apt-cacheshowpackage
   安装包: sudo apt-get install package
   删除包,包括配置文件等: sudo apt-get remove package--purge

标签:http,后续,mirrors,安装,aliyun,ubuntu,deb,ubuntu18.04,com
来源: https://www.cnblogs.com/zhtzyh2012/p/16410705.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有