LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem with extracting .7z file (https://www.linuxquestions.org/questions/linux-software-2/problem-with-extracting-7z-file-4175476360/)

moonsage 09-08-2013 06:13 AM

problem with extracting .7z file
 
Hi guys!

I really need help with this.. I run Ubuntu 12.04 and I need to extract this .7z file that was sent to me for work. Approaching the deadline fast and nothing I've tried works!

Right-click and 'extract here' wouldn't work,neither did 'open with archive manager' so I've downloaded 7zip program from the software center and the same thing happened. I've even tried typing in 'apt-get install 7zip' thinking that software center failed, and then 'p7zip -d filename.7z' and I get the same error message over and over again..

.../Downloads/filename.7z: Can not open file as archive

What can I do to remedie this?

To tell you the truth, I am relatively new Linux user and it was usually my ex bf who handled this stuff when I got stuck, but now I have no option than to ask community to help...

Please help!

cascade9 09-08-2013 07:07 AM

Hint- fi you are looking for a particualr bit of software with ubuntu, go to the ubuntu package search page-

http://packages.ubuntu.com/

In some cases you might need to click the 'Descriptions' button to find the software. In this case, you dont, you should end up on this page-

http://packages.ubuntu.com/precise/p7zip

The reasons why your 'apt-get install 7zip' command failed is because its in the 'universe' repos (which may or may not be selected) and because you had the wrong package name (though I should point out that you normally need 'sudo' at the start of the command for ubuntu as well)

sudo apt-get install p7zip-full

You may want to add 'p7zip-rar' as well.

If that command fails, you rpobably dotn have the universe repo selected, this paeg shows you how to seletc that repo-

http://askubuntu.com/questions/14863...rse-repository

moonsage 09-08-2013 07:25 AM

Hi cascade9!
thank you for your reply...
checked out and the universe was enabled the whole time..
i did use 'sudo' at the beginning of the command the first time too, but it didn't do any downloading at all..
I tried just now with the ...-full and it downloaded it and installed and the whole shebang...
but it still shows the same error message when i try to extract it or open it with the archive manager :(

John VV 09-08-2013 07:46 PM

try on a MS windows box
it might be really a MS exe self extracting 7z

H_TeXMeX_H 09-09-2013 02:20 AM

Run 'file filename.7z' and post the output.


All times are GMT -5. The time now is 09:27 AM.