LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-14-2011, 10:43 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
install package on Debian


In my debian server ,it do not have zip command ( not gzip , just want to use zip command ) , I want to install it , I tried apt-get but it have some problem ( the problem is quite complicated , so I don't prefer to fix it ) , can advise if I just want to install the source file of zip , can advise where can I download it ? thx
 
Old 04-14-2011, 11:43 PM   #2
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Read the manual pages for Debian's package manager. Specifically:-
Code:
man apt-get
man apt-cache

Last edited by lupusarcanus; 04-14-2011 at 11:44 PM.
 
0 members found this post helpful.
Old 04-14-2011, 11:54 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Mine has bzip2
Which version of debian?
Bzip2 was installed by default in my installation.

Last edited by EDDY1; 04-15-2011 at 12:05 AM.
 
0 members found this post helpful.
Old 04-15-2011, 06:22 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
If you can't install zip ( # apt-get install zip ),

.. then you can just download the package, unpack it,
and use the binary zip locally ( dpkg -x zip_2.32-1_<arch>.deb <dir> )
http://packages.debian.org/lenny/zip
Source code > > "Links for zip" > [zip_2.32.orig.tar.gz]
http://ftp.de.debian.org/debian/pool...32.orig.tar.gz
 
Old 04-15-2011, 10:22 AM   #5
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Quote:
Originally Posted by EDDY1 View Post
Mine has bzip2
Which version of debian?
Bzip2 was installed by default in my installation.
The OP wants zip, not bzip2.
 
Old 04-15-2011, 12:05 PM   #6
Bodi
LQ Newbie
 
Registered: Jul 2009
Posts: 25

Rep: Reputation: 2
In most Linux distros unzip is installed by default. So, type : unzip file.zip, that should do it.
 
Old 04-15-2011, 12:37 PM   #7
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7
Posts: 874

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by Bodi View Post
In most Linux distros unzip is installed by default. So, type : unzip file.zip, that should do it.
That is what I always do.

$ unzip <filename>.zip
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] how can I download and install a debian package with all dependencies gujedan Linux - Newbie 7 03-05-2011 06:26 PM
use rpm to install package on debian ust Linux - Software 4 08-24-2008 02:03 PM
Is it able to install Debian package on Slackware ? mocqueanh Slackware 3 01-28-2008 06:20 AM
the grub package failed to install (using debian) mrj Linux - Software 12 08-05-2007 04:24 PM
How can i install a debian package under Suse 8.0 tostado Linux - Software 1 09-24-2002 03:15 PM


All times are GMT -5. The time now is 01:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration