LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2005, 07:19 PM   #16
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36

It appears that flightgear is not installed. I tried the full command and nothing was listed. I typed 'rpm -ql flightgear', and the reply was 'package flightgear not installed'. Is there a more reliable way to install an rmp or did I not have a valid rpm?
 
Old 10-06-2005, 07:39 PM   #17
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Its either installed or its not, there's no unreliability. If it didn't have any errors on the install then maybe the package is named something else besides 'flightgear'. Just do a
Code:
rpm -qa | grep -i flight
and find out the name of the package.
 
Old 10-06-2005, 08:32 PM   #18
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
Ok, I typed rpm -qa | grep -i flight and did get a response of: 'flightgear-0.9.3-91'. Is that the executable file?
 
Old 10-06-2005, 09:27 PM   #19
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
No that's the name of the package. Post the output of
Code:
rpm -ql flightgear
and I'll see if I can pick out which one is the executable file.
 
Old 10-07-2005, 08:43 PM   #20
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
The command 'rpm -ql flightgear' returned package not installed. I also tried as root. The command 'rpm -qa | grep flight' still returns the package name. I did not delete the package from my home folder.
 
Old 10-07-2005, 09:06 PM   #21
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Use YaST to install the program. The rpm package is on your installation disk but it isn't installed.
 
Old 10-08-2005, 12:15 PM   #22
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
I made it install and run flight gear. I am not sure if this was the problem, but I gave the package full permissions, then went to the /usr folder and saw the file, so I went to terminal mode. The first time, the box locked up, but the second time it ran. I am starting to learn how packages are installed and where. Is there a man file on terminal commands so I can learn how to use them?
 
Old 10-15-2005, 06:08 AM   #23
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
There are a number of documentation sources available to you right now. 1) man pages 2) info pages 3) documentation packages 4) web sites.

You could use "info". info coreutils is a good place to start.
Also, look at the bash documentation: "info bash"

It will be easier to read in the konqueror browser:
info:bash

info:coreutils

This works for man-pages also:
man:mv

For "coreutils" and "bashref" you might consider installing the source rpm so that you can create a professional looking printed manual. This process is a bit involved, but if you are feeling adventurous:
step 1) install the source rpm. (For SuSE, click on the source box in YaST)
2) cd to the SPECS directory: cd /usr/src/packages/SPECS
3) apply the patches, just in case the documentation changed:
rpmbuild -bp coreutils.spec
4) cd to the BUILD directory. That is were the source is.
cd ../BUILD
5) cd to the package's source directory:
cd coreutils-5.3.0
6) run ./configure to produce the makefile
./configure
7) generate the doument:
make ps # for postscript
make pdf # for the pdf version of the manual
make dvi # for the dvi version. (This one is produced regardless because the ps and pdf versions are converted from the coreutils.dvi file)
8) now copy the coreutils.pdf (or .ps or .dvi) file where you want it.

The core utils manual is 201 pages long.

Here is another way to read man-pages:
man -t <topic> | gv -antialias -scale 2 -media letter -
of course you can use kghostview instead. For example:
man -t fstab | kghostview -

Maybe you want to print out a manpage.
man -t find | lpr

Also, be sure to explore your system for documentation that you have installed.
Also, look for documentation that you can install:

rpm -q -all | grep doc reveals these packages:

samba-doc-3.0.13-1.1
libbonoboui-doc-2.8.1-9
linc-doc-1.0.3-181
gnome2-user-docs-2.8.1-4
xen-doc-ps-2.0.5c-4
libgnomeprint-doc-2.10.1-5
atk-doc-1.9.1-4
libgnomecanvas-doc-2.10.0-4
xen-doc-html-2.0.5c-4
apache2-doc-2.0.53-9
python-doc-2.4-14
libbonobo-doc-2.8.1-4
cvs-doc-1.12.11-4
epiphany-doc-1.6.0-6
kdelibs3-doc-3.4.0-20
kdelibs3-devel-doc-3.4.0-20
libgnome-doc-2.10.0-4
qt3-devel-doc-3.3.4-11
libglade2-doc-2.5.1-6
glib2-doc-2.6.3-4
wxGTK-doc-2.5.3.1-3
xen-doc-pdf-2.0.5c-4
gtksourceview-doc-1.2.0-4
kernel-docs-2.6.11.4-21
php-doc-5.0.3-3
gconf2-doc-2.10.0-5
gtkdoc-1.3-4
gtk2-doc-2.6.4-6
python-doc-pdf-2.4-14
python-wxGTK-doc-2.5.3.1-3
gnome-doc-utils-0.1.3-4

The samba-doc package for example contains the html versions of the same samba books that you can purchase at Barnes & Nobles.

If you have SuSE professional, (maybe the other versions have it also, but I'm to lazy to check) there is a package of howtos that contains all of the howto's from the www.tldp.org website.

The www.tldp.org website contains a link to the linuxgazette website, where you can down load archives of their old magazines. These magazines have how-to articles showing how to use various commands from the console.

Last edited by jschiwal; 10-17-2005 at 03:31 PM.
 
Old 10-15-2005, 06:18 AM   #24
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Here is a way to make installing by rpm's easier. Search for the rpm at the
http://rpm.pbone.net website

Use the advanced options feature to filter out the other distros from your search.
Select an rpm file for your distro.

This web site has added a feature to analyse your system and tell you if you need to install any dependencies. If you do, you can click on the filename highlighted and download that dependency.

In the case where there is a circular dependency, you can try downloading all of the rpm files and use the rpm command to install them. Include all of the files in the argument list:
rpm -Uhv package1.rpm package2.rpm package3.rpm
 
Old 10-17-2005, 02:25 PM   #25
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 602

Original Poster
Rep: Reputation: 36
Thanks for the info. That looks like a good primer!
 
Old 10-18-2005, 04:35 AM   #26
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You are welcome. To answer an earlier question about the pbone site:
Quote:
How does one check if they have all the support files?
There is a button near the list that lets you install and run a java applet that checks what you have installed and highlights what you need. The highlighted entries are links to the rpm's that you need to install. Hopefully, in time, you will have the most common dependencies and won't need to install as many.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing .tar.gz files with SuSE Linux 9.1 nemofreak Linux - Newbie 4 02-21-2005 08:10 PM
installing rpm files/ hard drive question ColtWanger Linux - Newbie 3 08-21-2004 11:58 AM
Idiot's guide to installing 'linux-source.src.rpm' in SuSE 9.1 personal needed! ZephyrAnima Linux - Newbie 1 08-12-2004 11:28 AM
How to use RPM files in SuSE 9.0 MoghNX01 Linux - Newbie 3 03-22-2004 04:25 AM
"unzipping"/installing .rpm files on Linux hunnybunny101 Linux - Software 7 07-07-2003 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration