VectorLinux
November 27, 2014, 04:57:19 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: install  (Read 1127 times)
ramesh
Member
*
Posts: 67


« on: July 12, 2007, 07:47:25 am »

Hi all,

How to install a .tar.bz2 file in VL 5.8

Not a techie and so not that much conversant with the command line  Thanks in advance
Logged
M0E-lnx
Administrator
Vectorian
*****
Posts: 3192



« Reply #1 on: July 12, 2007, 08:09:36 am »

Ramesh,
.tar.bz2 files are usually source code.
These need to be processed before you can install them to the system.

You can only install software packages. in VL these are .tlz and .tgz files.

you can use vpackager to create a .tlz using the .tar.bz2 source file that you have obtained in most cases
Code:
slapt-get --install vpackager

then just execute vpackager as root.

after that you will end up with a .tlz or .tgz that you can install to vl using
Code:
installpkg <file-name.ext>
Logged

lagagnon
Global Moderator
Vectorian
*****
Posts: 1922



WWW
« Reply #2 on: July 12, 2007, 08:15:02 am »

A tar.bz2 file is a compressed library of files. It is often non-compiled source code. If it is an application that means you need to compile the source code and then install the source code. That is quite high end computing which, under a MS Windows system would take you probably over 50 complicated mouse and keyboard operations in a overly-complicated GUI compiler environment, assuming you have purchased a >$100 MS compiler to do the job.

In Linux it is MUCH easier, but will have to use the command line to make it easy on yourself. Here are the steps

1) open a terminal
2) navigate to the directory where you put the .tar.bz2 file using the "cd" command
3) tar xzjf nameoffile.tar.bz2
4) navigate to the directory created by the previous command (usually "cd nameoffile")
5) ./configure
6) make
7) su (then enter root password)
Cool make install

Done!


EDIT: from your previous postings you wanted to install OpenOffice. If the .tar.bz2 file you are talking is an openoffice one (you should have told us that in your initial question) then do only steps 1-4 above and then if there is a .sh file in that directory just run ./nameoffile.sh and it will install the product.
« Last Edit: July 12, 2007, 11:28:05 am by lagagnon » Logged

"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!