LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How To Install Prozilla On Knoppix (https://www.linuxquestions.org/questions/linux-software-2/how-to-install-prozilla-on-knoppix-736151/)

ptbrq 06-28-2009 03:44 AM

How To Install Prozilla On Knoppix
 
Hi
I am a newbie who plan to install prozilla download accelerator on Knoppix Live CD (on the PC hard disk). How to do this? Can I use binary package for Debian, Ubuntu or other distro?
Can I compile and install from source code tarball?
How to find the prozilla home page and the tarball of the latest version?
(format: tar.gz or tar.bz2

Thsnk you for all replies.

repo 06-28-2009 04:08 AM

http://linux.softpedia.com/progDownl...oad-12991.html

jdkaye 06-28-2009 04:16 AM

Quote:

Originally Posted by ptbrq (Post 3588711)
Hi
I am a newbie who plan to install prozilla download accelerator on Knoppix Live CD (on the PC hard disk). How to do this? Can I use binary package for Debian, Ubuntu or other distro?
Can I compile and install from source code tarball?
How to find the prozilla home page and the tarball of the latest version?
(format: tar.gz or tar.bz2

Thsnk you for all replies.

You can get the source code from the link that repo provided. When you install knoppix on your HD make sure you get the C compiler (gcc).

AFAIK, there is no binary debian package for prozilla.
cheers,
jdk

rylan76 06-30-2009 05:38 AM

Once you have the package (get it from http://sourceforge.net/projects/prozilla/ ), do the following to manually compile and install it.

Code:

1. tar zxvf prozilla-1.3.7.4.tar.gz
2. cd prozilla-1.3.7.4
3. ./configure
4. make
5. su (i. e. become root)
6. make install
7. exit
8 . cd ..
9. rm -rf prozilla-1.3.7.4

A usefull BASH script to then use prozilla if you are going to download many, similarly named files and you soon get tired of manually renaming them once prozilla complains a file with the same name already exists:

Code:

filename="$1"
file_base=$(basename ${filename})
if [ -f ${file_base} ]; then
    #if the file exists already
    filename="${file_base%.*}"
    ext=`echo ${file_base%}|awk -F . '{print $NF}'`
    fudge=`echo $RANDOM`
    underscore="_"
    fudge=$underscore$fudge
    dot="."
    newfile=$filename$fudge$dot$ext
    echo $newfile
    echo $file_base
    mv -i $file_base $newfile
    cmd="proz $1 -k4 --retry-delay=1"
    $cmd
else
    cmd="proz $1 -k4 --retry-delay=1"
    $cmd
fi

I saved this file as pz.sh on my system, now all I need to do to download a file with prozilla is go

pz.sh <url>

where <url> is replaced with the URL of the file I want, and it is almost 99% guarranteed that all files downloaded will have unique names.


All times are GMT -5. The time now is 12:23 PM.