sudo apt-get update
修改Linux的hosts:
首次在Google hosts下载hosts文件,并打开hosts文件
![](https://img-blog.csdn.net/20161204114939770?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
复制橙色及其以下内容,在/etc/hosts文件中,保留最上面的两行,把下面的都替换掉。完成后结果如下。
查询Linux内核:
horatio@horatio-OptiPlex-3010:~/openairinterface5g/cmake_targets$ cat /proc/version
Linux version 3.13.0-24-generic (buildd@panlong) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014
截屏快捷键:
出现:
Hash Sum mismatch,
E: Some index files failed to download. They have been ignored, or old ones used instead.
首先
sudo rm -rf /var/lib/apt/lists/*
接下来
sudo apt-get update
修改Linux的hosts:
首次在Google hosts下载hosts文件,并打开hosts文件
![](https://img-blog.csdn.net/20161204114939770?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
复制橙色及其以下内容,在/etc/hosts文件中,保留最上面的两行,把下面的都替换掉。完成后结果如下。
在Ubuntu安装和卸载软件:
sudo gdebi google-earth-stable_current_amd64.deb
sudo dpkg -i google-earth-stable_current_amd64.deb
sudo apt-get remove google-earth-stable