打造高效的ubuntu

virtualbox

在windows下安装虚拟机,为学习ubuntu带来无限方便,同时也节省了电脑的钱_

ubuntu

虚拟机中安装ubuntu,网上很多教材。

注意:存储空间不能是默认的10G,很容易空间不够用而当机。我设定了100G。

开机对ubuntu basic 设置:

#update and upgrade linux
sudo apt-get update
sudo apt-get upgrade

#add shared file mode to user Robin
whoami
#:robin
cat /etc/group | grep vbox
#:vboxsf:x:999:robin
sudo usermod -a -G vboxsf robin

#copy config file from shared path
cp -r /media/sf_other/conf_ubt ./
#if want to execute the file
chmod +x conf_ubt
./conf_ubt

安装vim,git,guake…

sudo apt-get install ack ctags wmctrl vim vim-gnome guake
#dos and unix format switch
sudo apt-get install dos2unix
#astyle
sudo apt-get install astyle
#minicom
sudo apt-get install minicom

#install git and vundle
sudo apt-get install git-core
#my self files include shell script and vim script
cp -r /media/sf_other/.vim ./
cp -r /media/sf_other/shell ./

安装YoucompleteMe

#install youcompleteMe
sudo apt install build-essential cmake python3-dev
#install vim plugin
put .vimrc into /home/robin
cd ~/.vim/bundle
git clone https://github.com/Valloric/YouCompleteMe.git
cd ~/.vim/bundle/YouCompleteMe
git submodule update --init --recursive
python3 install.py --clang-completer

配置guake

#config guake terminal
#preference->appearance->font:Monospace 14 & schemes:Monokai
#guake open when pc start
#startup application->add /usr/bin/guake

安装gcc-arm-none-eabi

#install gcc-arm none-eabi
#(should NOT install apt-get for not the latest one, for printf not working)
sudo apt-get install lsb-core
sudo cp -r /media/sf_other/gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 ./library
cd library/ ;
tar -jxvf ../gcc-arm-none-eabi-5_4-2016q3-20160926-linux.tar.bz2 ./
#add path to /etc/profile
export PATH=$PATH:/home/robin/library/gcc-arm-none-eabi-5_4-2016q3/bin
source /etc/profile
#check install success
arm-none-eabi-gcc -v

安装libusb

#install libusb
#first way
sudo apt-cache search libusb
sudo apt-get install libusb-1.0-x
#second way
sudo cp -r /media/sf_other/libusb-1.0.22.tar.bz2 ./library
tar -jxvf libusb-1.0.22.tar.bz2
cd library/libusb-1.0.22
./configure
make
sudo make install

安装openocd

#install openocd
#first way
sudo apt-cache search openocd
sudo apt-get install openocd libusb++-dev
#second way
sudo cp -r /media/sf_other/openocd-0.10.0.zip ./library
unzip openocd-0.10.0.zip
cd library/openocd-0.10.0
./configure
make
sudo make install

配置中文输入法

##setting language
#Setting ->> Region&Language ->>Manage Installed Language
#->>Keyboard input Method system:fcitx
#install fcitx
sudo apt-get install fcitx-table-wbpy
sudo apt-get update
sudo apt-get upgrade
#restart PC
#config input
#configure input Method only keep 2 ways: English and Pinyin

截图工具

# handle images
sudo apt-get install shutter

vim中写博客

#handle website
sudo apt-get install ruby
sudo gem install jekyll
sudo apt-get install python-pip
pip install pyments

配置vim中的中英文字体

#install yahei_consolas_hybird in gvim

截取动态图的工具

# install gif make
sudo add-apt-repository ppa:djcj/hybrid
sudo apt-get update
sudo apt-get install ffmpeg

# install gif make
sudo add-apt-repository ppa:peek-developers/stable
sudo apt update
sudo apt install peek

安装黑客级chrome插件

#install vimium
sudo apt-get install npm
sudo npm install --global coffeescript
sudo npm install --global coffeescript@1.12.7
cd vimium
cake build
#Chrome/Chromium
Navigate to chrome://extensions
Toggle into Developer Mode
Click on "Load Unpacked Extension..."
Select the Vimium directory.
#Firefox
Open Firefox
Enter "about:debugging" in the URL bar
Click "Load Temporary Add-on"
Open the Vimium directory and select any file inside.

安装list

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值