我的Ubuntu 开发环境配置

来源:互联网 发布:sql plus 编辑:程序博客网 时间:2024/05/05 22:25

新环境基础配置

1、更换ubuntu的apt更新源

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak #备份sudo nano /etc/apt/sources.list #修改

将sources.list里面的内容改成如下的内容:

deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse

最后,再更新列表:

sudo apt-get update #更新列表

2、安装必要的开发环境

sudo apt-get install build-essentialsudo apt-get install python-pip python-dev git

经典工具推介

1. CLOC源代码统计工具

现在开源社区非常活跃,我们在开发中也越来越多地会用到开源代码,那么在学习和应用开源代码的时候,我们可能就需要对代码进行统计,而这个需求自然也早就有了轮子了。这里我推荐一个轮子:cloc。

Cloc是一款使用Perl语言开发的开源代码统计工具,支持多平台使用、多语言识别,能够计算指定目标文件或文件夹中的文件数(files)、空白行数(blank)、注释行数(comment)和代码行数(code)。

官网地址:http://cloc.sourceforge.net/
安装方法:sudo apt-get install cloc

这里写图片描述

Ref: http://www.epooll.com/archives/798/


2. 命令行工具Terminator

在Linux上开发的时候,我们经常需要开启多个窗口进行操作,而这里自然也就会有一个多窗口管理的轮子,我推荐的是Terminator,安装方法很简单,用apt-get就可以。

安装方法:sudo apt-get install terminator

这里写图片描述


3. 截屏工具shutter

在software center 直接搜索shutter,然后安装。

Ref: http://muzi.info/articles/1188.html


0 0
原创粉丝点击