»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-11-2003, 11:56 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2003
Location: California
Posts: 53
hulkMAD is on a distinguished road
Kids Extracting/installing stuff

im gonna get linux sometime and i just wanna make sure i dont screw up too bad. theres a few files that i wanna install onto linux, mainly tar.gz and tar.bz2 files. to extract and install tar.gz files, do u:

(root)
cd /tmp
tar -zxvf [tar.gz file]
./install --prefix=/opt
(user)
cd /opt/[extracted filename]
./setup
[follow instructions]

is this how u install tar.gz files and tar.bz2 files? tar.gz files seem pretty easy to install, but if its the same for the smaller-sized bz2 files, then im definitely downloading only bz2 files. does /tmp exist already and does it auto delete its files? so many ?'s, i just dont wanna start a buncha new threads. oh, and do u hafta install the thingy into /opt?

hulkMAD is offline   Reply With Quote
Old 07-12-2003, 02:15 AM   #2 (permalink)
Registered User
 
lynchmob's Avatar
 
Join Date: Oct 2001
Location: Mid-Atlantic
Posts: 1,361
lynchmob is on a distinguished road
tar -zxvf works or tar.gz or .tgz files
For .bz2 the command is tar -xjvf.The -j option filters the file through bunzip2.
Files are download to your/home directory by default.I create a /home/username/download directory and put them there until I'm ready to unpack them.
Once you get the tar.gz or the tar.bz2 files unpacked look in the directory that was created for instructions,readmes,etc.
The common routine is to cd to the directory and run these commands:
./configure
make
make install
That's the simple way.It really depends on what you are installing.
HTH
lynch
__________________
Seldom right,but never in doubt...
lynchmob is offline   Reply With Quote
Old 07-15-2003, 12:55 PM   #3 (permalink)
Registered User
 
S.D.Willie's Avatar
 
Join Date: Oct 2001
Location: Ranger Country
Posts: 2,308
S.D.Willie is on a distinguished road
as for extracting...

if you want to do it the lazy way(i like it better) fire up konqueror and just right click on the .tar.gz,tar.bz2, etc file and click "extract here"

this will extract it there into its own directory. as Lynch said its usually important to read the README file but those are the usual for installing except for --prefix during ./configure

thats unless you want to go the rpm route which sometimes is good, sometimes not.


Last edited by S.D.Willie; 07-15-2003 at 12:59 PM.
S.D.Willie is offline   Reply With Quote
Old 07-16-2003, 02:33 PM   #4 (permalink)
Registered User
 
storm2k's Avatar
 
Join Date: Oct 2001
Location: NJ
Posts: 3,417
storm2k is on a distinguished road
Send a message via ICQ to storm2k Send a message via AIM to storm2k Send a message via Yahoo to storm2k
i, by the way, have become a fan of checkinstall, which will create and install a rpm or deb file for your software, which will let you remove or change them with rpm or deb. it's a neat lil tool.
storm2k is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 05:05 AM.