Computing.Net > Forums > Linux > Upgrading application using source

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Upgrading application using source

Reply to Message Icon

Name: chris30
Date: August 22, 2004 at 14:25:21 Pacific
OS: NA
CPU/Ram: NA
Comment:

How do you upgrade the source of a program in Linux? For example, I have installed the source for IPtables on my linux system, but now I want to upgrade to the latest version, what are the way to do this? I know that with distro's like RedHat you can just install the RPM, however, I would like to be able to upgrade by using the source.




Sponsored Link
Ads by Google

Response Number 1
Name: Birdman
Date: August 23, 2004 at 07:16:04 Pacific
Reply:

Usually you have to do the following:

1. Download the newest source code to some directory on your computer
2. Using the command prompt, cd into the directory where you put the source code
3. run "make" (or maybe "make all")
4. run "make install"

and voila! Nice and easy...

Note that this is USUALLY the way its done. Always read the "README" file in the main directory where you put the source before compiling, just in case they have any special instructions.


0

Response Number 2
Name: Dlonra
Date: August 23, 2004 at 18:10:15 Pacific
Reply:

actually, preceding make, you typically:

ls - see whats there
less README
and/or
less INSTALL

followed by:

./Configure
or
./configure


0

Response Number 3
Name: 3Dave
Date: August 25, 2004 at 02:08:11 Pacific
Reply:

You can create your own packages with programs like checkinstall. Then your RPM, TGZ, DEB etc package tool (pkgtool, kpackage etc) can install it for you making it easy to keep track of.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Upgrading application using source

RAID problem after kernel upgrade www.computing.net/answers/linux/raid-problem-after-kernel-upgrade/4195.html

SDL problem when running Tuxracer www.computing.net/answers/linux/sdl-problem-when-running-tuxracer/15360.html

floating point computation www.computing.net/answers/linux/floating-point-computation/19226.html