Install the FC8.( customed the software package)
Note: don not install the default
java packages related ,use the sun
tools instead.
* YUM extra
get the
yum extra (livna source) from linva.org
livna-release-8.
rpm (for fc8) and intall it on fc8.
* Update the software package
(this step will fix many problems( such as the
jdk6 xcb error...)
* Install AdobeReader
I got the latest verision AdobeReader_chs-8.1.1-1.i486.rpm and installed it,
there are not any additional operations required for its working.
* stardict
the stardict has becomed the standard package in fc8, just install it from software install/remove.it shipped with a dictionary and TTS sound, you can download and add required dictionary in it
To install these tarball dictionaries, do this:
tar -xjvf a.tar.bz2
mv a /usr/share/stardict/dic
the TTS sound is so boring, you can replace it with the WyabcdreadpeopleTTS, note the words that are not contained in the real TTS package will still sound using default TTS engine.
WyabdcRealPeopleTTS package make StarDict can pronounce those English words. It is just many .wav files.you can extract(tar -xjvf) the tarball at "/usr/share/".
QQWry IP Address query data file.
QQWry.Dat
To install this file, do this:
bunzip2 QQWry.Dat.bz2
mv QQWry.Dat /usr/share/stardict/data/
Dictionaries
Install Dictionaries in
Linux:
To install these tarball dictionaries, do this:
tar -xjvf a.tar.bz2
mv a /usr/share/stardict/dic
* rar/unrar
get the rar for linux from the http;//www.win-rar.com as rarlinux-3.7.1.tar.gz
then uncompress the tar ball and get directory "rar",
[
root@localhost rar]# make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
the rar/unrar will be integreated in the GUI file manager.
* install qterm
I have tried the 1.4.0 (src failed to comple), so I get the rpm packet from
http://qterm.sourceforge.net/wiki/index.php/Downloads
and try to install again, but the rpm always tell me that the libcrypto.so.5 and the libssl.so.5 missed, so make it like following
ln -s /lib/libcrypto.so.0.9.8b /lib/libcrypto.so.5
ln -s /lib/libssl.so.0.9.8b /lib/libssl.so.5
then enforce to install
rpm -ivh --nodeps qterm-0.4.0pre4-1.i386.rpm
the lunch file is /usr/bin/qterm
* the ipw3945 wireless card for Thinkpad r60
it makes me happy that the driver for wireless card is contained in the FC8,
but to makes it work. you should act as the following: ( see reference)
many manul steps needed( hope it will be solved in future release)
install the matlab for linux/unix/mac R14
(1) get three cd image files (cd1.iso, cd2.iso, cd3.iso)
(2) make three directories in the /mnt as /mnt/cdrom1 , /mnt/cdrom2 , /mnt/cdrom3
(3) #mount -o loop ~/cd1.iso /mnt/cdrom1
#mount -o loop ~/cd2.iso /mnt/cdrom2
#mount -o loop ~/cd3.iso /mnt/cdrom3
(4) create the directory for the software
#mkdir /opt/matlab7
(4) copy license.dat;
cp /cdrom1/crack/license.dat /opt/matlab7/
(5) #/mnt/cdrom1/install
here is a problem. you may see the error message as
An error status was returned by the program 'xsetup',
the X Window System version of install'. The following messages were written to standard error:
/tmp/2493tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
you can fix the problem as follwing:
one way: copy cdrom1/update/bin/glnx86/libmwins.so to /usr/lib and rename it as libXp.so.6 ( i have test the method 8))
another way: yum install libXp-devel ( i have test the method 8))
** choose the /opt/matlab7 as your softwar install directory and keep all options as default value.
(6) license.lic
edit the license.lic in th cdrom change the first line "your_host_name" to your own machine name (eg. localhost.localdomain ), you can make sure it by #hostname ,
then save the file and copy it to "/opt/matlab7/etc"
(7) #/opt/matlab7/install_matlab
(** keep all options as default value.)
(8) install process ended
there are still some problem that will raise when you run the matlab , following things as reference methods
#1: During installation
[root@localhost matlab]# sh /media/MathWorks_R14_1/install
**********************************************
An error status was returned by the program 'xsetup',
the X Window System version of install'. The following messages were written to standard error:
/tmp/2493tmwinstall/update/bin/glnx86/xsetup: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory
solution: yum install libXp-devel
#2: Fixing simulink:
Warning: Could not access OpenGL library
solution: yum install libXpm-devel mesa-libGL-devel mesa-libGLU-devel
#3: GCC 3.4 dependencies for simulink
[root@localhost matlab] ldd /usr/local/matlab/bin/glnx86/glren.so
/usr/local/matlab/bin/glnx86/glren.so:
/usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/usr/local/matlab/bin/glnx86/glren.so:
/usr/local/matlab/bin/glnx86/../../sys/os/glnx86/libgcc_s.so.1: version `GCC_3.3' not found (required by /usr/lib/libstdc++.so.6)
[...]
Solution:
yum install compat-gcc*
cd /usr/local/matlab/sys/os/glnx86
mv libgcc_s.so.1 libgcc_s.so.1_back
ln -s /lib/libgcc_s.so.1 libgcc_s.so.1
#3: broken symbolic link with simulink Part One:
??? Can't load '/usr/local/matlab/bin/glnx86/libmwsimulink.so': libXft.so.1: cannot open shared object file: No such file or directory
Solution:
[root@localhost matlab]# updatedb && locate libXft.so
/usr/lib/libXft.so
/usr/lib/libXft.so.2
/usr/lib/libXft.so.2.1.2
[root@localhost matlab]# ln -s /usr/lib/libXft.so.2 /usr/lib/libXft.so.1
#4: broken symbolic link with simulink Part Two:
??? Can't load '/usr/local/matlab/bin/glnx86/libmwsimulink.so':
/usr/local/matlab/bin/glnx86/libqt-mt.so.3: undefined symbol: XftFreeTypeOpen
Solution :
# yum install qt
# mv /usr/local/matlab/bin/glnx86/libqt-mt.so.3 /usr/local/matlab/bin/glnx86/libqt-mt.so.3_back
# ln -s /usr/lib/qt-3.3/lib/libqt-mt.so.3 /usr/local/matlab/bin/glnx86/libqt-mt.so.3
#5 Sure, there is no .desktop file for gnome/kde menus:
Solution:
# gedit /usr/share/applications/matlab.desktop
[Desktop Entry]
Version=7
Encoding=UTF-8
Name=Matlab_R14
Comment=matlab
Icon=stock_appointment-reminder
Exec=/usr/local/bin/matlab
Terminal=true
Type=Application
Categories=Education;Science;Engineering;
X-Desktop-File-Install-Version=0.10
The rest of the nodes will be migrated as soon as we have more time ahead of us. My biggest surprise was that Fedora Extras ships read AND write support for ntfs which made our tasks easier, since our backup hard drives are still under ntfs.
The best thing is that now these packages: (geda, ktechlab, piklab/pikdev/pikloops, xcircuit, pcb, qucs, kicad, qalculate,...) at Fedora Project will undergo more testing :)
the matlab desktop files created by me is: (in
fedora core 8)
[Desktop Entry]
Version=7
Encoding=UTF-8
Exec="/usr/local/bin/matlab"
Terminal=true
Type=Application
Icon=/usr/share/pixmaps/matlab32c_icon.xpm
Categories=Application;Development
Name=Matlab 7
Comment=Launches Matlab 7
Name[ja]=Matlab 7
Comment[ja]=Launches Matlab 7
Name[zh]=Matlab 7
Comment[zh]=Launches Matlab 7
Note: replace the java run time environment with the sun jre (5.0 upper)
add line below in the /opt/matlab7/bin/matlab
export MATLAB_JAVA=/usr/java/jdk1.5.0_14/jre
when all the fix were completed, the matlab become more stable! 8) 8)
* install gftp
the gftp will not be installed default, you still use the jiajia version .(for solving chinese fonts problem)
* install nasm
install the toole using software install/remove
* the dhclient.
new problem arising in the FC8 caused by selinux. the network connection will be disabled during the starup process and I will make them active by myself. when activing, warning will report. I have dealed with the problem (as the reference help)
# audit2allow -m local -l -i /var/log/audit/audit.log > local.te
[root@localhost audit]# pwd
/var/log/audit
[root@localhost audit]# ls
audit.log local.te
[root@localhost audit]# cat local.te
module local 1.0;
require {
type unconfined_t;
type dhcpc_t;
class unix_stream_socket { read write };
}
#============= dhcpc_t ==============
allow dhcpc_t unconfined_t:unix_stream_socket { read write };
[root@localhost audit]# checkmodule -M -m -o local.mod local.te
checkmodule: loading policy configuration from local.te
checkmodule: policy configuration loaded
checkmodule: writing binary representation (version 6) to local.mod
[root@localhost audit]# ls
audit.log local.mod local.te
[root@localhost audit]#
[root@localhost audit]# semodule_package -o local.pp -m local.mod
[root@localhost audit]# ls
audit.log local.mod local.pp local.te
[root@localhost audit]# semodule -i local.pp
[root@localhost audit]#
* install flash plugin
get flash-plugin-9.0.115.0-release.i386.rpm and install it.
rpm -Uvh flash-plugin-9.0.115.0-release.i386.rpm
the selinux will report warning. solved it as the dhclient problems.
* install the
ATI driver
you can install ATI properity driver from linva source or use yum as the following:
(another way is to download the driver from ATI and install it :
http://ati.amd.com/support/drivers/linux/linux-radeon.html )
# yum install kmod-fglrx
* install the compact gcc
these files is important to support application software (the matlab etc).
[root@localhost ~]# yum install compat-gcc*
* the open office problem (new in fc8)
the selinux will give warning when using open office, fix it using:
setsebool -P allow_execheap=1
* install the jdk6 update 3
jdk6u3 shipped with javadb, it will be installed with the jdk, if you do not
want to install it. you can run ...bin with -X (unpack it, and you can install the jdk only)
the jexec will be added to /etc/init.d to make jar files (click to launch) during
your installation.
here is completed installation ( the xcb problem is solved by the fc8 update)
#./jdk-6u3-linux-i586-rpm.bin
install the
firefox java plugin as the following:
cd /usr/lib/mozilla/plugins
ln -s /usr/java/jdk1.5.0_14/jre/plugin/i386/ns7/libjavaplugin_oji.so
make the /etc/profile.d/java.sh
JAVA_HOME=/usr/java/jdk1.5.0_14
export JAVA_HOME
JAVA_BIN=$JAVA_HOME/bin
CLASSPATH=$CLASSPATH:$JAVA_HOME:$JAVA_HOME/lib
PATH=$JAVA_BIN:$PATH
export JAVA_BIN CLASSPATH PATH
add the mail filter in the evolution
the evolution contained none of the mail filter packages.
you can intall the spamassassin or bogofilter(using bayes algormiths) in it(note:only
one of it can be chosen to run )
using the software install/remove
install
spamassassin-3.2.3-2.fc8
or install bogofilter
* install audacious for play mp3
( the default rythmbox pacakge shipped fc8 use the gsteamer... remove the rthymbox and keep the gstreamer)
you should install the audacious and its plugins as:
[root@localhost ~]# yum install audacious
[root@localhost ~]# yum install audacious-plugins-*
* install audacity for recording your sound.
install the package using the software install/remove
using the alas hda device for play back
using lame 3.7 for mp3 files output.
* install key ring manager
the king ring manager should be installed from software install/remove for mangering the key rings( in receiving/sending mail in evolutions)
* install totem
the
mplayer can not run normally, just use totem instead.
(1)remve the old totem shipped with fc8
# yum remove totem
(2)install totem-xine
# yum install -y totem-xine
(3)install extras
#yum install -y xine-extras(may not any reponse, bypass it!)
(4)install
DVD player
# yum install -y libdvdcss libdvdnav
(5)install lame
# yum install -y lame
(6)install mpeg supporting
# yum install -y ffmpeg
(7)install RM player
# yum install -y compat-libstdc++-33 (please check the package existing or not before installing it)
(8)installsound support
# yum install -y xine-lib-extras-nonfree (without totem is silence when playing rm)
(9)install vlc
# yum install -y vlc
(10)download mplayer'sall-20061022.tar.bz2
wget
http://www1.mplayerhq.hu/MPlayer ... ll-20061022.tar.bz2
(11) unpack all-20061022.tar.bz2 to /usr/lib/codecs.
* install doom just for fun! 8)
[root@localhost ~]# yum install doom-shareware
* install virtual box for second OS (
windows xp etc.)
download rpm file VirtualBox-1.5.4_27034_fedora8-1.i586.rpm and install it
* some old lib files
some software need the old lib files (located in the /lib)
such as
libcrypto
libssl
you can get them in the previous fc version and make sample link for it.
for example:
libcrypto.so.4 -> /lib/libcrypto.so.0.9.7a (.....7a only exist in fc6(before) )
libcrypto.so.5 -> /lib/libcrypto.so.0.9.8b (....8b can be found in fc8)
libssl.so.4 -> /lib/libssl.so.0.9.7a (.....7a only exist in fc6(before) )
libssl.so.5 -> /lib/libssl.so.0.9.8b (....8b can be found in fc8)
eg.
[root@localhost mydownload]# rpm -i gftp-2.0.17-3.ajing4jia.i386.rpm
error: Failed dependencies:
libcrypto.so.4 is needed by gftp-2.0.17-3.ajing4jia.i386
libssl.so.4 is needed by gftp-2.0.17-3.ajing4jia.i386
[root@localhost mydownload]# rpm -ivh --nodeps gftp-2.0.17-3.ajing4jia.i386.rpmPreparing... ########################################### [100%]
1:gftp ########################################### [100%]
[root@localhost mydownload]#
* chm support
the firfox chm plugin can be installed from the menu->extra support ..
but it is not very useful. so use chmsee instead.
[root@localhost ~]# yum install chmsee
During lanuch, error displayed in console as:
/usr/libexec/chmsee/chmsee: error while loading shared libraries: libgtkembedmoz.so: cannot open shared object file: No such file or directory
how to fix it! goes here...
# mkdir /opt/chmlib
#cp /usr/lib/firefox-2.0.0.12/libgtkembedmoz.so /opt.chmlib
#cp /usr/lib/firefox-2.0.0.12/libxpcom.so /opt.chmlib
#cp /usr/lib/firefox-2.0.0.12/libxpcom_core.so /opt.chmlib
# vi /etc/ld.so.conf.d/chmsee.conf
add a line
/opt/chmseelib
in the configure file.
# /sbin/ldconfig (to make the configure file activing)
there still exists error when launching
[root@localhost sbin]# chmsee
** (chmsee:594): CRITICAL **: reload_current_page: assertion `GTK_IS_NOTEBOOK (chmsee->html_notebook)' failed
but the chmsee can work !