LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-12-2006, 05:58 PM   #1
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Rep: Reputation: 31
How do I access 'Man Pages'?


BOY!...One question after the other!
Im trying to figure out why I keep getting errors when asking 'klamav' to "autoscan". It tells me that it needs to load "Dazuko", so I SAY, "go ahead!" then I get error that "Dazuko" cant be found, so I go looking for it in the packages department useing the sources that have been added. NOTHING! I find out that a 'kernel needs to be compiled in order to get my problem fixed'!
So Much for THAT! Im not a computer programmer so I guess I cannot have virus protection for my pc heh?

Everytime i boot now since activating klamav i get a message that tells me i have an outdated version so i tell it to update and nothing ever changes, same message every time!

Now I forgot what this post was suppose to be about initially!
OH, once I found the folder containing the 'man pages' I hit another wall! I dont know how to view them because they are 'bz2' files and i do not know what to open them with.
 
Old 01-12-2006, 06:33 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The man pages are accessed with the man (short for manual) command. For example:

Code:
man xine
Will give information about the xine command. There are a bunch of sections and some applications may have entries in more than one section so you could use something like:

Code:
man 1 xine
man 5 xine
The sections are broken up into:

Quote:
1. user commands
2. system calls
3. subroutines
4. devices
5. file formats
6. games
7. miscellaneous
8. system administration
Sorry I don't have any info about klamav...
 
Old 01-12-2006, 06:43 PM   #3
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
Im trying to figure out why I keep getting errors when asking 'klamav' to "autoscan". It tells me that it needs to load "Dazuko", so I SAY, "go ahead!" then I get error that "Dazuko" cant be found, so I go looking for it in the packages department useing the sources that have been added. NOTHING! I find out that a 'kernel needs to be compiled in order to get my problem fixed'!
So Much for THAT! Im not a computer programmer so I guess I cannot have virus protection for my pc heh?
Yeah it looks like Mandriva has chosen not to build that module in their default kernel, so you'd probably have to recompile the kernel to get it. It doesn't really matter though - you don't need Windows-style on-access virus protection for a Linux pc. Antivirus is only really useful on Linux for mail gateways and file shares for Windows clients.

If you want a secure Linux PC keep up with updates (Mandriva Update), install software from the Mandriva repositories (see my sig) or from other trusted sources (openoffice, mozilla etc) and turn on the firewall (see the Security section in the Mandrake Control Centre although its probably on by default). Linux is not Windows and although there are a small number of Linux viruses most are exploits for security holes long since closed or proof of concept which you'd have to conciously decide you wanted to install. There is virtually no threat of automatically propogating viruses and worms in Linux.

Quote:
Everytime i boot now since activating klamav i get a message that tells me i have an outdated version so i tell it to update and nothing ever changes, same message every time!
Like most Linux distros Mandriva has packaged up the latest version of each package at the time of release (Oct 2005 for Mandriva 2006). The updates that you get from Mandriva generally don't upgrade the packages to the latest version from the upstream project because this would lead to a nightmare of instability, bugs and incompatabilities. Instead they backport important security and bug fixes back into their packages. Everyone who's using distro packages of (k)clamav gets that warning but its nothing to worry about.

Quote:
OH, once I found the folder containing the 'man pages' I hit another wall! I dont know how to view them because they are 'bz2' files and i do not know what to open them with.
You can access man pages from the GUI or the command line, take your pick:

GUI: menu->More Applications->Documentation->KDE Help Centre and scroll down to 'UNIX Manual Pages'.

CLI: man <name of program>, eg. to see the man page of the cp (copy) command
Code:
man cp
Usually man pages are for command line programs and services (ie. programs that don't usually have a GUI) and most GUI programs will have a help menu. Although the help files are of varying completeness, from very good to nothing
 
Old 01-13-2006, 05:42 AM   #4
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
Also, if you don't know the exact name of an application, you can use apropos.

apropos cd

will list all the man pages which have 'cd' in their header.

man -k cd

will do the same thing.
 
Old 01-13-2006, 09:41 AM   #5
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Quote:
Originally Posted by randell6564
So Much for THAT! Im not a computer programmer so I guess I cannot have virus protection for my pc heh?
For avg, which you are probably familiar with from MS windows, simply save the Mandriva rpm to your desktop, right click on it and choose "open with software installer". You will see it in >system>file tools menu after installation. You will find if you open it and try to update it, it needs root permission, one way of opening a program with root permissions is as follows:
Code:
[don@localhost ~]$ su
Password:
[root@localhost don]# /usr/bin/avggui
avggui: /opt/grisoft/avggui/prog/sysinfo.py:92: ERROR: opening file: [Errno 2] No such file or directory: '/opt/grisoft/avggui/config/userinfo.cfg'
avggui: /opt/grisoft/avggui/prog/messagebox.py:25: WARNING: License type is FREE.
Then up pops the avg window, and update works

http://www.linuxquestions.org/questi...26#post2045126
edit: below the rpm's is a download link for the avgLinux manual as a 38 page pdf document. If you don't have acrobat on your machine, xpdf is a good pdf reader and available through urpmi as well.

Last edited by Lakota; 01-13-2006 at 09:48 AM.
 
Old 01-13-2006, 02:26 PM   #6
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Thank you everyone!
Time to go do some work!
Im still trying to get Limewire Pro installed. origanally, limewire was showing an error that in needed j2re installed. as far as i can tell, i installed it from sun! i followed their directions on installing the j2re rpm from a terminal and everything went well, (terminal responded to all my commands) now when trying to install rpm i get: "...Due to unsatisfied j2re>=1.4.1" then it say's "continue?" and i say yes and thats it, no Limewire! is j2re>=1.4.1 the version that its asking for?


Have A Great Day!
 
Old 01-13-2006, 02:37 PM   #7
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
The rpm database doesn't know you have java installed. That is a problem with installing some things from rpm, and others from other sources (like sun). Unfortunately, I don't know an easy way to tell rpm that you have java installed.
 
Old 01-13-2006, 04:55 PM   #8
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
I see.
Well..How about this; Do you know of a linux friendly 'share-ware' application that I can install in order to download music? I am a musician and always download music when booted to WinXP to practice to. I really want to do away with 'Windows', but it's so difficult to find software to add to linux! I mean... I'm fairly new to linux so I dont know of any sights where I can go to get software. Im, by no means a computer wiz, so I need something that will download and install by its self! Yes..I'm use to the ease of installing things with 'Windows'! But That does'nt mean that I appreciate Microsoft!

I know that there are alot of tutorials on linux out there. I just havent found all of them yet.'
Just noticed your profile. A BIG Salute to you ,'Padma!' God Bless Our Troops and all that! I Lived In Sioux City Iowa for 12 years.

Scott

Last edited by randell6564; 01-13-2006 at 04:58 PM.
 
Old 01-13-2006, 06:13 PM   #9
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Ok!
I have accessed man pages useing terminal, but, if I want to learn about installing or about listing what is CURRENTLY installed, I need to know what the commands are to bring up the page that relates to this. also, when i bring up the help section on man pages, I'm not sure how to dicipher what it's showing.
for instance. What does this mean?

rpm {-q|--query} [select-options] [query-options]


I think that it's saying that "-q" means "query" but "(select-options)" and "(query-options)" is all greek to me! I dont know wether to enter "(.......)" and "select-options" or what!
 
Old 01-14-2006, 11:32 AM   #10
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
You need to read the whole man page to work out exactly how to use it. You might be better off finding a mandriva/rpm based tutorial somewhere though. Have a look at the mandriva website. I think there are some links and info on there.

Anyway, the syntax above is refering to the command rpm. You can use any number of options with it to find out what you have installed and many other things. The above line means you can query an rpm either by typing rpm -q , or by typing rpm --query . --query is just the longhand way of doing it. You can then specify any options you want, such as --all. I'm not actually familiar with the rpm command, but I think something like:

rpm -q --all

would list all the rpm's you have on your system. In other words this line:

rpm {-q|--query} [select-options] [query-options]

is saying. Type rpm, followed by either -q or --query, optionally followed by any 'select-options' you want to use, and any 'query options' you want to use. The options are specified in the man page. It will take quite some time to get used to. There are many other rpm commands for installing packages etc.
 
Old 01-14-2006, 02:29 PM   #11
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Thank You!
I definately need to get into a tutorial on installing software from a terminal. Do you know anything about 'j2re' and getting it installed and recognized by rpmdrake useing Mandriva 2006?

I thought that i had installed java from the terminal, but when i tryed to install Limewire pro again, couldnt do it because of some kind of dependency issue: "j2re>=1.4.1"
 
Old 01-15-2006, 03:25 AM   #12
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
As padma said before the problem is you've installed Java not from an RPM so it doesn't show up in the RPM database. Luckily RPM gives you away of forcing an install even if the dependencies aren't met - see the --nodeps option in man rpm. Eg.
Code:
rpm -Uvh --nodeps /path/to/Limewire.rpm
 
Old 01-15-2006, 03:49 AM   #13
randell6564
Member
 
Registered: Nov 2005
Location: California USA
Distribution: Ubuntu,(Feisty Fawn) Windows XP(Home Edition)
Posts: 634

Original Poster
Rep: Reputation: 31
Thank You!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ man pages Guest1234 Linux - Newbie 2 06-29-2008 09:12 AM
how to access man pages using C++ ? ambitionless Programming 4 09-27-2004 02:25 AM
howto access man and info pages? SciYro Programming 5 07-23-2004 11:21 AM
How do I know where the man pages are? narik Linux - General 1 06-15-2004 01:22 PM
can't see man pages Elbolton Linux - Newbie 5 03-06-2002 11:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 06:56 PM.

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