首页 > 代码库 > 一步一步 在mac上安装ubuntu
一步一步 在mac上安装ubuntu
做为程序员的你一定听说过Linux甚至非常喜欢Linux.最近买了一台mac air,我非常喜欢苹果的工艺,但作为屌丝程序员,我依旧喜欢基于Linux内核的Ubuntu 进行开发.下面我就讲述一步一步在mac上安装ubuntu系统.
- 1
首先是下载bantu镜像,mac版本
- 2
打开终端
- 3
将iso格式转换成img格式
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/ubuntu.iso
- 4运行
diskutil list
获取当前系统挂载的存储媒介 - 5
插入u盘
- 6
diskutil list
获取u盘的挂载名称 - 7
运行
diskutil unmountDisk /dev/diskN
取消挂载,以便格式化 - 8
执行
sudo dd if=/path/to/downloaded.img of=/dev/rdiskN bs=1m
格式化并制作ubuntu系统启动盘 - 9
卸载u盘
diskutil eject /dev/diskN
- 10
重启 Mac 并按压 press alt/option 进入boot模式,并选择从u盘启动.接下来就是很友好的过程,按照提示一步一步来就可以了.
Please run:
lspci -nn | grep 0280
The pipe symbol | is on the right side of my US keyboard on the same key with ‘\‘. Is this your device?
Broadcom Corporation BCM4360 802.11ac Wireless Network Adapter [14e4:43a0] (rev 03)
If so, then bcmwl-kernel-source is correct for your device. If you still have the install DVD or USB, then you can find it and its prerequisite there. Navigate to pool > restricted > b > bcmwl and drag and drop the deb file to your desktop. Now navigate to pool > main > d > dkms and drag and drop dkms to your desktop. Now install both with:
cd ~/Desktop
sudo dpkg -i *.deb
Load the driver:
sudo modprobe wl
Your wireless should now be working.
If your device is not 14e4:43a0, tell us what it actually is and we‘ll proceed.
一步一步 在mac上安装ubuntu