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-2003, 03:40 AM   #1
stagnant7
LQ Newbie
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
how do i actually install stuff in linux??


Hi,

um well this will be a piece of piss question to answer, so hopefully someone will answer it heh

Um yeah how do u install things in linux? like this compiling thing i hear about..and rpm what the?.....
if u reply to this questoin could you please be fairly specific as to what is needed to be done as i have limited/no linux experience.

if i download a program from the web .....it is a folder filled with numerous files....how do u compile them is ther just one file to compile and it uses teh rest.....can u then delete the downloaded files etc etc....this is the sort of info i would appreciate ....

cheers!
 
Old 09-04-2003, 04:14 AM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
well, there are a number of different ways to install something in linux. some of it depends on what distro you're using. Red Hat has an installation package they use, whose files end in .rpm - these can be installed using just rpm -i <packagename.rpm> (this tool is available with most distros, not just red hat)

on the other hand, you can also download source packages and compile them and install them yourself. these are generally labelled .tar.gz or .tar.bz2 they have been zipped (.gz) and archived (.tar) and must be uncompressed before anything else. this is done with

tar -xzvf <packagename.tar.gz> or tar -xjvf <packagename.tar.bz2>

then cd <packagename> and less INSTALL will let you read the installation instructions, which should include any specific instructions for this software package. once you're comfortable with this, the following three commands should install any source package:

./configure
make
make install

this is a brief overview of the topic. here's a link with more information: http://www.linuxgazette.com/issue49/lamb.html

then just go out and try it! it's a lot easier than it sounds.
 
Old 09-04-2003, 04:15 AM   #3
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
ps. don't forget to read the man pages!

(man tar) etc
 
Old 09-05-2003, 03:32 PM   #4
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
if you are running redhat, knoppix, debian (or some debian derivative) you might like the convenience of apt. you can get some information here:

http://www.linuxquestions.org/questi...l+apt+synaptic


and get apt from http://www.freshrpms.net though i think the site is temporarily closed to protest software patents...

there is a nice point and click gui front end called synaptic that handles dependencies, upgrades, uninstall, etc...quite a nice little program if you use rpms.

when you have installed apt using the instructions in the earlier post do:
Code:
su -
(enter root password)

apt-get update
apt-get dist-upgrade
apt-get install synaptic
exit
now by typing synaptic at the shell prompt you will start the gui.



cheers

NOTE: the apt-get update and apt-get dist-upgrade are not necessarily required to install synaptic (i don't think), but will probably fix most problems that you may encounter.
 
  


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 get rid of stuff marked for install after install? lugoteehalt Debian 6 10-12-2005 11:33 AM
Install my basic Linux stuff--Linspire 4 lectraplayer Linux - Software 13 07-10-2005 09:46 PM
how to install stuff noir911 Slackware 5 09-27-2004 01:05 PM
how to install stuff on linux? (very short question) ditch* Linux - Newbie 8 09-22-2004 02:18 PM
how do I install stuff?!? lostchild Mandriva 7 01-17-2004 02:17 PM


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