LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-08-2013, 06:13 AM   #1
moonsage
LQ Newbie
 
Registered: Sep 2013
Location: Europe
Distribution: Ubuntu 12.04
Posts: 2

Rep: Reputation: Disabled
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!
 
Old 09-08-2013, 07:07 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
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
 
1 members found this post helpful.
Old 09-08-2013, 07:25 AM   #3
moonsage
LQ Newbie
 
Registered: Sep 2013
Location: Europe
Distribution: Ubuntu 12.04
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
Old 09-08-2013, 07:46 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
try on a MS windows box
it might be really a MS exe self extracting 7z
 
Old 09-09-2013, 02:20 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Run 'file filename.7z' and post the output.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No such file or directory message when extracting the linux cpio file on window vista echang General 7 10-05-2012 02:19 PM
[SOLVED] .bin file extracting problem shariefbe Linux - Newbie 1 12-26-2009 12:02 AM
problem extracting .tar.gz file?? silverbullet7391 Linux - Newbie 3 03-17-2009 12:32 AM
editing a very large HTML file (or, extracting URLs from a file) Chriswaterguy Linux - Software 3 11-27-2007 06:07 PM
Problem extracting encrypted .zip file in Ubuntu protestingrab Linux - Software 1 07-24-2006 12:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration