some questions about Linux

Kai-Uwe Behrmann ku.b at gmx.de
Fri Oct 10 06:40:17 BST 2003


Hi Yili,

Am 10.10.03, 11:08 +0800 schrieb ylzhao at vip.sina.com:

> Hi,
>   I have installed Red Hat Linux 9 on my PC just now.
>   o Linux has a root account which has full conrol, and
>     I create another user account. If I only need to use
>     this account to accomplish common task (like programming,
>     install RPM etc) instead of using root account to avoid
>     some destroy?

Installing rpm files needs root access. Many rpm archives put theyre files
into system directorys.
You can work on user level, logging in as ylzhao, and will do most
things somethere in /home/ylzhao/. So Your hardware should be protected
against viruses, while running dayly tasks.

>   o I want to install wxWindows2.4.2 on Linux, it seems that
>     only www.wxWindows.org has it to be downloaded. And I find
>     that there are wxWindows-2.4.2.rpm and wxWindows-2.4.2-  devel.rpm and others, what package should I download?

You need an wxWindows-xrc package. If it is not precompiled (rpm) please
load the whole wxGTK-2.4.2.tar.bz2 and do an

 # bzip2 -dv wxGTK-2.4.2.tar.bz2
 # cd wxGTK-2.4.0
 # ./configure --with-gtk --with-opengl
 # make
 # cd contrib
 # ./configure
 # make
 # cd ..
 # su  ( login as root )
 # make install
 # cd contrib
 # make install
 # ldconfig
 # exit  ( exit the root mode )

... and wxWindows should be ready for use (hugin ;-) .

>   o If I use "ylzhao" account on Linux, it seems that the home
>     directory is "/home/ylzhao/". Then I download a rpm and
>     put it in this directory. Do I only need to double click
>     this rpm and use its default setting to install it?

If Your browser is configured for that yes, but I would not expect this.
Go instead to the commandline and do
# rpm
You can read all options.
Without wxWindows-xrc it is not useful for hugin compiling.

>   o Does Red Hat Linux 9 has J2SDK installed?

I would expect it.

>   Thanks.
>
> Yili
> ______________________________________
>

Good learning.
Kai-Uwe



More information about the ptX mailing list