开发者

how to install .tar.bz2 file

I 开发者_如何转开发am new to Linux and using Ubuntu, trying to install firefox-4.0b1.tar.bz2 but don't know how to install that from the command-line. How could I do so?


On macOS, some installers come like xxxxx.bz2 and to install such, you can simply change the extension from .bz2 to .dmg so the installer mentioned should be changed to xxxxx.dmg then you can install it right away.


Do this:

$ bzip2 -dc firefox-4.0b1.tar.bz2 | tar -xvf -

It will probably uncompress you a folder with an installer source code.

If it is an installer, proceed to run it and install firefox.

If it is source code, you will probably will be able to compile and install by doing:

$ ./configure
$ make
$ sudo make install

Otherwise, follow a readme file or instructions you find after uncompress the BZIP2 file.


Do you have a good reason to install from the .tar.bz2 file? Try using your built-in package manager (probably Synaptic) to install Firefox. This will make it easier to keep track of what you have installed, among other benefits.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜