installing 7zip
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: Code:
/usr/local/bin/7za |
I have done this and this is all I 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) Usage: 7za <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] <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" |
Quote:
Code:
/usr/local/bin/7za x filename.7z |
The commands are 7za commands, not shell commands. The syntax is
Code:
7za <command> [<switches>...] <archive_name> [<file_names>...] [<@listfiles...>] Code:
/usr/local/bin/7za x archive.7z |
Quote:
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) Error: there is no such archive |
Code:
Error: there is no such archive Code:
/usr/local/bin/7za x /path/to/archive.7z |
ah ok thanks but I'm wondering...why doesn't make then sudo make install work why did I have to do all this extra stuff?
|
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
|
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.
|
ah cool didn't know that thanks for the info
|
Thanks for share! but have other better zip tool?
|
well what would you be using it for 7zip can pretty much do all you day to day zipping needs
|
All times are GMT -5. The time now is 09:06 AM. |