LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-12-2005, 02:31 PM   #1
DennisSullivan
LQ Newbie
 
Registered: Oct 2005
Location: Phoenix Arizona
Distribution: SuSe 10.0
Posts: 3

Rep: Reputation: 0
What are the best methods to install software packages?


I have SuSe 10.0 and, so far, have used only YaST to install software packages. I am hesitant to try other methods lest they cause problems with my desktop.

Am I likely to run into problems if I try to install from an RPM?

Am I likely to run into problems if I build the package and install it from the shell?
 
Old 10-12-2005, 02:56 PM   #2
pippo
Member
 
Registered: Aug 2005
Distribution: Gentoo
Posts: 38

Rep: Reputation: 15
rpms are quite easy to use.

you juste need to download the rpm and you can install it by typing (as root)

rpm -i package.rpm

the only problem are the dependancies.

It is possible that, if you attempt to install package 1, it will reply that it needs before packages 2, 3, 4 ... So you install package 2, and it ass you for packages 5 and 6... Sometimes this can ast, but usualy it's not a big deal.

Of course there are othr more convenient systems. For example, apt-get (Debian), or emerge (Gentoo) automatically download and installa all the dependancies in a single step.
 
Old 10-12-2005, 03:00 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
It all depends on how well configured the RPM/sourceball is, and how well you install it.

Per Filesystem Hierachy Standard, the user (i.e. root) has *full* control over /usr/local (and some other //local subtrees). So if you install your programs there, you should be on the safe side.

What I've found to also work, given that I'm running a single-user (i.e. one human) system is to grab the source into some fitting folder in my home directory, install the dependencies w. $PACKAGE_MANEGER (I use apt-get), build it in ~//, and just leave it there. It that case, it can't fudge up the system since it's only doing non-root stuff.

If you're really paranoid, you could add a user specifically for `home-built' programs.

I think your skepticism, even though it may be unjustified, is healthy. I hope this helps.

--Jonas
 
Old 10-12-2005, 06:40 PM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 51
Quote:
Of course there are othr more convenient systems. For example, apt-get (Debian), or emerge (Gentoo) automatically download and installa all the dependancies in a single step.
YAST is just a package management system for RPMs that resolves dependencies, the same as apt-get for Debian's DEB packages and emerge for Gentoo's ebuild packages - they're the same thing.

Generally you should stick with packages gotten through YAST. If you can't find something through YAST then you may need to either search internet for an RPM (which will be for another distro) or compile the program from source. Keep in mind that getting RPMs packaged for other distros like this is virtually guaranteed to cause dependency errors and the program may not work properly when you get it installed. Also, only do this for user applications - don't go replacing system components (kernel, glibc, gcc, X.org, KDE, GNOME etc.) with RPMs from other distros.
 
  


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
Background information on install methods Maarten_Holland Linux - Newbie 3 02-26-2005 04:34 AM
methods of install in terminal??? DMZeplin Mandriva 2 02-19-2005 09:14 PM
Other install methods? Icon Mandriva 7 11-01-2003 04:14 AM
Forgot to install some software packages miamimods Linux - Newbie 5 07-24-2003 03:54 PM
FreeBSD...Programs Install methods... Obscure *BSD 12 06-03-2003 02:35 AM


All times are GMT -5. The time now is 11:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration