LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-01-2005, 09:20 PM   #16
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30

Well I'll throw in a second opinion just for fun. I think installing from source might be a good way to start getting comfortable with Linux in the first place. I can't see how it's a bad thing to learn how to use the command line, switches, see what's actually going on, etc. If you get errors and can't figure it out or an rpm is already available, that's fine, but it can't hurt to learn how to install from source. As far as package management tools go, I would recommend checkinstall when installing from source as it provides a way to treat it like a package, uninstall it, etc.
 
Old 07-01-2005, 09:57 PM   #17
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Well, it kind of depends on the attitude of the newbie. I was getting more of a panicked "I can't do this; why is it so difficult?" vibe instead of a "Can you teach me all the ways to install software, so I can truly understand the OS?" vibe. In the end, it's good to know both how to use package managers and install from source. It's all about the options, and so far it seemed the only option presented was tar.
 
Old 07-01-2005, 10:56 PM   #18
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Nylex
Mandrake uses RPM.

For GameGuru just to explain what those commands do:

tar is an archiving program, I guess you can think of it as being like zip in a way. The next four letters are called flags:

x says to extract the files from the archive
v is for verbose, it shows you what it's doing, ie. the files that are being extracted and to where
f is to specify the filename of the archive
and j or z are to specify the type of archive; j being for .tar.bz2 and z being for tar.gz.

The order of the flags doesn't matter, I don't think.
I have no idea why I am no grasping this. Ok this is what I got in the Terminal Program:

[violentj@localhost violentj]$ cd /home
[violentj@localhost home]$ dir
violentj
[violentj@localhost home]$ cd /home/violentj
[violentj@localhost violentj]$ dir
Desktop firefox-1.0.4.installer.tar.gz kopete-0.10.1.tar.bz2 tmp
[violentj@localhost violentj]$ tar zxvf firefoxfirefox-1.0.4.installer.tar.gz
tar: firefoxfirefox-1.0.4.installer.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
[violentj@localhost violentj]$


I copied and pasted the file name into it to no avail. I am sure once I spend a little time with Linux this will seem silly but right now I am so lost.
 
Old 07-01-2005, 11:00 PM   #19
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
How do I type something into Konsole as "root". I am supposed to type this into root:

urpmi.addmedia main ftp://mirrors.usc.edu/pub/linux/dist...586/media/main with media_info/hdlist.cz
urpmi.addmedia contrib ftp://mirrors.usc.edu/pub/linux/dist.../media/contrib with media_info/hdlist.cz
urpmi.addmedia plf-free ftp://ftp.planetmirror.com/pub/plf/mandrake/free/10.1 with hdlist.cz
urpmi.addmedia --update updates ftp://mirrors.usc.edu/pub/linux/dist.../main_updates/ with media_info/hdlist.cz


But this is what I got:

bash: urpmi.addmedia: command not found

I can't even install Urpmi so I can install other software ha ha. Hmm.
 
Old 07-01-2005, 11:08 PM   #20
jrdioko
Member
 
Registered: Oct 2002
Distribution: Debian 6.0.2 (squeeze)
Posts: 944

Rep: Reputation: 30
First, it looks like you're typing "firefoxfirefox..." instead of "firefox...." That would explain why it can't find the file. (Another note, on the side, is that "ls" is the normal command to list files, although "dir" works too). To run a command as root you become root by typing "su" and entering the root password, and typing "exit" to become your user again when you're done. You need to install urpmi first though before those commands will work.

Last edited by jrdioko; 07-01-2005 at 11:09 PM.
 
Old 07-02-2005, 08:24 AM   #21
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks for pointing out the type jrdioko, I have now installed FireFox woo hoo.

Question though, it didn't put an icon on the desktop, "Start" menu or quick launch section. How do I launch the program and how do I make shortcuts. I went into the installed directory and there isn't a Firefox exe launcher.
 
Old 07-02-2005, 08:50 AM   #22
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,
If you're in KDE, try 'KAppFinder' : it will ask if you want to put some
newly-installed apps in your menus.

Hope it helps
cheers
 
Old 07-02-2005, 08:58 AM   #23
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Yeah I am using KDE but I went through all the menus and can't find a KAppFinder, where would I find that program?
 
Old 07-02-2005, 09:15 AM   #24
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
KDE Application Finder KDE is a powerful Open Source graphical desktop environment for Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of the Unix operating system. . kappfinder searches your workstation for many common applications and creates menu entries for them. . This package is part of the official KDE base module.

try 'kappfinder'. If you don't have it, check in RPMDrake, if it's there install it, or d/load it. It's quite useful.
It's really strange you can't use urpmi, according to your posts. It is installed by default when you install..

Perhaps you should re-install the OS. Just a thought.. Mandriva is a bit tricky sometimes...

cheers
 
Old 07-02-2005, 10:26 AM   #25
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by samael26
KDE Application Finder KDE is a powerful Open Source graphical desktop environment for Unix workstations. It combines ease of use, contemporary functionality, and outstanding graphical design with the technological superiority of the Unix operating system. . kappfinder searches your workstation for many common applications and creates menu entries for them. . This package is part of the official KDE base module.

try 'kappfinder'. If you don't have it, check in RPMDrake, if it's there install it, or d/load it. It's quite useful.
It's really strange you can't use urpmi, according to your posts. It is installed by default when you install..

Perhaps you should re-install the OS. Just a thought.. Mandriva is a bit tricky sometimes...

cheers
The Urpmi website is weird, you choose your version of Linux, check what you want to download and when you hit Setup 3 or something (I am at work so I don't know exactly what it said) it tells you to type stuff into Konsole but it never once downloaded anything. Why have me choose my linux and hit the button, choose what to download and hit the button (no downloading happens) and it tells me to enter stuff into Konsole which errors out because nothing was downloaded.
 
Old 07-02-2005, 10:42 AM   #26
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
I just checked every single menu and I don't have Urpmi or KAppFinder is not listed. These should have been installed when I installed Mandrake 10.1 Official DVD?
 
Old 07-02-2005, 10:49 AM   #27
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
GameGuru,

The commands you are trying are not working because to need "to be root" ie execute the commands as the superuser (aka root).

To become root:

Open a terminal
Type
su - (that is a minus sign)

Enter the password that you gave when you installed (you DO remember it I hope).

Now you will see that your prompt has changed from $ to #. You are root. The commands will work. Once you have done what you want, revert to being a normal user before you mess things up in a big way. To exit from being root, type

exit

In the root terminal.
 
Old 07-02-2005, 12:14 PM   #28
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Ok I went into root and typed kappfinder and it brought it up! I then hit SCAN but the only webbrowser it found was something called "epiphany". Now I know I installed Firefox because it actually brought up the Firefox installer and I did the NEXT thing like in windows and when done it autolaunched Firefox. Why isn't kappfinder finding firefox so I can make a shortcut for it.
 
Old 07-02-2005, 12:29 PM   #29
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
You probably installed firefox as a regular user, so it will be somewhere off your home directory, and kappfinder may not be looking for it there.

Now you know how to become root, you should try installing firefox as root, that way it will be put in its proper place in the filesystem, and will appear on ALL you users menus.

The easiest way is, of course, to use urpmi, so go and get that configured from the easy urpmi site (this copy & paste step basically tells urpmi where to go looking for the software you want to install) and then use urpmi:

urpmi firefox
 
Old 07-02-2005, 12:48 PM   #30
GameGuru
Member
 
Registered: Jun 2005
Location: Minnesota
Distribution: Ubuntu v5.04
Posts: 85

Original Poster
Rep: Reputation: 15
Ok I deleted the firefox installer directory, switched to root (su and password), loaded Konsole and went to /home/violentj/firefox-installer directory and typed

urpmi firefox-installer

and it gave me a

no package named firefox-installer

The first time I installed firefox it wasn't in root and I typed ./firefox-installer and it had installed but was wrong because it wasn't root and made no shortcuts.

What should I do now?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't install g++ so I can't compile and install any programs musicmaniac414 Linux - Software 12 02-06-2008 09:31 PM
can't install some programs khh80 Linux - Software 2 08-02-2005 09:43 PM
How do you install programs? Sir Loin Linux - Software 16 03-15-2005 12:31 PM
where to install programs to CrotchCricket Linux - Newbie 2 10-26-2004 06:42 AM
Cannot install programs garbo73 Mandriva 16 09-24-2003 04:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 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