标签:des code java tar ext get string art 文件 html set
ubuntu 14.04
安装笔记
1.UltraISO将镜像写入U盘,从U盘启动安装。安装只用了不到5分钟
2.添加软件源
根据网络设置主要的软件源,我这里用163的
apt-add-repository
ppa:geany-dev/ppa # geany,轻量级IDE
apt-add-repository ppa:rabbitvcs/ppa #
rabbitvcs,右键SVN菜单
apt-add-repository
ppa:relan/exfat # exfat手动挂载
apt-get
update
# 更新软件源信息
3.安装部分软件,包括gnome界面
apt-get install synaptic gnome-session
gnome-shell vim build-essential geany geany-plugin-treebrowser geany-plugin-prj
rabbitvcs-nautilus3 minicom libncurses5-dev nfs-kernel-server
nautilus-open-terminal samba tk iptux libusb-dev vim bison byacc flex libtool
libreadline-dev stardict squashfs-tools texi2html manpages-posix-dev gparted
ubuntu-restricted-extras texinfo gawk gperf automake p7zip-full libgl1-mesa-dev
freeglut3-dev exfat-utils exfat-utils gnome-session-fallback gdm
gnome-tweak-tool audacity gimp gimp-dds blender libc6-dev-i386
dia
4.重启,进入gnome,我常用的是gnome-fallback
5.删除unity桌面和一些我用不着的软件
apt-get
purge libreoffice* empathy evolution* gnome-mahjongg aisleriot gnome-mines
gnome-sudoku ubuntuone* thunderbird* gwibber* xterm landscape-client-ui-install
unity-common unity-asset-pool lightdm unity-greeter xdiagnose
webbrowser-app
6.安装vmware
下载
https://download3.vmware.com/software/wkst/file/VMware-Workstation-Full-10.0.1-1379776.x86_64.bundle
给安装文件增加可执行权限,并执行.
网上找的序列号
5F29M-48312-8ZDF9-A8A5K-2AM0Z
安装完成后,启动vmware,发现编译驱动时失败,原因是内核(linux
3.13)头文件的一个函数声明变了.
创建313.patch,我这里放在用户目录下
205a206
> #if LINUX_VERSION_CODE <
KERNEL_VERSION(3, 13, 0)
206a208,210
> #else
> VNetFilterHookFn(const struct
nf_hook_ops *ops, //
IN:
> #endif
255c259,263
< transmit =
(hooknum == VMW_NF_INET_POST_ROUTING);
---
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13,
0)
> transmit =
(hooknum == VMW_NF_INET_POST_ROUTING);
> #else
> transmit = (ops->hooknum ==
VMW_NF_INET_POST_ROUTING);
>
#endif
应用patch
cd
/usr/lib/vmware/modules/source
sudo -s
tar -xf vmnet.tar
patch vmnet-only/filter.c <
~/313.patch
tar -uf vmnet.tar vmnet-only
rm -r vmnet-only
exit
再次启动vmwave,现在就能够编译内核驱动了
7.安装matlab 2013a
sudo -s
mount matlab_2013a.iso /cdrom -o
loop
mkdir -p /opt/MATLAB/R2013a
# 安装路径
/cdrom/install_linux
序列号
25716-63335-16746-06072
安装完成后导入licence
8.安装KICAD。
【稳定版】从iut-tice.ujf-grenoble.fr/cao/下载最新稳定版,这里是
kicad-2013-07-07-BZR4022-stable-UBUNTU_12.04_full_with_components_doc.tgz
官方建议将文件解压到/usr/local,我这里解压到/opt。
终端中运行/opt/kicad/bin/kicad,提示找不到libgtk-x11-2.0.so.0。这是我的64bit系统中没有32bit的gtk2.0库造成的(应当在/usr/lib/i386-linux-gnu中),安装之:
apt-get install libgtk2.0-0:i386 gtk2-engines:i386
gtk2-engines-pixbuf:i386 gtk2-engines-murrine:i386
libcanberra-gtk-module:i386
压缩包中包含一个kicad.desktop,拷贝到桌面并修改之。
【每日编译版】
sudo
apt-add-repository ppa:js-reynaud/ppa-kicad
sudo apt-get
update
sudo apt-get install
kicad
9.编译arm-linux-gcc,目标处理器为s3c2416,arm926ej-s核心
下载编译工具crosstool-ng,官网www.crosstool-ng.org
tar xf crosstool-ng-1.19.0.tar.bz2
cd
crosstool-ng-1.19.0
./configure
make
sudo make install
sudo
mkdir /opt/arm-linux-gcc/4.7.3_x64 -p
sudo chown cjh:cjh
/opt/arm-linux-gcc -R
mkdir ~/buildspace/crosstool/src
-p
cd ~/buildspace/crosstool
cp
crosstool-ng-1.19.0/samples/arm-unknown-linux-gnueabi .config
ct-ng menuconfig
Paths and misc
options --->
(${CT_TOP_DIR}/src) Local tarballs directory
(${CT_TOP_DIR}/.build) Working
directory
(/opt/arm-linux-gcc/4.7.3_x64) Prefix directory
Target options --->
(armv5te)
Architecture
(arm926ej-s) Emit assembly for CPU
(arm926ej-s) Tune for CPU
Toolchain options --->
(926ejs) Tuple‘s vendor
string
Operating System
--->
Linux kernel
version (2.6.27.62 (longterm)) --->
Binary utilities --->
binutils version (2.22) --->
C compiler --->
gcc version (4.7.3)
--->
[*]
C++
[ ]
Fortran
[ ]
Java
C-library
--->
glibc
version (2.17) --->
Debug
facilities --->
[ ] dmalloc --->
[ ] duma --->
[ ] gdb
--->
[ ]
ltrace --->
[ ] strace --->
Companion libraries --->
GMP version (5.1.1) --->
MPFR version (3.1.2)
--->
PPL version
(0.11.2) --->
CLooG version (0.15.11) --->
MPC version (1.0.1) --->
libelf version (0.8.13)
--->
ct-ng build
ubuntu 14.04 安装笔记,码迷,mamicode.com
标签:des code java tar ext get string art 文件 html set
原文地址:http://www.cnblogs.com/hua946/p/3701441.html