LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 06-20-2005, 09:45 AM   #1
jnev
Member
 
Registered: Apr 2005
Posts: 158

Rep: Reputation: 30
how to enable apt-get?


i just installed dsl 1.2 on my laptop, but i'm wondering how to install apps. i read that you need to enable apt-get, how would i go about doing that? what should my sources.list look like? i'm used to debian sid, so dsl is kinda confusing to me.

thanks

Last edited by jnev; 06-20-2005 at 09:48 AM.
 
Old 06-21-2005, 05:52 PM   #2
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
To enable apt you can use the menu in dsl. In the menu use Apps->Tools-> then if you want to use Synaptic choose Synaptic otherwise choose Enable Apt. After doing this edit sources.list to get the "Testing" sources, do this in your terminal:

cd /etc/apt/
vi sources.list
remove the # on the testing line
and make a # on the stable

then
apt-get update
apt-get install "name of the program"

Since Sarge has become stable there has supposedly has been some trouble. If you have trouble than you can use the older Woody release packages.
In your /etc/apt/sources.list, change where it says "stable" to "oldstable" and then run apt-get update.

Hope this helps.
 
Old 06-21-2005, 08:45 PM   #3
jnev
Member
 
Registered: Apr 2005
Posts: 158

Original Poster
Rep: Reputation: 30
that worked perfectly, thanks. i just had to remove all of the non-us sources.

thanks for the help.
 
Old 06-21-2005, 09:27 PM   #4
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
Glad to hear it.
 
Old 06-26-2005, 08:28 PM   #5
bigoli
Member
 
Registered: Jan 2005
Location: Huntsville, AL
Distribution: Mepis, DamnSmallLinux, Puppy Linux
Posts: 37

Rep: Reputation: 15
adssse:

I have a few questions.

Here is my sources.list file -

#deb http://ftp.us.debian.org/debian/ testing main
deb http://ftp.us.debian.org/debian/ oldstable main non-free contrib
#deb http://non-us.debian.org/debian-non-US/ testing/non-US main contrib non-free
#deb-src http://non-us.debian.org/debian-non-US/ testing/non-US main contrib non-free
#deb http://www.modularity.org/knoppix ./

-- end of file --

-> remove the # on the testing line

I assume the first line is 'the testing line' in your comment.

-> and make a # on the stable

I don't know what that means! My file apparently has only one valid entry!

This brings me to my real question - What is it with the 'sources.list' file? I also run Mepis and Mepis is very specific about what you can edit and what you are to leave alone! The above listed 'sources.list' file bears little resemblence to the one I have in Mepis. I would like see an explanation of the commands and their options. Can anyone direct me to a good site which explains the 'sources.list' file.

Thanks.

James Oliver
 
Old 06-26-2005, 11:51 PM   #6
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
I am sorry I wasnt very clear. I just meant to remove the '#' sign infront of the testing line. This uncomments it so it will be used. Then place a '#' sign infront of the stable line. This will comment it out so it will no longer be used. Then save it.

As for a good site to explain the sources.list file, I am not completely sure. Apt is debian based so here is a website that talks about it slightly, but you can probably search for more info.
http://www.debian.org/doc/manuals/ap...basico.en.html
 
Old 06-27-2005, 05:15 PM   #7
bigoli
Member
 
Registered: Jan 2005
Location: Huntsville, AL
Distribution: Mepis, DamnSmallLinux, Puppy Linux
Posts: 37

Rep: Reputation: 15
adssse:

Thanks. The site is just what I needed!

James Oliver
 
Old 06-27-2005, 08:09 PM   #8
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
No problem, 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
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
knoppix 3.4 and no apt-setup how to fix info install apt-file + base-config maximalred Debian 0 10-16-2004 06:36 PM
knoppix 3.4 apt-setup on hdinstall / apt-get on live-cd non3 Linux - Distributions 0 05-25-2004 10:14 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM
apt enable fedora core 1 cdroms charettec Fedora 0 11-17-2003 10:38 AM

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

All times are GMT -5. The time now is 12:16 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