LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-09-2005, 06:43 AM   #1
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Rep: Reputation: 15
APT --> Question to sources.list


Hi everyone,

I downloaded the debian package:

links<version>.deb


I copied the file into the /usr/ folder.

How I have to configure my sources.list that I can install links with apt?

Because I tried "apt-get install links" but apt said that it cannot find the package... But the package is in /usr..


Thanks in advance
GSX

Last edited by GSX; 02-09-2005 at 07:27 AM.
 
Old 02-09-2005, 07:40 AM   #2
macondo
Senior Member
 
Registered: Jul 2003
Distribution: Devuan, Slackwre64-current
Posts: 1,020

Rep: Reputation: 62
Being new to Debian, it's imperative that you read the APT-HOWTO, especially the sections 1, 2, 3, and 7.

APT-HOWTO
http://www.debian.org/doc/manuals/ap.../index.en.html

If you don't like to read, Debian is not for you.

After reading it, you know about apt-get update/upgrade/dist-upgrade, apt-chache search and show etc. Did you do an 'apt-get update'?

I use Sid, i've never heard of 'links', (i've used 'lynx'), so i want to know.

macondo@debian:~$ apt-cache show links
Package: links
Priority: optional
Section: web
Installed-Size: 936
Maintainer: Peter Gervai <grin@tolna.net>
Architecture: i386
Version: 0.99+1.00pre12-1
Provides: www-browser
Depends: libc6 (>= 2.3.2.ds1-4), libgpmg1 (>= 1.19.6-1)
Conflicts: links-ssl (<< 0.99-1.1)
Filename: pool/main/l/links/links_0.99+1.00pre12-1_i386.deb
Size: 384846
MD5sum: d4670831b63a80e4d4fbe01b1155350d
Description: Character mode WWW browser
Links is a lynx-like character mode browser. It includes support for rendering tables and frames, features background downloads, can display colors and has many other features.

Ok, now i know what it is, how big it is, and if 'apt-cache show' shows it, , IT IS in the repositories of Sid, which is what i'm using at the moment.

#apt-get install links

apt does it all.

If you do it manually and install in whatever directory, apt doesn't know. Do not try to use Debian like you're used to with other distros, read and do it the debian way, otherwise, you will be in a world of pain.
 
Old 02-09-2005, 08:10 AM   #3
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Thanks for your reply...

I read a HOWTO about APT, but they described only the way including internet.
They didnīt described what to do when you want to install a package locally!!!

And then I posted a thread!!!!



Greetz
 
Old 02-09-2005, 10:19 AM   #4
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Got a winmodem? (I know the feeling)

Use this command:
dpkg -i <packagename>.deb

Also, don't put anything in /usr. That's for the system's use.
FYI, apt stores it's packages in /var/cache/apt/archives/
 
Old 02-10-2005, 01:27 AM   #5
GSX
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Debian Etch, kernel 2.6.18
Posts: 103

Original Poster
Rep: Reputation: 15
Hi,

I read the APT-HOWTO:

The command dpkg-scanpackages donīt work.


But with dpkg -i <deb-file> it worked all the time.



Thanks
Greetz
 
Old 02-10-2005, 01:36 AM   #6
Sepero
Member
 
Registered: Jul 2004
Location: Tampa, Florida, USA
Distribution: Ubuntu
Posts: 734
Blog Entries: 1

Rep: Reputation: 33
Glad I could help.
 
  


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
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
APT sources.list pen^2 Fedora 2 09-09-2004 07:43 AM
apt-get sources.list question? happogiri Linux - Newbie 1 08-06-2004 06:13 AM
total newbie type question-where do i find the good links for /etc/apt/sources.list? petkov Debian 2 03-28-2004 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:38 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
Open Source Consulting | Domain Registration