LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 06-22-2008, 12:26 PM   #1
liamkincaid25
Member
 
Registered: Apr 2002
Location: puerto rico
Posts: 70

Rep: Reputation: 15
Post How to install?


I am using Debian for a few days now. I want to install Firefox and kopete but do not know how. I dowloaded kopete an appears as a .deb file , firefox appear as a .tar.bz2 file. I did something trying to install the programs but nothing works. The best I got was seeing the icon for kopete but when I click on it nothing happens, Synaptic package management tells me it is a broken and is marked red (not good obviously). How do I install programs in debian (is different than with windows where programs comes with .exe). Any help will be appreciated.
 
Old 06-22-2008, 12:29 PM   #2
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Post the command:
Code:
   cat /etc/apt/sources.list
Also, try as root:
Code:
  apt-get update
Afterwards, start synaptic.

For firefox, the package is iceweasel. For kopete you have to install almost all packages for KDE.
 
Old 06-23-2008, 09:01 AM   #3
liamkincaid25
Member
 
Registered: Apr 2002
Location: puerto rico
Posts: 70

Original Poster
Rep: Reputation: 15
Post No difference

After doing the commands the output is not much different from the previous one.This is the result

herbert:/home/herbert# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50]/ etch contrib main

deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
herbert:/home/herbert# apt-get update
Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50] etch Release.gpg
Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50] etch Release
Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50] etch/contrib Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 4.0 r3 _Etch_ - Official i386 CD Binary-1 20080217-11:50] etch/main Packages/DiffIndex
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://security.debian.org etch/updates Release [37.6kB]
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/main Sources/DiffIndex
Ign http://security.debian.org etch/updates/contrib Sources/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org etch/updates/main Sources
Hit http://security.debian.org etch/updates/contrib Sources
Fetched 37.8kB in 4s (9429B/s)
Reading package lists... Done

Any further orientation will be appreciated.
 
Old 06-23-2008, 02:15 PM   #4
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
As root, edit the /etc/apt/sources.list and add these lines at the end:

Code:
deb http://ftp.de.debian.org/debian/ etch main pool/main

deb http://volatile.debian.org/debian-volatile etch/volatile main contrib
deb http://mirrors.kernel.org/debian/ etch main contrib non-free

deb http://www.backports.org/debian/ etch-backports main contrib non-free
deb http://www.debian-multimedia.org etch main
Also, I see that you only have one DVD registered in the sources list.
Run in the konsole as root apt-cdrom, am put every DVD in your DVD-ROM to register the packages from your DVD's (the easy way: synaptic-> Settings -> Repositories an press Add CdRom for every single DVD you have for Debian 4.0r3 etch).

Afterwards:
Code:
    apt-get clean
    apt-get update
Run Synaptic to install or update anything.

Have fun and ask if u need anymore help

Cheers!
 
Old 06-23-2008, 02:46 PM   #5
masinick
Member
 
Registered: Apr 2002
Location: Concord, NH
Distribution: Debian, sidux, antiX, SimplyMEPIS, Kubuntu, Mandriva, Fedora, Xandros, Arch, and many others
Posts: 560
Blog Entries: 14

Rep: Reputation: 35
Installing packages for specific file types

Quote:
Originally Posted by liamkincaid25 View Post
I am using Debian for a few days now. I want to install Firefox and kopete but do not know how. I dowloaded kopete an appears as a .deb file, firefox appear as a .tar.bz2 file. I did something trying to install the programs but nothing works. The best I got was seeing the icon for kopete but when I click on it nothing happens, Synaptic package management tells me it is a broken and is marked red (not good obviously). How do I install programs in debian (is different than with windows where programs comes with .exe). Any help will be appreciated.
The suggestions given in the other posts are good. No reason to HAVE to deal with .deb or .tar.gz or .tar.bz2 packages. However, there are ways to handle them, so in case you still want to know how, here is how. For .deb packages, you have to assume root administrator privileges before you can operate on deb files. You can do that by running the command su and providing the root password, you can run the command sudo followed by an command, then provide the root password at a prompt, or you can login as root.

To directly install a .deb package that you have downloaded onto your local system, from root (using any method above or whatever other mechanisms may be available) type:

dpkg -i package-name.deb

To build a .tar.bz2 file into an application, you may not need to become root as long as you can install it into a directory within your home user account. You can, if you wish, install a Firefox.tar.bz2 file right into a Firefox directory beneath ~, your home directory.

tar xvf firefox.tar.bz2 (use whatever file name you downloaded). To get a .tar.gz file, you can optionally add the z flag, eg. tar zxvf firefox.tar.gz. To do the same with a .bz2 file, use the j option instead of the z option. Recent experiments with the latest version of GNU tar indicate that you no longer need to specify the extract compression type - tar will figure it out from the file name, which is why tar xvf works. x specifies to extract a file, v specifies that you want to see a display of each file in the archive (omit this if you do not want to see what tar is extracting) and f to specify the file, which is the next argument.

On the dpkg command, -i installs the named package. The dpkg tool is the underlying tool used by apt-get, aptitude, kpackage, synaptic, and other Debian package managers.

I hope this extra information adds to your understanding of handling different types of installation packages. With Debian, since it has such a full repository of applications, you need not use these techniques unless you want to bring in software from other sources as well as the default Debian binaries.

If I can be of further help or if I can clarify anything that is confusing, do not hesitate to write back.
 
Old 06-29-2008, 06:52 PM   #6
liamkincaid25
Member
 
Registered: Apr 2002
Location: puerto rico
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by LordAnta View Post
As root, edit the /etc/apt/sources.list and add these lines at the end:

[

Cheers!
Well it took me a while to come back and I am sorry for that. Thank you for your advice. Forgive the constant questions ( I guess that is the burden of a newbie) BUt how do you access the source list to edit it LordAnta?
Masinik I tried your advice with the kopete package (which is a deb and it did not work) maybe something to do with installing the kde package as LordAnta mentions?
I opened terminal and logged as sudo typed /etc/apt/sources.list and told me that permission was denied. Apparently I am not logged as root I also tried sudo su but then message was that I will be reported for lack of authorization ( reported to whom ? My mom? this is my pc and I installed the OS!!!!! lol)

Last edited by liamkincaid25; 06-29-2008 at 07:02 PM.
 
Old 06-29-2008, 11:09 PM   #7
souneedalink
Member
 
Registered: Jan 2008
Posts: 39

Rep: Reputation: 15
su
nano /etc/apt/sources.list


.

Last edited by souneedalink; 07-02-2008 at 12:25 AM.
 
Old 07-02-2008, 12:12 AM   #8
LordAnta
Member
 
Registered: Apr 2008
Location: Bucharest, Romania
Distribution: Slackware current
Posts: 126

Rep: Reputation: 17
Code:
 sudo nano /etc/apt/sources.list
or

Code:
 sudo vi /etc/apt/sources.list
or

Code:
 sudo mcedit /etc/apt/sources.list
Kopete is part of the KDE window manager. If you want to run it you need to have: kdelibs,qt and another package from kde.

Last edited by LordAnta; 07-02-2008 at 12:14 AM.
 
  


Reply

Tags
programs


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
Fedora 8 - install error - starting anaconda install exited abnormally???? Simmo512 Fedora 2 08-01-2008 12:40 PM
Red Hat Linux 9 install: error "No devices found to install ... gunneszz Red Hat 1 03-10-2008 05:52 AM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 06:16 PM
How to install teh rest of the Linux packages from USB drive after install? ArchW Linux - Newbie 4 03-07-2006 09:43 AM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp Suse/Novell 5 05-09-2005 01:07 AM


All times are GMT -5. The time now is 11:53 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration