nonoo
Group: Members
Posts: 68
Joined: Oct. 2005 |
|
Posted: Feb. 05 2008,19:02 |
|
http://damnsmalllinux.org/wiki/index.php/Apt-get
Quote | NOTE: If you need apt-specific help, go to the Debian website and read their documentation, as it is not covered here!
DSL is based on Debian, so it is possible to use apt-get after a hard drive install once the dpkg database is restored.
To restore Apt, open the menu and go Apps >> Tools >> Enable Apt
Or, if you are in runlevel 2 (console mode) type
sudo dpkg-restore
Or, you can grab the dsl-dpkg.dsl from the MyDSL Repository and install it using the directions in 3.1 of this Documentation.
Or, in the new 3.2 version... go to a command prompt and type
rxvt -rv -T "DSL Apt and Dpkg Restore" -e sudo dpkg-restore
After this you should type
apt-get update
This will get the latest package list.
However you get it, once dpkg has been restored, you need to bring it up to date.
Before you do that, though, you might want to choose a different area of debian, such as "stable", "testing", or "unstable". Though this is not required.
To edit the apt config file, type
sudo nano /etc/apt/sources.list
and change the line
deb http://ftp.us.debian.org/debian/ oldstable main non-free contrib
to something like
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
Then, open a root xterm and type
apt-get update
After the process is finished, you have the ability to grab most anything from Debian!
Now for the warning:
DSL is not derived purely from Debian, if you 'apt-get install' the wrong application you may break something, for instance, the X servers. You may have trouble if you try to upgrade your whole DSL distro to debian (apt-get upgrade)! Another caveat is that some of the dsl binaries use BusyBox multi call binary (instead of separate binaries for find, ls etc). It causes problems when used in some of the scripts inside certain debian packages, for example xpdf. Use apt to grab individual packages, but only the expert should try major system upgrades.
Another Note: if you plan to use the system for development it could help you to install from source some packages. Coreutils, gzip will replace the Busybox binary. You can get those from gnu.org and compile them. You may also consider to compile and install the latest perl version. Overall it works pretty well but some things may be broken here and there. |
No, I have read.
nonoo
|