LinuxQuestions.org
Register a domain and help support LQ
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 06-14-2004, 10:22 AM   #1
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 242

Rep: Reputation: 30
How to install programs in Linux ?


I've downloaded some programs in www.tucows.com , but I don't know how to install them.


I was asked to compile a program, how to do it ?
 
Old 06-14-2004, 10:44 AM   #2
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
Tell us a little about your system.

Depending on your distro there are default package managers.

RedHat, YellowDog, and Fedora and some others use RPM.
in this case you would run
Code:
rpm -ivh filename.rpm
i=install v=verbose h=use hashes

Slackware uses PkgTool with .tgz files.
in this case you would run
Code:
installpkg filename.tgz
If you just want to compile from source you will want to first untar the file into a directory. Change to that directory and run:
Code:
./configure
make
make install
Now I personally keep all those directories so that you can
Code:
make uninstall
if you need to uninstall it ever.

Hope this 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
how do you ppl install programs in linux? medya Linux - Newbie 14 11-07-2005 05:54 PM
How u install programs on linux help plz!!!!!!! ddlinux Linux - Software 11 02-27-2005 11:48 PM
i am very new to linux (programs install problem) mekoo Mandriva 10 11-03-2004 06:08 PM
How do you install programs on linux? andymac Linux - Newbie 3 04-11-2004 09:23 PM
How do you install programs in Linux? bxb32001 Linux - Software 2 06-06-2001 12:30 PM


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