Ubuntu15.10安裝小結
阿新 • • 發佈:2019-01-26
先前接觸過幾次Ubuntu了,但總是因為各種錯誤而擱置Linux的學習。這學期的高軟作業需要在Linux上完成,在VMware上執行Ubuntu總是有一種不爽的感覺,於是這次在學校借用的電腦上裝了Ubuntu15並且卸了win7(學校電腦配置渣2G記憶體),希望可以一步步瞭解Linux,開啟新世界的大門。
本文記錄了安裝過程以及出現的一些問題和解決方法。
安裝過程
- 下載Ubuntu15.10的映象檔案
- 使用軟碟通UltraISO製作u盤啟動盤安裝Ubuntu15.10
- 重啟前,在win7進行硬碟分割槽管理,留合適的記憶體給Ubuntu
- 重新啟動,看到Lenovo時候按F12或F2(不同系統進入BIOS方式不同)
- 接下來設定BIOS的啟動項先後順序,將U盤調至最上面;儲存並退出
- 進入Ubuntu安裝,選擇語言 網路 安裝型別(我選的是解除安裝win7並安裝Ubuntu,裝雙系統的請選擇 其他選項,可自己調整 建立分割槽)設定使用者名稱密碼等
7.安裝成功,可以進入Ubuntu啦
安裝vim的問題
安裝vim的時候出現了一些問題,試過了網路很多方法終於解決了。。。記錄一下,希望可以幫助一樣遇到此問題的小白朋友。。。
- (1)終端安裝
- vim
- 顯示了包含vim的軟體包
-
sudo apt-get install vim-gtk
- 安裝失敗,顯示找不到軟體包,但是可能被其他的軟體包引用
-
sudo apt-get update
- (2)顯示錯誤,許多Source檔案 not found。上網搜尋了下,將軟體更新源換成163站點(教育網使用者可以用清華或科大的站點)但是依然報錯
- (3)繼續bing!修改source.list 檔案的源地址
- cd /etc/apt
sudo gedit sources.list
將sources.list替換為:(感覺是因為網上帖的很多源版本比較老了)
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun .com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##測試版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 原始碼
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-upda1tes main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##測試版源
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# Canonical 合作伙伴和附加
deb http://archive.canonical.com/ubuntu/ xenial partner
deb http://extras.ubuntu.com/ubuntu/ xenial main
- (4)重新update
-
sudo apt-get update‘
-
sudo apt-get install vim
安裝成功,終端輸入vim,可以進入編輯