Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 26th, 2003, 04:15 AM
appu appu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 10 appu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking How to add packages after installation.

Hi

First of all, I am a newbie linux user, but experienced in Novell NW, Win NT/2000 with a strong knowledge in TCP/IP.

I installed RH Linux 7.2 on my PC without the bells and whisles.

Now I want to add those bells. For examples, I now want to add Gnome and KDE which I skipped during installation. How to add them now?

Appu

Reply With Quote
  #2  
Old June 26th, 2003, 06:39 PM
alexgreg's Avatar
alexgreg alexgreg is offline
Full Access
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jun 2000
Location: London, UK
Posts: 2,019 alexgreg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 sec
Reputation Power: 11
Quote:
I am a newbie linux user, but experienced in Novell NW, Win NT/2000 with a strong knowledge in TCP/IP.

That won't help you install packages under Linux.

Quote:
How to add them now?

Install them from the CD. Find the name of the package you want to install, and install it with:
Code:
rpm -ivh package_name.rpm

It may depend upon other packages - RPM will tell you if this is the case. You will then need to install those packages so that the first package you were trying to install works.
__________________
Alex
(http://www.alex-greg.com)

Reply With Quote
  #3  
Old June 26th, 2003, 07:12 PM
appu appu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 10 appu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Talking

Thanks a lot.

I am a newbie linux user, but experienced in Novell NW, Win NT/2000 with a strong knowledge in TCP/IP.

I added this to highlight that I am not a baby in IT. In fact otherwise, people would advice on how to use 'everything'. (I did not post it to boast)

Thank you once more.

Reply With Quote
  #4  
Old June 26th, 2003, 07:22 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 9 m 17 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
Note,

some programmes are supplied as .src.rpm files (source rpms). in this case, rpm -ivh won't work, because they don't contain binaries - rather they contain the application sources.

To install these, use rpm --rebuild packagename

this will run the configuration and compile the source into binary packages (a bit like when building from source).


christo

Reply With Quote
  #5  
Old June 26th, 2003, 08:15 PM
appu appu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 10 appu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Question

Hi Guys,

I tried to install the gome-core-someversion.rpm from the redhat 7.2 CD.

rpm -ivh gave an error message saying some dependency on other rpm packages. I tried to install the first rpm as in the dependency message.

That shows some other depency. Then again..

Seems, there is a chain of dependency. Anyway to overcome this? ot any other alternative method?


Appu

Reply With Quote
  #6  
Old June 26th, 2003, 08:36 PM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 9 m 17 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
the only way to overcome is to read each dependency, then hunt down the required package and install it. You will sometimes find that installing one of the required packages will satisfy a handful of the listed dependencies in one shot - just depending on what libraries are included, so try to be intelligent when you decide what order to install them in . You could save your self lots of time hunting rpms

good places to start looking are:

rpmfind.net and
freshrpms.net

once you have exhausted those resources, if you are still unable to find a particular package, ftp'ing to the project's public ftp will usually bear fruit.


christo

Reply With Quote
  #7  
Old June 26th, 2003, 09:34 PM
Ctb's Avatar
Ctb Ctb is offline
An Ominous Coward
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2002
Posts: 4,425 Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level)Ctb User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 10 h
Reputation Power: 0
You shouldn't need to hunt down any of the dependancies online yet. Everything you need to install Gnome and KDE are on the RH CDs (after all, it can install them just fine without search the net, can't it?)

Save yourself some hassle and do a 'man rpm'. rpm has lots of options that you can use to save you some time.

Reply With Quote
  #8  
Old June 27th, 2003, 02:21 AM
StealthElephant's Avatar
StealthElephant StealthElephant is offline
Shes dancing (obviously)
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2002
Location: the far side
Posts: 526 StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level)StealthElephant User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 14 m 22 sec
Reputation Power: 8
u could also download the source files and do a ./configure, make and make install. i find that better as it allows u to customise the application more for the machine u are on. rpm's are normally preconfigured
__________________

microsofts butterfly is their way off telling u their systems have a **** load of buggs
Advocating Linux Guide
Lesbian Linux
Great & Practical Computer Books

like the links?

Reply With Quote
  #9  
Old June 27th, 2003, 04:02 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,555 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 7 h 49 m 53 sec
Reputation Power: 630
RPM dependency hell

Quote:
Seems, there is a chain of dependency. Anyway to overcome this? ot any other alternative method?


You could switch to Debian

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

Ask a better question, get a better answer.

Reply With Quote
  #10  
Old June 27th, 2003, 04:07 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,297 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 9 m 17 sec
Reputation Power: 104
Send a message via ICQ to christo Send a message via Yahoo to christo
I knew there would be someome


christo

Reply With Quote
  #11  
Old June 28th, 2003, 02:15 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,555 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 7 h 49 m 53 sec
Reputation Power: 630
Well, he did ask!

Quote:
I knew there would be someome


My short flirtation with that PITA known as RPM dependency Hell ended with an introduction to APT and Debian. I would never go back.

I know the folks using RH and the other RPM based distros must really resent us smug-a__ed Debian users for our trouble free installs and upgrades

cheers,

gary

Reply With Quote
  #12  
Old June 29th, 2003, 08:16 PM
appu appu is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 10 appu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>>You could switch to Debian

Is it tess troublesome?

I do not mind the initial learning curve . I would be better if I know what I am doing, and if I know what is under the hood.

Reply With Quote
  #13  
Old June 30th, 2003, 12:37 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,555 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 7 h 49 m 53 sec
Reputation Power: 630
Debian has several advantages.

First, there is apt, the Debian package management system. All upgrades and security patches can be done with two commands, "apt-get update" which compares your apps to the latest version in your dist (stable/Woody, testing/Sarge, or unstable/Sid). Then run "apt-get upgrade" and you are automatically upgraded online. If configuration changes are needed (seldom) you will be prompted. For a major upgrade, run "apt-get dist-upgrade" What could be easier? Want to install a new program? Just do "apt-cache search" to get the name right, then "apt-get install <app>". Removal is just as easy.

Second, Debian tries, and is the best at complying with the Filesystem Hierarchy Standard. So you always know where your files belong.

Third is the system of multi-distributions, stable/testing/unstable (and you don't even want to know about experimental ) Stable is just that, rock solid and perfect for servers that should not break. The apps are not cutting edge. Security updates are timely and transparent. Testing is more "modern," with newer versions of most apps and is thus prone to break occassionally, but the fix comes quickly, and upgrades are daily. Unstable is for folks that like living on the edge, the bleeding edge. This breaks often, and users should be able to help fix things.

Fourth, is support. Join the Debian mail-list, and you will have support at least as good as the best call center. It is not unusual for the program maintainer or author to jump in and help fix your problem. And, the list is crawling with working SA's. Normal activity is about 200 posts per day.

Disadvantages? Well, we're outnumbered by the RHers. With your Novell background, the cli shouldn't frighten you (Debian install is not gui, it is curses).

Go for it. I think you'll be one of the laughing, smart-a--ed Debian users real quickly.

One more thing, go to the Debian site for the real low-down.

cheers,

gary

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > How to add packages after installation.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Linear Mode Linear Mode