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 |
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.
|
|
07-08-2017, 05:39 AM
|
#1
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Rep:
|
offline packages installation
hello everyone, how do i install tar.bz2 and tar.xz files in linux mint 18.2 cinnamon. been at it since morning with no luck now my back aches and my mood's not good
thank you for your help
|
|
|
07-08-2017, 05:50 AM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
Welcome to LQ.
Quote:
how do i install tar.bz2 and tar.xz files
|
Depends of the application / the library you want to build.
1) Linux Mint has ~40,000 packages in the Package Manager / Synaptic.
.... Please use one of those (if available).
Off-line : Download the Mint packages/dependencies on another computer.
Or buy an Ubuntu 16.04 DVD set : Example → →
https://www.osdisc.com/products/linu...ory-64bit.html
2) Read the documentation for the item you want.
... Building software : There are about 15 different ways to start the build
http://www.linuxquestions.org/questi...-4175556531/#4
-
Last edited by knudfl; 07-08-2017 at 05:58 AM.
|
|
1 members found this post helpful.
|
07-08-2017, 08:36 AM
|
#3
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Original Poster
Rep:
|
I want to install offline
|
|
|
07-08-2017, 09:02 AM
|
#4
|
Senior Member
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
|
Quote:
Originally Posted by below average linux user
I want to install offline
|
Ok you can't just install. tar.bz2 files. They are source code. To build and install them, extract the archive to a folder. Than cd to that folder, run ./configure than run ./make than run ./make install and that should do it. Most source code have Readme files that tell you how to compile.
Alright that said. I would recommend using rpm or deb files to install offline.
|
|
|
07-08-2017, 09:25 AM
|
#5
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Welcome to LQ, balu.
Please tell us which package(s) you are talking about and where you got it/them from (including URL(s)).
|
|
|
07-08-2017, 09:33 AM
|
#6
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188
|
Quote:
Originally Posted by below average linux user
hello everyone, how do i install tar.bz2 and tar.xz files in linux mint 18.2 cinnamon. been at it since morning with no luck now my back aches and my mood's not good
thank you for your help
|
Best thing to recommend for any source programs is to read the instructions from the websites; most typically have them, as well as dependencies listed. The steps listed by Mill J are quite common, though, and may work for a good number of programs, but not all. Those are compressed files...first step would be uncompressing them. For the .tar.bz2 file, "tar xvfj <filename>.tar.bz2", and it'll get it done; "tar xpfv" for the .xz file. First step in learning Linux is to make friends with the online help, typically referred to as the "man pages". Type in "man tar", and it'll give you a list of all the options for the program. Same goes for any other Linux program.
From there, look in the files you just 'exploded', and you'll most probably find a file with something very obvious...like "INSTALL" "README", etc. Open that file up, and 99.x% of the time, installation/configuration instructions are contained in it.
But as others have pointed out, installing from package is FAR better, especially for a new user.
|
|
1 members found this post helpful.
|
07-08-2017, 10:01 AM
|
#7
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Original Poster
Rep:
|
smplayer-17.7.0.tar.bz
vlc-2.2.6.tar.xz
got them from linuxsoftpedia
thanks guys, I think I just expected it to be quite simple and a bit intuitive, BTW I'm not complaining at all
|
|
|
07-08-2017, 10:12 AM
|
#8
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Thanks. Is there any specific reason that you're not installing the versions of both smplayer and vlc that are in the Mint 18.2 repos?
sudo apt-get install smplayer vlc
Your back won't hurt as much and your mood should improve.
|
|
1 members found this post helpful.
|
07-08-2017, 11:10 AM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,188
|
Quote:
Originally Posted by below average linux user
smplayer-17.7.0.tar.bz vlc-2.2.6.tar.xz
got them from linuxsoftpedia thanks guys, I think I just expected it to be quite simple and a bit intuitive, BTW I'm not complaining at all
|
It is intuitive; use the packages. No harder than using Windows and running "setup.exe", at the very least, but at least with Linux you have the option of installing from source, modifying it to suit your needs, or helping develop a feature you need/want.
Compiling from source CAN be done, but it is not as easy as typing in a single command, or checking a box in your GUI based software manager. As said, 99.x% of the software comes with a document (and if you look in those compressed files as said, you'll see the instructions) that tells you how to compile things. Bear in mind that software has dependencies. So before you can even compile the source code you have, you'll need the development libraries for any of the OTHER software that such things need, like audio/video codecs, etc. As hydrurga said, you can type in that one command, and your system will install EVERYTHING it needs automatically, and you're done.
|
|
1 members found this post helpful.
|
07-08-2017, 11:58 AM
|
#10
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Theb only time I use a tar.{xz,bz2,gz} file is if the package does not exist in the repos, which is rare. But it has happened, especially in the more distant past. Windows is packaged with practically nothing, not even image burning software.
For Windows you look online for interesting programs, download them, install them, and eventually your system slows to a crawl when it's infested with malware!
With Linux you get everything; all hardware drivers (for the most part), and all software (in the repos), so you don't have to go slumming for packages online. If you need some program:
Code:
$ apt-cache search keyword
will help you find it.
|
|
2 members found this post helpful.
|
07-10-2017, 02:58 AM
|
#11
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Original Poster
Rep:
|
Thanks a lot guys, now everything's fine
|
|
|
07-10-2017, 05:49 AM
|
#12
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by below average linux user
Thanks a lot guys, now everything's fine
|
That's great to hear. What did you do to resolve the problem?
|
|
|
07-11-2017, 09:47 AM
|
#13
|
LQ Newbie
Registered: Jul 2017
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by hydrurga
That's great to hear. What did you do to resolve the problem?
|
my system eventually connected to the internet so I just used the synaptics manager.
my initial problem was that my system did not want to connect to the internet which is why I had thought about offline installation.
|
|
|
07-11-2017, 10:59 AM
|
#14
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by below average linux user
my system eventually connected to the internet so I just used the synaptics manager.
my initial problem was that my system did not want to connect to the internet which is why I had thought about offline installation.
|
Ok. For info, you can always obtain the deb file for a package from the repos through another computer and then manually install the deb file rather than have to go back to source.
Of course, you will also have to obtain the deb files for any of the package's dependencies, if they are not already installed, and manually install those beforehand.
|
|
|
All times are GMT -5. The time now is 01:48 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
|
|