LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-01-2004, 01:28 PM   #1
BRfromPA
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 4

Rep: Reputation: 0
how do i add packages i missed on the install?


In the effort to branch out i installed Mandrake 9.2 on my spare PC. I'm very lost but will go bravely forward. anyway,

i did a hd install and did not have CD 2 and 3 copied to the hd properly, i think, so i got errors part way through the package loading process. I'm still up and running but i don't know how to get back to that spot to make sure all the packages loaded. I had to uncheck some after i got the error in order to finish the install. How do i get back there?

ALso, can i make the windows partition i copied the install CD's to visible and usable when i've booted to linux?

Thanks in advance !!
 
Old 02-01-2004, 01:56 PM   #2
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
if you are up and running with mandrake then you can install from the command line with the "urpmi" command
in a terminal, as root, type
urpmi program name

eg/ urpmi koffice

you may need to add the cd location with
urpmi.addmedia /path/to/RPMS-folder
(this only applies if you need to install from the hd)

have a look in the Configuration menu and see if Packaging is there, if it is, you can use the graphic software installer, but you'll have to show Mandrake where the "cd's" are (same as with urpmi, but there is a gui for it)
both urpmi and the graphic installer will take care of dependencies for you

the windows partition should already be mounted and visible in the /mnt/windows folder
(if not it's relativley easy to add it)
 
Old 02-01-2004, 03:14 PM   #3
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
I am running SuSE and i use rpm -i to install the rpms

But what if an rpm that i try to install requires another packages also.

What about the dependency then?

Will rpm ask me to put another cd in?
 
Old 02-01-2004, 04:46 PM   #4
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Rep: Reputation: 30
Sorry for highjacking... Is there any advantage to use command line for installing packages?
What's the difference if you use GUI?
 
Old 02-01-2004, 05:26 PM   #5
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
it's best to know the command line method because the gui is not always available

with suse you use yast to install and it will tell you what is missing and ask for the install cd's
(provided that the required packages are on the cd's)
 
Old 02-01-2004, 07:05 PM   #6
BRfromPA
LQ Newbie
 
Registered: Feb 2004
Distribution: Mandrake 9.2
Posts: 4

Original Poster
Rep: Reputation: 0
Wow, this will take some getting use to. OK, got some things added, though i'm not sure they show up when i sign on as a user. I did get packages to work, once i figured out to move things around in "Home", like MS file manager.

When i'm adding programs in root do they automatically show up in a users program list?
 
Old 02-02-2004, 12:55 AM   #7
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
open a terminal
(no need to be root)
type
update-menus -v

keep an eye on the terminal window, when the lines of code stop going past, close the terminal window (the update-menus command does not return to the command prompt)

this will rebuild the menus for you
there is some kind of problem with 9.2, in that it keeps losing the menu content
this command will work any time you install something and can't find it in the menus
 
Old 02-02-2004, 11:29 AM   #8
loucks
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
How would I accomplish this under Redhat? I just installed redhat to test out the Asterisk PBX and now I want to add TTS, but to install Festival I need g++ and didn't check that box in the install. I didn't install any x-windows or gnome stuff as this is going to be a server only.

--Jason
 
Old 02-02-2004, 01:20 PM   #9
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
well
you just install it with the rpm command
cd to the cdrom with g++ on and then type (as root)
rpm -ivh g++.blah.blah.rpm
i think the least you can expect is a list of other rpm's to install (if required)

man rpm will give you a list of all possible options (there are loads)
 
Old 02-02-2004, 01:28 PM   #10
loucks
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
Thanks for your quick response. I got distracted and forgot to put in important informatiion:

I installed with a bare install I found from the net. I went to rpmfind.net and searched for g++, but it didn't turn anything up for RedHat. I was kind of hoping that I could run a command and have it show me the selection box like it did during the install, and then I could just select g++ and have it get it for me automatically. Is that possible?
 
Old 02-02-2004, 03:39 PM   #11
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
apt-get

you'll need to install it first

it's like the redhat version of urpmi
there are many tutorials around on how to set it up and use it
i've had it running on redhat 8.0 and 9.0

once setup it's beutifully easy to use, you just type
apt-get program-name
 
  


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
Add-on packages for Suse??? Supp0rtLinux Linux - Software 1 07-30-2004 09:51 PM
How to add packages futurist Linux - Newbie 3 02-10-2004 08:00 PM
Trying to add packages of the install CD's apoc013 Linux - Newbie 2 01-21-2004 02:29 AM
Struggling Add/Remove Packages gibbylinks Red Hat 8 12-07-2003 03:16 PM
add/remove packages via FTP Gavin Linux - Software 1 03-05-2003 07:40 AM


All times are GMT -5. The time now is 02:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration