Zip and rar files on Debian Buster

More
18 Nov 2020 19:48 - 18 Nov 2020 21:08 #189718 by Kiddekanin
Can some one explain to a beginner in linuxcnc how to get the ability to right click and select extract here in the new Buster version. (why is this not a part of the "base" installation?)

1. How do I find / install a "rar" "service" via terminal ?

2. How do I get the "unrar" to function by right clicking on a ziped file (if possible)? If not - Then what ?

Extension is: .tar.gz (it's my backup files from 2.7 version)


Trial and error:
Terminal:
unrar e blablabla.tar.gz
blablabla.tar.gz is not RAR archive......

Tried sudo tar -xf blablalba.tar.gz
just gets me a new line in the terminal
Last edit: 18 Nov 2020 21:08 by Kiddekanin.

Please Log in or Create an account to join the conversation.

More
18 Nov 2020 20:13 #189722 by chris@cnc
Hello "Kiddekanin",
I can't tell you why unrar is not in the standard but I haven't seen it in any distribution in the standard. Wasn't important to me until now. It is important that there are two versions and the non-free version is really useful. Get it here: ftp.br.debian.org/debian/pool/non-free/u...ar_5.6.6-1_amd64.deb
and to install here:
sudo dpkg -i unrar_5.6.6-1_amd64.deb
Greetings Christian
The following user(s) said Thank You: Kiddekanin

Please Log in or Create an account to join the conversation.

More
18 Nov 2020 20:26 #189724 by Kiddekanin
Got to downloading that package before. but missed the install string.

I typed in the "sudo dpkg -i unrar_5.6.6-1_amd64.deb" in terminal download folder and i did it's thing....

Now what ? do I need to do some apt install :S

Please Log in or Create an account to join the conversation.

More
18 Nov 2020 20:54 #189727 by chris@cnc
Now is installed. You can now extract files in terminal. Option Show unrar -h or unrar-nonfree -h or Show man page

Please Log in or Create an account to join the conversation.

More
18 Nov 2020 20:57 #189729 by Kiddekanin
extension is .tar.gz and this seems to NOT be a format for the unrar e


Is there no way in Debian to get the Unrar command in the right click menu ?

Please Log in or Create an account to join the conversation.

More
23 Nov 2020 14:01 - 23 Nov 2020 14:01 #190115 by Glite
Unfortunately Buster LinuxCNC image is missing some packages and right click menu unarchiver is one of them. You may install only this package with
sudo apt install thunar-archive-plugin
Or you can install all XFCE desktop packages (this will also install archive plugin) with
sudo apt install task-xfce-desktop

As for .tar.gz it's a linux tarball and is extracted with
tar -xf file.tar.gz
Last edit: 23 Nov 2020 14:01 by Glite.

Please Log in or Create an account to join the conversation.

More
23 Nov 2020 19:36 - 23 Nov 2020 19:36 #190138 by lrak
Most here are running the xfce gui - it has thunar-archive-plugin (I run a heavily trimmed down kde with lots of stuff removed ) .
It recommends ark - which is what I always use - it will need the package unrar installed. (Most people will never need rar support).

unrar should have been installed - it is part of the 'non-free' stuff so if you didn't have it in your sources - it might be missing.

You need something like this:
deb http://ftp.us.debian.org/debian/ buster main non-free contrib
in /etc/apt/sources.list (note the non-free parameter )

One other reason it could be missing is if someone changed the recommended/suggested settings in apt.
To stop auto installations of cruft on very small systems people use APT::Install-Recommends "0" ; APT::Install-Suggests "0" ;
in /etc/apt/apt.conf.d/


There is also a unrar-free - but I'm told it has problems.

So most likely you just need to :
apt install unrar
If you get an error - fix your apt settings..
.rar files will hopefully go away some day...
,.,.

tar.gz is a tar archive that is gunzipped - not related to rar.

Today most sane linux people would use tar.xz - a tar archive compressed with xz-utils
Last edit: 23 Nov 2020 19:36 by lrak.

Please Log in or Create an account to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum