LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-17-2006, 08:12 PM   #1
fueldistributa
Member
 
Registered: Dec 2005
Location: Ottawa,ON
Distribution: OpenSuSe 10 & Fedora Core 5 & BackTrack
Posts: 46

Rep: Reputation: 15
Installing packages(The Correct way)


Hello

Since I've been running Suse, I've been simply downloading packages in my home folder and gunzipping & tarring them there. Then within the folder created in my home, I would run my ./configure && make && make install.

Is this considered sloppy?
Should I install the packages in another location?
Should I have more options when ./configure, make & make install?

What methods should I practice?


Thanks.
Ciao http://images.linuxquestions.org/que...ilies/read.gif
 
Old 05-17-2006, 08:30 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
For Suse, the most common way of installing packages is to use Yast, the package manager.

I always prefer to stick to packages for my distro rather than compiling from source, as it keeps everything consistent. For example, if you compile foo from source then it won't be seen by your distro's package manager. If you then try installing bar with your package manager, and bar depends on foo, then it won't know that foo is actually installed.

It is not "sloppy" to compile from source, you can get more optimised programs that way, but it is generally easier to use your distros package manager.

I hope this helps
--Ian
 
Old 05-17-2006, 08:43 PM   #3
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 633
Blog Entries: 1

Rep: Reputation: 50
Quote:
From fueldistributa

I would run my ./configure && make && make install.

Is this considered sloppy?
Yes.

Quote:
From fueldistributa

Should I install the packages in another location?
Yes, typically /usr.

Quote:
From fueldistributa

Should I have more options when ./configure, make & make install?

What methods should I practice?
It is best to not use make install at all or to otherwise manually install software on your system, and to use a package manager instead. The reason is that you want to be able to cleanly remove whatever software you installed if you ever need to. In the case of your SuSE, I believe the package manager is Yast (but I'm not sure). In the case of my Mandrake 9.0, the package manager is RPM. If you run across software that simply isn't in the package format that your package manager supports, you want to build that software into a package for your package manager and you want to do that while running as a regular user (i.e. not as root). Then you can use your package manager to install and remove that software at will. Converting unpackaged software into packaged software doesn't look to be all that difficult but I have found documentation concerning the exact specifics on how to do it to be very lacking, so expect to be doing a lot of trial and error but consider the result to be well worth it.
 
Old 05-17-2006, 08:52 PM   #4
fueldistributa
Member
 
Registered: Dec 2005
Location: Ottawa,ON
Distribution: OpenSuSe 10 & Fedora Core 5 & BackTrack
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks for taking the time to reply.
 
  


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
Correct installing procedure, but no 3d Accel with ATI 9600XT Darthdan Fedora 2 02-01-2005 01:44 PM
Help Installing Packages blazted Linux - Newbie 3 11-16-2004 08:21 AM
Installing Packages? BajaNick Linux - General 6 07-24-2003 09:15 PM
Installing packages cipher_arg Linux - General 7 12-24-2002 04:05 AM
Installing packages artman62 Linux - Distributions 0 07-23-2002 01:00 PM

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

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