LinuxQuestions.org
Review your favorite Linux distribution.
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 02-23-2013, 11:22 PM   #1
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 93

Rep: Reputation: 15
how to install libcurl3


what is the command to install libcurl3 in debian wheezy from the internet (my DVD drive is not working anymore) ?
 
Old 02-24-2013, 12:23 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,797
Blog Entries: 4

Rep: Reputation: 285Reputation: 285Reputation: 285
If your system is connected to Internet, you can install pkg as:
Code:
~$ apt-get upgrade
~$ apt-get install libcurl3
Also modify following file to make your system to not ask for cdrom but directly download from Internet database (comment out lines marked in red and add line marked in green):
Code:
~$ cat /etc/apt/sources.list
# 

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 CD Binary-1 20120929-15:56]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.6 _Squeeze_ - Official i386 CD Binary-1 20120929-15:56]/ squeeze main

deb http://ftp.fr.debian.org/debian squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
(Truncated)
For more details, once check this.
 
Old 02-24-2013, 03:22 AM   #3
jdkaye
Senior Member
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 4,773

Rep: Reputation: Disabled
Just a quick correction to shivaa's post. You said you're using Wheezy so your sources.list file should contain these entries (possibly among others)
Code:
deb http://ftp.de.debian.org/debian/ testing main
deb http://ftp.de.debian.org/debian/ testing non-free contrib
deb-src http://ftp.de.debian.org/debian/ testing main
deb-src http://ftp.de.debian.org/debian/ testing non-free contrib
deb http://deb-multimedia.org/ testing main non-free
deb-src http://deb-multimedia.org/ testing main non-free
You can replace the "testing" designation by "wheezy" if you prefer. Note that "squeeze" is the current name for stable.
You can also replace Germany (de) by the country of your choice.
ciao,
jdk
 
Old 02-24-2013, 07:09 PM   #4
StefanP
Member
 
Registered: Apr 2007
Distribution: Debian 4
Posts: 93

Original Poster
Rep: Reputation: 15
It didn't work

here's the messages I got:

~$ apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

~$ apt-get install libcurl3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libcurl3



here is my source list:

#


# deb cdrom:[Debian GNU/Linux wheezy-DI-b4 _Wheezy_ - Official Snapshot i386 DVD Binary-1 20121117-19:20]/ wheezy contrib main

# deb cdrom:[Debian GNU/Linux wheezy-DI-b4 _Wheezy_ - Official Snapshot i386 DVD Binary-1 20121117-19:20]/ wheezy contrib main

deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib

deb http://ftp.de.debian.org/debian/ wheezy main
deb http://ftp.de.debian.org/debian/ wheezy non-free contrib
deb-src http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy non-free contrib
deb http://deb-multimedia.org/ wheezy main non-free
deb-src http://deb-multimedia.org/ wheezy main non-free
 
Old 02-24-2013, 09:17 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,844

Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
The commands have to be ran as root or sudo
Quote:
apt-get update
apt-get install libcurl3
 
  


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
Install packages from Fedora LiveCD usb key without internet access (from install) MissMetal Linux - Newbie 1 02-05-2013 07:59 AM
yum install lib getting fails yum install lib* leads to install 1050 dependency pkg LittleMaster Linux - Server 3 10-29-2012 01:14 AM
Uncertain how to configure/install packages & compiler before install VMware on FC8. Azazwa Linux - Newbie 1 03-28-2009 07:27 PM
Ubuntu as frugal install, iso install, img install? impossible? nooby Ubuntu 15 08-22-2008 05:49 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM


All times are GMT -5. The time now is 09:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration