LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-23-2005, 03:10 AM   #1
atyndall
LQ Newbie
 
Registered: Jun 2005
Posts: 1

Rep: Reputation: 0
Unhappy Help me install program on Damn Small Linux


I need to put some new programs on Damn Small Linux (It is on my hard disk) i put in a cd and navigated to the program i want using emelfm i choose to "Unpack" and it unpacks but i can't open it. Is there any way to install programs on the command line or any other way i dont care what i have to do i just want to put more programs on DSL

also can someone please tell me how to add AND remove icon from the desktop
 
Old 06-23-2005, 05:07 AM   #2
jharback
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian
Posts: 10

Rep: Reputation: 0
I noticed there was no answer yet to your question so I will attempt to help you out, although, I have limited experience with Damn Small Linux or fluxbox (your window manager).

To install programs in linux from the command line you first need to know which package management system your distro uses if any at all. If the filename end in .rpm then you have an RPM package management system originally use and developed by RedHat. If your files end in .deb then you have a debian package management system. If they end in .tgz, .gz, .tar, .bz2 then you don't really have a package management system.

For .rpm packages you would use the following command from the command line once you have logged in as root:

rpm -ivh pakagename.rpm

For .deb packages you would use the following command once you have logged in as root:

dpkg -i packagename.deb

If you don't have the package already available to you and you are connected to the internet you can alternatively use:

apt-get install packagename

For the other types of files it is a little more complicated:

cp filename /usr/local/ #This copies the file to /usr/local/
cd /usr/local/ #This changes you into the directory /usr/local/

Now if its a .tgz file issue the following command:

tar xfvzp filename.tgz #This uncompresses the file and creates a directory with the filename.

If its a .gz file then:

gunzip filename.gz #This uncompresses the file into a .tar file.

If its a .bz2 file then:

bunzip2 filename.bz2 #This again uncompresses the file into a .tar file.

If its a .tar file or once you have uncompressed with the two options above you then:

tar xfvp filename.tar #This will then create a directory with the filename.

Now you move into the directory:

cd filename

Here you should read the INSTALL file:

less INSTALL

This file will normally tell you to issue the following commands:

./configure
make
make install #This command must be done logged in as root

If you get errors right away on the first command or it will not let you copy the file into /usr/local/ then log in as root and perform the above operations.

As for adding and deleting icons you usually (in most window managers) right click the mouse button on the icon or on the desktop to get a menu to perform the operation.

Hopefully this will get you started and headed in the right direction. Good luck and welcome to linux.
 
Old 06-23-2005, 09:22 AM   #3
adssse
Member
 
Registered: May 2005
Distribution: Ubuntu, Jolicloud
Posts: 136

Rep: Reputation: 15
In dsl all of the desktop icons are located in /home/dsl/.xtdesktop , if you are interested in editing the menu than you can edit that from /home/dsl/.fluxbox and edit the file called menu.
Hope this helps.
 
  


Reply



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
How to install damn small linux??? mirza DamnSmallLinux 15 12-31-2007 02:45 PM
How to install damn small linux from floppy disk mirza Linux - Newbie 4 09-18-2006 02:57 AM
Damn Small Linux install?!? nub47 Debian 3 12-16-2003 06:45 PM
Damn Small Linux install?!? nub47 Debian 2 12-12-2003 04:59 AM
Damn small linux Lipgirl Linux - General 6 11-27-2003 06:50 AM

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

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