How do I install programs

CrazyLazy

Platinum Member
Jun 21, 2008
2,124
1
0
Okay I download a compressed program, unpack it. The issue is then, how do I install it? The readme tells me to run various make commands, all of which return errors. Google has been unable to help me.
 

Warthog912

Golden Member
Jun 17, 2001
1,653
0
76
What distro are you using? Generally speaking, most distros have considerably easier ways to install apps than from source. Tell us what distro (Ubuntu/SUSE/CentOS) and we can help with an easier way.
 

Colt45

Lifer
Apr 18, 2001
19,720
1
0
install gcc, make, binutils, etc, so that you can compile it.

or, look for a package instead of source, if available...
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
1) Tell us which distribution you are using.
2) Show us the errors.
3) Tell us what the output is of the following commands:
which make
make -v
which gcc
gcc -v
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I believe Ubuntu, like Debian, has a build-essential package that will get you most of the things you need to compile things. But you should only be building from source as your last option.
 

tatteredpotato

Diamond Member
Jul 23, 2006
3,934
0
76
Originally posted by: Nothinman
I believe Ubuntu, like Debian, has a build-essential package that will get you most of the things you need to compile things. But you should only be building from source as your last option.

It does, if on Ubutntu:

sudo apt-get install build-essential
 

Net

Golden Member
Aug 30, 2003
1,592
2
81
if its source i usually do:

./configure
make
make install (as root )

you'll have to see if its source, a binary or an rpm, etc...
 

Fallen Kell

Diamond Member
Oct 9, 1999
6,154
504
126
As others have already said, anything that requires you to run "configure", "make", "make install" is compiling the application from the source code. While this is actually useful to many people (like me), for normal users, it is best to look for something already compiled. Depending on your distribution, you should look for a .rpm, .deb, or .yum file for the application. Or search different software repositories "yum" or "apt-get" (or for the non-command line people, "yum-ex", or "synaptic").

If you can not find an appropriate binary package of the software, well, you will need to make sure you installed all the stuff you need to compile software when you installed your linux distribution. This stuff is not always default installed, and is usually an option labelled something like "Developer Packages", "Developer Tools", or "Software Tools". At a minimum you need a recent version of "gcc" (not simply just gcc core, but g++, and gfortran are also sometimes required), "gnu make", "gnu binutils", glibc, libgtk, libgdk, zlib, liberty, fontconfig, freetype, freetype2, libgd, libpng, libjpeg, libtiff... Those will cover just about all things that you would need for compiling code.
 

Red Squirrel

No Lifer
May 24, 2003
69,733
13,351
126
www.betteroff.ca
If you can't get a rpm and it's not in the yum or apt respository, then you have to do the ./configure route, which is hit or miss. Pray before you perform any type of install commands. If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

Standard programs like apache and stuff will most likely always have a premade package on the yum/apt repositories though, and those work 99% of the time.
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
Originally posted by: RedSquirrel
If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

We RTFM. ;-)
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: degibson
Originally posted by: RedSquirrel
If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

We RTFM. ;-)

By definition, wouldn't an atheist believe life doesn't come with a FM?
 

degibson

Golden Member
Mar 21, 2008
1,389
0
0
Originally posted by: Brazen
Originally posted by: degibson
Originally posted by: RedSquirrel
If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

We RTFM. ;-)

By definition, wouldn't an atheist believe life doesn't come with a FM?

I meant the FM for whatever we're ./configure'ing
 

Red Squirrel

No Lifer
May 24, 2003
69,733
13,351
126
www.betteroff.ca
Originally posted by: degibson
Originally posted by: RedSquirrel
If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

We RTFM. ;-)

That only works if nothing goes wrong. The FM won't explain why you get some weird unexplained error that ends with 0xff93949f Google will help you find a thread you posted on a forum about the error. (that happens to me all the time) haha.


But yeah most of the time you'll be able to find a rpm and those are usually smooth to install unless there's dependencies. I've seen situations where a single rpm will require about 20 dependencies then those 20 require 20 more etc... then you end up where dependency A requires B but B requires A. Then you're screwed. That's rare though, but I've seen it.
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Originally posted by: RedSquirrel
Originally posted by: degibson
Originally posted by: RedSquirrel
If you're atheist, do whatever atheists do when they need "outside" help with a problem in life. (Ouija board?)

We RTFM. ;-)

That only works if nothing goes wrong. The FM won't explain why you get some weird unexplained error that ends with 0xff93949f Google will help you find a thread you posted on a forum about the error. (that happens to me all the time) haha.


But yeah most of the time you'll be able to find a rpm and those are usually smooth to install unless there's dependencies. I've seen situations where a single rpm will require about 20 dependencies then those 20 require 20 more etc... then you end up where dependency A requires B but B requires A. Then you're screwed. That's rare though, but I've seen it.

I don't know what you're trying to compile but it's never ever been that hard for me.. ever. RTFM is exactly right, they usually tell you exactly what dependencies and versions you need. Any modern distro will be able to install whatever those are you need fairly easily, and if not rinse and repeat.

It might be tedious but it's most certainly not always difficult, especially if you're working with something that's been maintained recently.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
But yeah most of the time you'll be able to find a rpm and those are usually smooth to install unless there's dependencies. I've seen situations where a single rpm will require about 20 dependencies then those 20 require 20 more etc... then you end up where dependency A requires B but B requires A. Then you're screwed. That's rare though, but I've seen it.

That's what things like apt and yum were designed to handle, installing packages by hand should be avoided as much as possible. And rpm and dpkg are both smart enough to figure out and handle the situation where 2 packages depend on eachother.
 

Red Squirrel

No Lifer
May 24, 2003
69,733
13,351
126
www.betteroff.ca
Originally posted by: Nothinman
But yeah most of the time you'll be able to find a rpm and those are usually smooth to install unless there's dependencies. I've seen situations where a single rpm will require about 20 dependencies then those 20 require 20 more etc... then you end up where dependency A requires B but B requires A. Then you're screwed. That's rare though, but I've seen it.

That's what things like apt and yum were designed to handle, installing packages by hand should be avoided as much as possible. And rpm and dpkg are both smart enough to figure out and handle the situation where 2 packages depend on eachother.

Yeah, I'm just saying, if the apt/yum repository does not have a program and you have to do it by hand. That's where it gets tedious.

Ex: VMware, or any "non standard" app. Try installing VMware 1.0 on a modern enough distro, and well, good luck. It's doable, but it's not easy.

Stuff like apache, php, and lot of other standard server and client apps are as easy as "yum install [programname]".
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Originally posted by: RedSquirrel
Originally posted by: Nothinman
But yeah most of the time you'll be able to find a rpm and those are usually smooth to install unless there's dependencies. I've seen situations where a single rpm will require about 20 dependencies then those 20 require 20 more etc... then you end up where dependency A requires B but B requires A. Then you're screwed. That's rare though, but I've seen it.

That's what things like apt and yum were designed to handle, installing packages by hand should be avoided as much as possible. And rpm and dpkg are both smart enough to figure out and handle the situation where 2 packages depend on eachother.

Yeah, I'm just saying, if the apt/yum repository does not have a program and you have to do it by hand. That's where it gets tedious.

Ex: VMware, or any "non standard" app. Try installing VMware 1.0 on a modern enough distro, and well, good luck. It's doable, but it's not easy.

Stuff like apache, php, and lot of other standard server and client apps are as easy as "yum install [programname]".

I've installed VMware server on probably 25 different servers over the past year, it's not that hard. All you need is the same build environment your kernel was built in and the perl runtime.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Ex: VMware, or any "non standard" app. Try installing VMware 1.0 on a modern enough distro, and well, good luck. It's doable, but it's not easy.

VMware isn't standard by any means but it's not difficult, as long as you have a build environment and the right kernel-headers package installed you're fine.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |