How do you use apt-get?


Forum: Apt-get
Topic: How do you use apt-get?
started by: enialis

Posted by enialis on Mar. 29 2005,19:12
I am new to linux, and I have never used apt-get before, I downloaded the .dsl to enable apt-get and now I wnat to install Wine...how? If there is documantation that I skipped please point it out to me.
Posted by adssse on Mar. 29 2005,23:05
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"

I am fairly new to this also so if I have said anything wrong please correct me.

Posted by enialis on Mar. 30 2005,05:37
I want to try that however I cant seem to find Wine with .deb extention, anybody know where to get a copy?
Posted by Freitag on April 10 2005,00:04
Hello everyone,  I have a very dumb question--sorry.

After I download a .dsl file, like xv.dsl or XFree86.dsl

How do I install it?  I can't use

apt-get -testing install xv

because xv and Xfree86 don't appear, even with all comments removed from the config file.

Help!

Thanks,
Freitag :)  :)

Posted by jls legalize on April 10 2005,02:58
mydsl-load filename
Posted by ke4nt1 on April 10 2005,05:27
Look at this post I wrote earlier this week..

May the < Search > button be your friend...

< http://damnsmalllinux.org/cgi-bin....73;st=5 >

73
ke4nt

Posted by tonylins on April 30 2005,20:10
How you can install apt-get in my DSL?
Posted by muellerr1 on May 17 2005,14:10
Look for dsl-dpkg.  That's the one that installs apt-get.  I think it's in SYSTEM in the myDSL control panel on the desktop.
Posted by Melancholie on May 18 2005,20:52
Wine: You have to type in "apt-get install wine" (without the .deb)! More circuitous: You also can try to download the wine package from < http://packages.debian.org/ > and install it with dpkg (myDSL: dsl-dpkg.dsl). Do the same with the dependent packages first (two of them have to be fetched by apt-get because they depent on each other, I think)!

*.dsl: Either use MyDSL (icon on the Desktop) or use the "MyDSL" button in emelFM, when you already have downloaded the file.

Posted by friedgold on May 18 2005,23:09
If anyone wants a good overview of the whole apt system I suggest reading the < APT howto >.

This guide is written for debian, but almost all of it is applicable to a hdinstall of DSL with apt re-enabled.

Posted by sindhugshankar on May 23 2005,12:50
hi all,
how do i install alsadebs.dsl package using apt-get ?! plz explain in detail if any of u guyz know.thanks
cheers,
sindhu

Posted by WoofyDugfock on May 25 2005,15:33
You're a long way off base.

You don't install .dsl extensions using apt-get at all.  You can install .dsl extensions by selecting them in emelFM, then clicking the myDSL button.  Search the forums and read the online documentation.

apt-get is for debian packages (which also run on DSL).

Posted by Jason on May 30 2005,06:02
I hope I'm not asking another stupid question, but how can someone get a package list like the one at < http://damnsmalllinux.org/packages.html >? This one seems to have not been updated in quite some time (still lists Scite and Ted as packages included on DSL, to name a couple).
I've already downloaded both the dsl-dpkg and gun-utils myDSL extensions, read the other resources pointed out in this forum/thread, and checked the other DSL documentation/help screens/etc.  Also tried running "apt-get update;" that came up with a progress bar, said it was downloading some stuff, then went back to the command line.
Please let me know if I'm missing/forgetting something.  Thanks!

Posted by Guest on May 30 2005,14:47
The command "apt-get update" just refreshes the list of available packages/updates from the debian repositories.  Granted it is a huge list (3-4MB), but nothing gets installed yet.  You will have to do "apt-get install <package1> <package2> ..." in order to actually install something.  Browse through the Debian site for the listing of packages and their names.
Posted by cbagger01 on May 30 2005,17:14
Or just choose "Synaptic" from the menu and use it.

Synaptic is easier to use than commanline apt-get for most people.

Posted by friedgold on June 01 2005,01:16
Quote (Jason @ May 30 2005,02:02)
I hope I'm not asking another stupid question, but how can someone get a package list like the one at < http://damnsmalllinux.org/packages.html >? This one seems to have not been updated in quite some time (still lists Scite and Ted as packages included on DSL, to name a couple).
I've already downloaded both the dsl-dpkg and gun-utils myDSL extensions, read the other resources pointed out in this forum/thread, and checked the other DSL documentation/help screens/etc.  Also tried running "apt-get update;" that came up with a progress bar, said it was downloading some stuff, then went back to the command line.
Please let me know if I'm missing/forgetting something.  Thanks!

If you want to see a list of installed packages (like the one on the homepage) just use the command dpkg -l from inside a X Terminal.

If you want to find what packages are available to download you can use synaptic as cbagger suggests. Alternatively you can search for a package using apt-cache search program_name and use apt-cache show package_name to show infomation on a particular package (I prefer the command line :p).

Posted by darkhooda on June 04 2005,17:25
Quote (adssse @ Mar. 29 2005,18:05)
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"

I am fairly new to this also so if I have said anything wrong please correct me.

After I change the entries, how do I save my changes in sources?

Posted by darkhooda on June 05 2005,15:50
I got it
Since I don't really like that editor...
I used beaver.
Code Sample
sudo beaver

Then I opened the file and changed it, save, and quit. All working.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.