Posts: 153
andfree
Joined: 16 Jan 2016
#1
How zip & unzip files?
Last edited by andfree on 09 Feb 2016, 14:36, edited 3 times in total.
Posts: 72
cwilliams
Joined: 16 Aug 2013
#2
I find the easiest way is to use spacefm.
Find a folder or file in spacefm , right click , select new , select archive , name it , hit OK.
That is how to make an existing folder or file into a zip type file.
To extract an archive , right click the file or folder , select extract or extract to , hit OK.
The extract command extracts to the folder you are in , extract to lets you decide where to extract the final file or folder to.
There are a few ways to do this , but I find this the easiest way for general zip usage.
Colin
Posts: 153
andfree
Joined: 16 Jan 2016
#3
So simple. I looked for"extract" at rox-filer and I didn't think to look at spacefm. Thank you.
Posts: 153
andfree
Joined: 16 Jan 2016
#4
And what about unrar? I got this error message:

Code: Select all

/tmp/spacefm-demo-32158da9.tmp/30f6ad0b-tmp.sh: line 120: unrar: command not found

[ Finished With Errors ]  Press Enter to close: 
Then I tried to install rar:

Code: Select all

$ sudo apt-get install rar
[sudo] password for demo: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package rar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'rar' has no installation candidate
Posts: 72
cwilliams
Joined: 16 Aug 2013
#5
I would suggest installing p7zip-full and p7zip-rar to enable you to uzip more file types.
p7zip-rar will do what you need to do I believe.
p7zip-full allows you to do things in a graphical environment.
Hope this helps.
Colin
Posts: 153
andfree
Joined: 16 Jan 2016
#6
Thanks. At Synaptic Package Manager p7zip-full seems to be already installed. I don't see p7zip-rar there at all.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#7
on my system, p7zip-rar is the very next package. post inxi -r so we can see your repos.
Posts: 153
andfree
Joined: 16 Jan 2016
#8
Finally an updating was needed. After this, I became able to install rar & unrar commands. p7zip-rar appeared on Synaptic Package Manager, too.
Posts: 72
cwilliams
Joined: 16 Aug 2013
#9
I forgot to mention , always hit the reload button in synaptic before searching for packages.
This would be equivalent to apt-get update in a terminal.
When I first looked for an un-rar type program , I had to search for zip first and read all the descriptions to eventually find it.
There's a few packages that are hard to find directly , but they're in there someplace.
Good question , keep them coming.
Colin