Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-15-2006, 07:29 PM
|
#1
|
Member
Registered: Sep 2006
Location: Tucson, Az.
Distribution: hardy heron
Posts: 111
Rep:
|
tar
how does one install a file that has the extension of tar.bz2?
|
|
|
12-15-2006, 07:39 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
The tar.bz2 just means that the file is an archive. Probably of a directory. Without further information on what you are trying to install, I can't provide exact info, just possibilities.
If this is a source tarball, then most likely:
A) download the tarball to a place where you have full permissions, such as a ~/downloads/ directory.
B) extract the directory and files: tar xvjf filename-version.tar.gz
C) cd into the extracted directory: cd filename-version/
D) read the README and INSTALL files. The info may alter the rest of these instructions.
E) prepare the Makefile: ./configure
F) compile the project: make
G) sudo make install
Instead, you might find a README file and a <filename>.bin file. If so, you will probably need to run the <filename>.bin file to install the program.
A) make the file executable:
chmod +x <filename>.bin
B) run the install program: ./<filename>.bin
A few smaller projects will supply the source and a Makefile. A smaller project, or one perhaps a console based program written in the windows world may not use the autoconf system. In this case use skip the "./configure" part and run "make"; su to root; and run "make install". Still others may have some kind of "install.sh" or similar shell script that will carry out the installation for you.
sudo ./install.sh
Last edited by jschiwal; 12-17-2006 at 12:27 AM.
|
|
|
12-16-2006, 12:25 AM
|
#3
|
Member
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Rep:
|
replace su with sudo for ubuntu
|
|
|
12-17-2006, 12:27 AM
|
#4
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Thank you "binary y2k2" for that clarification. I edited my earlier post.
|
|
|
12-17-2006, 02:32 AM
|
#5
|
Member
Registered: Jul 2005
Location: England, UK
Distribution: Ubuntu 8.04 Server, Kubuntu 12.04
Posts: 698
Rep:
|
By default su will go and ask for a password and just fail every time, because the root account is disabled. Took me a while to get used to typing those extra 2 characters "do"
|
|
|
All times are GMT -5. The time now is 08:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|