| Author |
Message |
Pmotea
|
|
Post subject: deb command?
Posted: Feb 28, 2008 - 07:57 AM
|
|
Joined: Feb 21, 2008
Posts: 9
Status: Offline
|
|
I've seen "deb" command used a lot in this forum. but when I run this command, it shows an error:
bash: deb: command not found
Shall I download any packages to run this command? |
|
|
| |
|
|
|
 |
bkashaf
|
|
Post subject: RE: deb command?
Posted: Mar 02, 2008 - 01:23 PM
|
|
Forum Moderator

Joined: Jun 20, 2007
Posts: 196
Location: Iran-Rasht
Status: Offline
|
|
What are you expecting it to do  |
_________________ " There is nothing more wonderful in the world than the feeling you get from sharing. and there is no grater happiness than the Warmth you get from loving." _ j.Russell Morrison
|
| |
|
|
|
 |
xet7
|
|
Post subject: RE: deb command?
Posted: Mar 04, 2008 - 07:42 PM
|
|
Forum Moderator

Joined: Feb 20, 2008
Posts: 205
Location: Finland
Status: Offline
|
|
Hi,
there is no command deb, but here is what it means:
Debian packages are named like package.deb (like skype.deb etc)
so you can then install them as root by typing:
dpkg -i package.deb
- but this is needed only, if the package isn't already in any repositories
that are included.
You can read more about dpkg and other commands by typing
man dpkg (or man othercommand)
But usually you use apt-get like this:
apt-get update (updates list of packages)
apt-get upgrade (downloads and installs all updates)
apt-cache search firefox (search for package, example used is firefox)
apt-get install mozilla-firefox (installs package)
apt-get remove mozilla-firefox (removes package)
The repositories where programs are searched are listed in text file:
/etc/apt/sources.list
You can add more repositories (like wine from www.winehq.org) with text editor,
or you can use Synaptic GUI to do all this in graphical interface.
Synaptict is in System menu, if not you can install it with:
apt-get install synaptic
Have fun! |
|
|
| |
|
|
|
 |
bkashaf
|
|
Post subject: RE: deb command?
Posted: Mar 05, 2008 - 01:26 PM
|
|
Forum Moderator

Joined: Jun 20, 2007
Posts: 196
Location: Iran-Rasht
Status: Offline
|
|
Hi , good
..............
A Debian repository is a set of Debian packages organized in a special directory tree which also contains a few additional files containing indexes and checksums of the packages. If a user adds a repository to his /etc/apt/sources.list file, he can easily view and install all the packages available in it just like the packages contained in Debian.
A repository can be both online and offline (for example on a CD-ROM), although the former is the more common case.
This document explains how Debian repositories work, how to create them, and how to add them to the sources.list correctly. and for example you can see " how to install Skype "
Have a nice day  |
_________________ " There is nothing more wonderful in the world than the feeling you get from sharing. and there is no grater happiness than the Warmth you get from loving." _ j.Russell Morrison
|
| |
|
|
|
 |
|
|
|
|