LinuxQuestions.org
Help answer threads with 0 replies.
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 09-04-2011, 08:23 PM   #1
sungchoiok
Member
 
Registered: Oct 2010
Posts: 30

Rep: Reputation: 1
Do Linux experts have as much trouble installing softwares?


When I try to install a software, none of them seems to install on the first try... at first ./configure, it gives off a whole bunch of error messages, then I scourge the internet to fix them, then after fixing them, the make files don't work... I get a different version of the software... then make it again, it doesn't work... then I search the forums... it says that something somewhere need to be patched... patch it... doesn't work... search the forums again... then suddenly, on a random try after a prayer to god, it works.

is this just how installing stuff on Linux is? Am I doing something wrong, or do experts go through such processes to install programs as well? I'm quite frustrated right now.

By the way, I'm using the latest Slackware.
 
Old 09-04-2011, 08:29 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Most people do NOT build SW from scratch; we use the repositories setup by the distributor. If you have a GUI, it'll be a menu item in there, otherwise you'll need to know the name of the 'package mgr' for your distribution and enter the relevant cmd as root user.

Just for clarity, can you tell use exactly which version of Slackware?
Try these cmds
Code:
uname -a

cat /etc/*release*

cat /etc/*version*

lsb_release
 
Old 09-04-2011, 08:43 PM   #3
fpmurphy
Member
 
Registered: Jan 2009
Location: /dev/ph
Distribution: Fedora, Ubuntu, Redhat, Centos
Posts: 297

Rep: Reputation: 62
If you are building software from source, what you describe often happens to casual users. However if you are building from sources on a regular basis, you quickly learn what are the gotchas. Believe me, they are plenty of them! Generally the older the sources, the more likely you are to run into problems.
 
Old 09-04-2011, 11:07 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,346
Blog Entries: 12

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
This is what some persons call "dependency hell."

Slackware does not resolve dependencies; it leaves that to users. It's part of the Slackware way.

You may want to try using Slackbuilds. It is probably the closest thing to an unofficial repository in Slack world.

One way to avoid many dependency issues with Slackware is to install Gnome, even if you plan never to use the Gnome desktop. That way the GTK dependencies will already be on your hard drive; with today's hard drives, space is not an issue. I prefer the Gnome Slackbuild for this purpose.
 
Old 09-04-2011, 11:23 PM   #5
LBM
Member
 
Registered: Aug 2010
Location: Denmark
Distribution: Debian
Posts: 88

Rep: Reputation: 0
I am not familiar with slackware, but other distroes (in example debian, centos) have online sources or even on DVD/CD for installing packages which are already built for you, and will install required dependencies.

Building from source is a "waste" in my opinion unless you require something specific.
 
Old 09-04-2011, 11:30 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,383

Rep: Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199Reputation: 2199
You might be better off with a distro that has a good package or software management app. It takes care of most of what a normal user would need.

Experts may have some issues by they generally know how to look for a fix.
 
Old 09-05-2011, 03:58 AM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
First of all, try looking at these sites for anything you want:
http://slackbuilds.org/

http://connie.slackware.com/~alien/slackbuilds/

http://rlworkman.net/pkgs/

For easier processing of slackbuild.org's SlackBuilds, get sbopkg:
http://www.sbopkg.org/

And if you really need to build from source, get src2pkg:
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/
 
Old 09-05-2011, 08:39 AM   #8
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
It's not a good idea to manually install software, since it won't be tracked by the package manager. This means that you won't easily be able to uninstall it, and will likely get into dependency hell since the package manager doesn't know about you program, what it depends on, and what depends on it.

Anyway, if you know how to program and how the build process works, it's possible to fix most of those errors yourself.

Last edited by MTK358; 09-05-2011 at 08:41 AM.
 
Old 09-05-2011, 11:26 AM   #9
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 838

Rep: Reputation: 51
Yes but they never let on.

A Vital Linux subject for intermediate users is something Called (AutoTools). Google search here.http://www.google.com/search?q=Linux+Autotools+&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-USfficial&client=firefox-a Make is both an application and has it's file referred to as "make" so you have to figure out the context from syntax which they are talking about.

I don't believe that building from source is the primary rout but is mostly a learning tool or If you are not aware of a big Repsitories like Fedora ,Debian ,Mandriva etcetera, have. To a large degree a Package Manager and a Repository is the Distro.
 
Old 10-07-2011, 11:32 PM   #10
Juako
Member
 
Registered: Mar 2010
Posts: 202

Rep: Reputation: 84
I don't think there's a need these days to start learning Linux with a distro such a Slackware (which I love btw). You can aim for a more pleasant experience with a distro that manages the dependencies for you, and provides you with quite up-to-date binary packages like all the majors do. Then you can use Slack in a partition/VM and fiddle around for a more barebones experience. But I don't agree that it is mandatory to approach Linux from the low level if that's not comfortable, more than anything it would get in your way.
 
Old 10-08-2011, 12:18 AM   #11
sungchoiok
Member
 
Registered: Oct 2010
Posts: 30

Original Poster
Rep: Reputation: 1
Since the time of my first post (which was several months, I gather), I have familiarized myself more with the practice, and have improved significantly, mostly with help from your suggestions.


Thank you for all the generosity
 
  


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
installing softwares in linux.... sanddune008 Linux - Newbie 7 03-28-2010 05:43 PM
Trouble installing softwares on RHEL4 gaur.ankit2007@gmail.com Linux - Newbie 6 02-06-2009 12:11 AM
Linux Experts - Error Installing tar file peryan77 Linux - Newbie 10 03-28-2005 06:34 PM
installing softwares in linux linuxfan Programming 2 07-09-2003 03:34 AM


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