《在新买的华硕笔记本电脑安装linux手记.doc》由会员分享,可在线阅读,更多相关《在新买的华硕笔记本电脑安装linux手记.doc(4页珍藏版)》请在金锄头文库上搜索。
1、在新买的华硕I3笔记本电脑安装linux手记硬件配置:华硕(ASUS)A42EI37JV-SL i3-370M 2G 320G NVIDIA GT335 1G独显 安装系统 Ubuntu 10.04 32bit应用程序 Cadence IC5141_U6Mentor Calibre 20080. Clean install of Ubuntu Desktop (这步我没有执行)1. Install additional packages necessary for Cadence.Maybe some of these packages are already installed on you
2、r system, but to be sure try to install all of them (of course, all of these could be installed in one go):Code:代码:sudo apt-get install libelf1sudo apt-get install kshsudo apt-get install nscdsudo apt-get install policykitsudo apt-get install ureadaheadsudo apt-get install csh新装的Ubuntu有些无法执行apt-get,
3、需要在重新配置aptget的网络。2. Install libstdc+2.10-glibc2.2 package.Unfortunately, this package is absent in recent Ubuntu versions, so download it from Ubuntu Dapper repository: http:/ install it:Glibc 2.2是支持32位系统的,暂时没有在64位系统尝试安装。估计是无法安装的。Code:代码:sudo dpkg -i libstdc+2.10-glibc2.2_2.95.4-24_i386.deb3. Make s
4、ome necessary linksCode:代码:sudo ln -s /usr/bin/awk /bin/awksudo ln -s /usr/bin/firefox /usr/bin/netscapesudo ln -s /usr/lib/libstdc+-3-libc6.2-2-2.10.0.so /usr/lib/libstdc+-libc6.1-1.so.24. Install en_US locale (Ubuntu uses UTF8 by default):Code:代码:sudo locale-gen en_US5. Probably you will need to m
5、ake some changes in your xorg configuration:(这步我没有操作,好像不需要)Add following strings into /etc/X11/xorg.confCode:代码:Section ExtensionsOption Composite DisableEndSection(if you do not have /etc/X11/xorg.conf either it is not necessary for your graphics card, or just create this file and add above lines t
6、o it)Reconfigure your xserver:Code:代码:sudo dpkg-reconfigure -phigh xserver-xorgand restart session (NOTE: it will restart your current session!):Code:代码:sudo /etc/init.d/gdm restart6. Install Cadence IC5141, IC610, Assura, MMSIM61 etc.在Ubuntu环境下,IC5141是无法正常安装的,必须将在其它机器上已经安装完成的软件打包copy过来。这样即可直接使用。7.
7、In order to use cdsdoc you will have to make some changes in Cadence itself:a) Locate all instances of libgcc_s.so and libgcc_s.so.1 in Cadence hierarchy (they will be located in PACKAGENAME/tools/lib/ or PACKAGENAME/linux/tools/lib/ , where PACKAGENAME is mmsim61 or assura or ic610 or ic5141 whatso
8、ever) and rename all of them to *.old, e.g.Code:代码:mv mmsim61/tools/lib/libgcc_s.so mmsim61/tools/lib/libgcc_s.so.oldmv mmsim61/tools/lib/libgcc_s.so.1 mmsim61/tools/lib/libgcc_s.so.1.oldIt is very important that you will rename all instances of libgcc_s.so and libgcc_s.so.1 that are in Cadence hier
9、archy but leave /lib/libgcc_s.so.1 intact.(这步非常重要)b) Locate all instances of cdsdoc and obServer files (they will reside in PACKAGENAME/tools/bin/ or PACKAGENAME/tools/bin/ , where PACKAGENAME is mmsim61 or assura or ic610 or ic5141 whatsoever) and open them in the text editor (e.g. nano) and make t
10、he following changes:Code:代码:#Standard x86 systems# LD_ASSUME_KERNEL=2.2.5 LD_ASSUME_KERNEL=2.6.31 export LD_ASSUME_KERNELInstead of 2.2.5 you need to write your own kernel version. Current version of your kernel you could find usingCode:代码:uname -rYoull get something likeCode:代码:2.6.31-18-genericYo
11、u need to use first three numbers as shown above.If there is no such a section in obServer file, just leave it intact.It is important that you will change cdsdoc (and obServer) that are in your PATH, but youd better change all of them just in case.8.在运行calibre的时候,报一个错误类似与 “libstdc+.so.5”只需要将libstdc+
12、.so.5 copy到/usr/lib 目录下即可sudo cp /home/peian/Documents/libstdc+.so.5 /usr/libThats it. At least for me - everything works fine on my Ubuntu 9.10 386 Desktops. If youll find that Ive forgot something, and you are not able to run Candence on Ubuntu after you make all these changes, lets try to understand what is going wrong together.