zoukankan      html  css  js  c++  java
  • ubuntu修改163软件源

    cd /etc/apt
    cat sources.list
    sudo su root
    sudo echo '' > sources.list
    nano sources.list
    复制163软件源
    deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
    deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
    deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricted 
    deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
    deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
    ctrl+o-- 回车-- ctrl+x-- 回车
     
    su ubuntu
     
    sudo apt-get update
    sudo apt-get upgrade

    完事。

  • 相关阅读:
    hdu2089 不要62
    hdu4734 F(x)
    hdu3555 Bomb
    hdu3652 B-number
    hdu4352 XHXJ's LIS
    CodeForces 55D Beautiful numbers
    数位dp模板
    欧拉函数模板
    UVALive
    常用正则表达 (转)
  • 原文地址:https://www.cnblogs.com/ouym/p/6103300.html
Copyright © 2011-2022 走看看