Linux - NewbieThis 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.
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.
Hey guys I'm trying to install 7zip and I got the source file so I extract and run make ok everything seem ok then I run make install and I get this
./install.sh /usr/local/bin /usr/local/lib/p7zip /usr/local/man /usr/local/share/doc/p7zip
- installing /usr/local/bin/7za
- installing /usr/local/lib/p7zip/7zCon.sfx
- installing /usr/local/man/man1/7z.1
- installing /usr/local/man/man1/7za.1
- installing /usr/local/man/man1/7zr.1
- installing /usr/local/share/doc/p7zip/README
- installing /usr/local/share/doc/p7zip/ChangeLog
- installing HTML help in /usr/local/share/doc/p7zip/DOCS
ok but nothing seemed to install...help P.S I know that I can get 7zip in the yast repo's...but I want to learn so I want to do it myself
It is installed in /usr/local/bin. If that directory is not in your PATH you should add it, so you can use 7za from everywhere.
Or else you should use the whole path to the command, like this:
<Commands>
a: Add files to archive
b: Benchmark
d: Delete files from archive
e: Extract files from archive (without using directory names)
l: List contents of archive
t: Test integrity of archive
u: Update files to archive
x: eXtract files with full paths
<Switches>
-ai[r[-|0]]{@listfile|!wildcard}: Include archives
-ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}: Include filenames
-m{Parameters}: set compression Method (see the manual)
-l: don't store symlinks; store the files/directories they point to
CAUTION : the scanning stage can never end because of symlinks like '..'
(ex: ln -s .. ldir)
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
(CAUTION: this flag does not do what you think, avoid using it)
-sfx[{name}]: Create SFX archive
-si[{name}]: read data from stdin
-slt: show technical information for l (List) command
-so: write data to stdout (eg: 7z a dummy -tgzip -so Doc.txt > archive.gz)
-ssc[-]: set sensitive case mode
-t{Type}: Set type of archive
-v{Size}[b|k|m|g]: Create volumes
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-w[path]: assign Work directory. Empty path means a temporary directory
-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries
I see it gives me a list of commands to use with is but for example I type /usr/local/bin x and get "error incorrect command line"
when you see something like this, take in mind that in most cases the order is important, the parts in square brackets are optional and the parts in <...> are to be assigned with actual values. For example, if you want to extract a 7zip file you can simply give the x command and the archive name:
so in other words I should use the command /usr/local/bin/7za x 7za.7z?
because I have done this get... 7-Zip (A) 4.65 Copyright (c) 1999-2009 Igor Pavlov 2009-02-03
p7zip Version 4.65 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,1 CPU)
Extra stuff? You have installed a software and now you're trying to use it. What is the extra stuff? If you put /usr/local/bin in your PATH (maybe it is already there) you don't have to type the full path of the 7za command. The rest is a common usage of command line programs.
well what I mean is that I extract then run make sudo make install then open the k menu an start the program that way but my guess is that there's not graphical interface for p7zip like there is for the windows one
Last edited by threatingbehaviour; 06-01-2009 at 05:35 PM.
In OpenSuse if you've enabled the Packman repository, you can install p7zip (the binary package that provides the 7za command) and Q7Z. This is a little GUI that will be available from the K-menu under Applications --> Utilities --> Archiving.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.