LinuxQuestions.org
Visit Jeremy's Blog.
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 04-30-2013, 09:50 PM   #16
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,873
Blog Entries: 18

Rep: Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343Reputation: 3343

I think that trying Gentoo or LFS is overkill.

What OP is talking about is just compiling from sources and resolving dependencies oneself. Compiling from sources is possible on any distro (though I do think Slackware is good recommendation); package managers are tools of convenience.

Here's a good article on how to compile from sources:

http://www.tuxfiles.org/linuxhelp/softinstall.html

Note that package-manager-centric distros may not by default include all the libraries and tools you need for compiling--you may have to use the package managers to download stuff like the compilers in order to compile from sources on some of them.

Last edited by frankbell; 04-30-2013 at 09:56 PM.
 
1 members found this post helpful.
Old 05-01-2013, 05:48 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
The Filesystem Hierarchy Standard (FHS)'s guidance leaves room for judgement when choosing between /usr, /usr/local and /opt. Originally it was common to use /usr/local for anything installed after the OS. Then there was much debate about whether /opt or /usr should be used. /usr now seems more popular than /opt. Few packages now install to /usr/local. A good number of products publish source that still installs in /usr/local by default though.

The target directory hierarchy can normally be set when running configure, by something like ./configure PREFIX=/usr.

One useful technique is to install into a temporary directory so you can see what will be installed before it (perhaps) overwrites existing important files or, more likely, puts files in places you don't like. Another advantage of this technique is that you can easily generate a list of files that will be installed for use when a) checking if any of them already exist and b) when uninstalling.
 
Old 05-08-2013, 12:23 AM   #18
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Another good place to look, in the absence of much documentation on building from source, is a SlackBuild, especially the script. I don't suggest that because I'm a Slacker but because SlackBuild scripts are:
  • Easy to download (search for a package on slackbuilds.org), scroll down to "Individual files" and click on the *.SlackBuild link)
  • Minimal so a) relatively easy to understand and b) address the essentials.
For completeness you might like to find a SlackBuild with a doinst.sh -- run during package installation, typically to install config files without clobbering any existing ones and to update caches.

Incidentally, you may also like to run makewhatis -w to rebuild the man pages database after building and installing from source.

Last edited by catkin; 05-08-2013 at 12:28 AM.
 
Old 05-10-2013, 02:46 AM   #19
floppy_stuttgart
Member
 
Registered: Nov 2010
Location: Stuttgart, Germany
Distribution: Debian like
Posts: 795
Blog Entries: 2

Rep: Reputation: 75
Quote:
Originally Posted by skania View Post
Hey guys, I'm really getting into Linux and want to know how to install software without an pkg or any other packing manager.
Does anyone care to explain how, or can point me some reading on it? (When I googled, I found nothing but package management systems)
personally, my best experience in building up a system step by step, module by module, programm by programm, is using www.tinycorelinux.net
You can load programms/modules from a very small/basic system into a full distro (it takes time).
For embedded, use perhaps "buildroot" ?
Hopefully that answer helps.
 
  


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
package manager works but not software manager. pointblank Linux - Newbie 1 11-15-2012 04:01 AM
Installing my package manager. hepburnenthorpe Linux From Scratch 2 01-17-2007 12:01 PM
Can't get packages marked in software/package manager BorgKing Linux - Software 1 06-18-2002 02:03 AM

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

All times are GMT -5. The time now is 06:56 PM.

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