目录
今天,被刺激到了,因此,想学一些技术上的东西。在此与大家分享。
十一 安装libreoffice
由于电脑安装了windows与Ubuntu的双系统,由于以前再windows上时使用的excel比较多,因此,为了兼容两个平台,选择安装libreoffrce,安装过程如下:
$ sudo apt-get update //打开终端,更新软件库
$ sudo apt-get install libreoffice //安装libreoffice
$ libreoffice //验证是否安装成功
十 安装atom
个人比较喜欢使用atom,因此就安装了atom
- 首先添加源: wget -qO - https://packagecloud.io/AtomEditor/atom/gpgkey | sudo apt-key add - sudo sh -c ‘echo “deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main” > /etc/apt/sources.list.d/atom.list’
- 更新源:sudo apt-get update
- 安装:sudo apt-get intall atom
由于安装package时,安装速度比较慢,因此更换安装源 - 在安装文件下的.atom文件中,新建文件 .atomrc
- 在 .atomrc中新增
registry=https://registry.npm.taobao.org/
strict-ssl=false
九 修正win10与Ubuntu的时间不同步问题
安装完成双系统后,win10与Ubuntu时间不同步。
- 打开终端:sudo apt-get update
- 安装ntpdate:sudo apt-get install ntpdate
- 更新时间源:sudo ntpdate time.windows.com
- 同步时间源:sudo hwclock --localtime --systohc
- 去win10 查看
八 更换谷歌浏览器
个人比较喜欢使用谷歌浏览器,因此不可避免地安装了它
- 首先去https://www.google.cn/chrome/thank-you.html?statcb=0&installdataindex=empty&defaultbrowser=0下载deb包
- 打开终端,sudo dpkg -i goole*
- 然后输入 goole-chrome进行验证,即能够打开chrome时,说明安装成功
- 然后在终端输入:sudo dpkg -l | grep firefox
- 然后:sudo dkpg --puge firefox*
- sudo dpkg -l | grep firefox,筛选不出来即表示卸载完毕
七 安装vim
linux上使用比较多的编辑器应该vim啦,那么如何安装呢?
- 卸载Ubuntu自带的vim,因此其功能比较少
- 打开终端,查看安装了那些vim软件,sudo dpkg -l |grep vim