博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ubuntu 初学
阅读量:4631 次
发布时间:2019-06-09

本文共 4498 字,大约阅读时间需要 14 分钟。

Ubuntu day 2

Replace the Source

Make CN sources replace US sources. Download speed rises


  • Backup /etc/apt/sources.list

    1. cd /etc/apt/
    2. sudo cp /etc/apt/sources.list /etc/apt/sources.list
    3. Enter your root password
  • Replace /etc/apt/sources.list

  • sudo gedit /etc/apt/sources.list

  • Delete everything in sources.list
  • Copy and paste below sources into sources.list

    163源

    deb bionic main restricted universe multiverse

    deb bionic-security main restricted universe multiverse
    deb bionic-updates main restricted universe multiverse
    deb bionic-proposed main restricted universe multiverse
    deb bionic-backports main restricted universe multiverse
    deb-src bionic main restricted universe multiverse
    deb-src bionic-security main restricted universe multiverse
    deb-src bionic-updates main restricted universe multiverse
    deb-src bionic-proposed main restricted universe multiverse
    deb-src bionic-backports main restricted universe multiverse’

    中科大源

    deb bionic main restricted universe multiverse

    deb bionic-updates main restricted universe multiverse
    deb bionic-backports main restricted universe multiverse
    deb bionic-security main restricted universe multiverse
    deb bionic-proposed main restricted universe multiverse
    deb-src bionic main restricted universe multiverse
    deb-src bionic-updates main restricted universe multiverse
    deb-src bionic-backports main restricted universe multiverse
    deb-src bionic-security main restricted universe multiverse
    deb-src bionic-proposed main restricted universe multiverse

    阿里云源

    deb bionic main restricted universe multiverse

    deb bionic-security main restricted universe multiverse
    deb bionic-updates main restricted universe multiverse
    deb bionic-proposed main restricted universe multiverse
    deb bionic-backports main restricted universe multiverse
    deb-src bionic main restricted universe multiverse
    deb-src bionic-security main restricted universe multiverse
    deb-src bionic-updates main restricted universe multiverse
    deb-src bionic-proposed main restricted universe multiverse
    deb-src bionic-backports main restricted universe multiverse

    清华源

    deb bionic main restricted universe multiverse

    deb bionic-updates main restricted universe multiverse
    deb bionic-backports main restricted universe multiverse
    deb bionic-security main restricted universe multiverse
    deb bionic-proposed main restricted universe multiverse
    deb-src bionic main restricted universe multiverse
    deb-src bionic-updates main restricted universe multiverse
    deb-src bionic-backports main restricted universe multiverse
    deb-src bionic-security main restricted universe multiverse
    deb-src bionic-proposed main restricted universe multiverse

  • update and upgrade

  • sudo apt update

  • sudo apt upgrade

  • others command

    sudo apt-get update 更新源

    sudo apt-get install package 安装包
    sudo apt-get remove package 删除包
    sudo apt-cache search package 搜索软件包
    sudo apt-cache show package 获取包的相关信息,如说明、大小、版本等
    sudo apt-get install package –reinstall 重新安装包
    sudo apt-get -f install 修复安装
    sudo apt-get remove package –purge 删除包,包括配置文件等
    sudo apt-get build-dep package 安装相关的编译环境
    sudo apt-get upgrade 更新已安装的包
    sudo apt-get dist-upgrade 升级系统
    sudo apt-cache depends package 了解使用该包依赖那些包
    sudo apt-cache rdepends package 查看该包被哪些包依赖
    sudo apt-get source package 下载该包的源代码
    sudo apt-get clean && sudo apt-get autoclean 清理无用的包
    sudo apt-get check 检查是否有损坏的依赖

TimeShift

install

  • sudo apt-add-repository -y ppa:teejee2008/ppa
  • sudo apt-get update
  • sudo apt-get install timeshift

    Paste and Execute the above Commands one by one in the terminal

Adobe Flash Player

Canonical Partners Repository上提供了Adobe Flash播放器,默认情况下未启用。 使用以下命令添加此存储库:

添加存储库后,更新apt index然后继续在Ubuntu 18.04上安装Adobe Flash Player

Step 1: Add Canonical Partners Repository

  • sudo add-apt-repository "deb http://archive.canonical.com/ $(lsb_release -sc) partner"
  • sudo apt update
  • sudo apt -y upgrade

Step 2: Install Adobe Flash Plugin on Ubuntu 18.04

  • sudo apt install adobe-flashplugin

sougoupinyin

sougoupinyin是依赖Fcitx的bin,因此安装搜狗输入法需要先安装Fcitx.

Fcitx可以在Ubuntu 18.04 LTS 可直接在Ubuntu商店下.搜狗输入法直接官网下载

  • 下载FCITX
  • 根据机器位数选择32位/64位

remarkable

I can’t express the excitement of the heart. The Remarkable is best markdown editor in Linux Ubuntu.

Install deb of files on Linux Ubuntu

Follow the steps given below

  • Ctrl + alt + t

The command is open the terminal

打开终端

  • sudo dpkg -i(FileName.deb or download on the official website
  1. 从终端下载或者直接到官网(墙内打不开)/ Github 下载

  2. Replace FileName with the name of the file you just downloaded

    如果是非指令下载,FileName 用软件名代替

  • sudo apt-get -f install

安装文件所需要的依赖库

转载于:https://www.cnblogs.com/Fsiswo/p/10571071.html

你可能感兴趣的文章
windows安装theano和keras
查看>>
141. Linked List Cycle
查看>>
169. Majority Element
查看>>
51NOD 1087 1 10 100 1000
查看>>
谈谈javascript语法里一些难点问题(一)
查看>>
jQuery 遍历同胞(siblings)
查看>>
小萌库一周电影大合集
查看>>
Linux 之根目录介绍
查看>>
iOS学习之代码块(Block)
查看>>
十三种迹象表明百度取消新闻源势在必行的趋势
查看>>
vue初识(一)
查看>>
jQuery版本升级踩坑大全
查看>>
nginx+tomcat实现Windows系统下的负载均衡搭建的案例
查看>>
checkstyle.xml Code Style for Eclipse
查看>>
Docker2之Service
查看>>
总结技术人生的第一个“五年计划”
查看>>
linux (一)
查看>>
名不正,则言不顺
查看>>
实验报告四
查看>>
wp8公司帐号申请注意事项
查看>>