LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 08-08-2010, 10:55 AM   #1
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Rep: Reputation: 32
debian lacks some commands when first installed


last time i used debian it was missing some commands that were necessary for the stuff i was trying to install on it

debian has no software repositories (not as extensive as ubuntu but i guess thats why its so user friendly) and finding depencancies that are up to date is really hard seeing as though that the ubuntu site says is out of date

one of the commands that i really wished was on there was the MAKE commands
like make
make install
and i guess there are other make commands but is there an easy way (i am more than willing to try it the hard way if i have to)
 
Old 08-08-2010, 10:58 AM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
aptitude install build-essential
 
Old 08-08-2010, 11:03 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Make (and other development tools) is not part of the default installation, but can easily be installed: Debian Linux Install GNU GCC Compiler and Development Environment

Hope this helps.
 
Old 08-08-2010, 11:08 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
debian has no software repositories (not as extensive as ubuntu but i guess thats why its so user friendly) and finding depencancies that are up to date is really hard seeing as though that the ubuntu site says is out of date
WTF?.

Debian has many possible repositories,see the list here:

http://sites.google.com/site/mydebiansourceslist/

Quote:
one of the commands that i really wished was on there was the MAKE commands
Code:
ade@Pc1:~$ aptitude show make
Package: make                            
State: installed
Automatically installed: yes
Version: 3.81-8
Priority: optional
Section: devel
Edit:I believe this is shown up as automatically installed as it is a dependency of build-essential:

Code:
ade@Pc1:~$ aptitude show build-essential
Package: build-essential                 
State: installed
Automatically installed: no
Version: 11.5
Priority: optional
Section: devel
Maintainer: Matthias Klose <doko@debian.org>
Uncompressed Size: 49.2k
Depends: libc6-dev | libc-dev, gcc (>= 4:4.4.3), g++ (>= 4:4.4.3), make, dpkg-dev (>= 1.13.5)
Description: Informational list of build-essential packages
 If you do not plan to build Debian packages, you don't need this package.  Starting with dpkg (>=
 1.14.18) this package is required for building Debian packages.

Last edited by the trooper; 08-08-2010 at 11:31 AM.
 
Old 08-08-2010, 11:09 AM   #5
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
Quote:
debian has no software repositories
This is absolutely wrong. Take a look here.

Quote:
finding depencancies that are up to date is really hard seeing as though that the ubuntu site says is out of date
I have no idea what you mean by this. Debian's package manager is the same as ubuntu's. Exactly. The. Same.

Code:
apt-get update
apt-get upgrade
apt-cache search <guess-the-packagename>
apt-get install <packagename>
 
Old 08-08-2010, 11:33 AM   #6
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
yeah apt-get requires the internet is there a way to get the essential builds without the internet (the computers i sometimes install OSs on don't have internet (except for wirless but the wireless drivers aren't there)
 
Old 08-08-2010, 11:38 AM   #7
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
From http://www.debian.org/distrib/ :

Quote:
Download larger CD/DVD image files, record and install using that media only.

The CD/DVD images can be downloaded using HTTP/FTP, BitTorrent, or Jigdo.

The large CD and DVD images contain more packages, making it easier to install machines without an Internet connection. However, if you get a whole set of CDs or DVDs, you will get a lot of packages that you won't actually use.

Buy a set of CDs or DVDs from one of the vendors selling Debian CDs and install from it.

Many of the vendors sell the distribution for less than US$5 plus shipping (check their web page to see if they ship internationally).
Some of the books about Debian come with CDs, too.

Here are the basic advantages of CDs prepared by someone else:

Installation from a CD set is more straightforward.
You can install on machines without an Internet connection.
You can install Debian (on as many machines as you like) without downloading all packages yourself.
The CD can be used to more easily rescue a damaged Debian system.
EDIT: If you download or buy the entire set (31 CD's) you can install any/all possible official Debian packages without ever connecting to the internet.

Last edited by brucehinrichs; 08-08-2010 at 11:40 AM.
 
Old 08-08-2010, 11:38 AM   #8
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Originally Posted by baronobeefdip View Post
yeah apt-get requires the internet is there a way to get the essential builds without the internet (the computers i sometimes install OSs on don't have internet (except for wirless but the wireless drivers aren't there)
If you have an install disc you might find it there dependent on which one you have.

Other than that you could download the build-essential .deb package on a machine that does have an internet connection and save the file to a usb flash drive.Then install the file on your Debian machine from the flash drive.
 
Old 08-08-2010, 11:46 AM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I just checked DVD 1 (5.0.5 / lenny) and it is present on that one.
 
1 members found this post helpful.
Old 08-08-2010, 12:22 PM   #10
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
kool which cd image is it present on
 
Old 08-08-2010, 12:28 PM   #11
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I only have that one DVD.

But you can check yourself, search for build-essential on the cd('s) you have.

Hope this helps.
 
Old 08-08-2010, 12:32 PM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
There are a few ways to install packages on a computer that isn't connected to the internet.

Welcome to Sushi, huh? package downloader for offline GNU/Linux systems
Quote:
Sushi, huh? is a program that allows downloading all the packages needed to install the programs you want on GNU/Linux without an Internet connection on your own computer.
Sushi, huh? is designed for people, which for example can not afford monthly Internet connection.
As installing software on GNU/Linux is a hard and complex process for those newcomers to the world of GNU/Linux, which itself does not have an Internet connection, Sushi, huh? simplifies this task, making it as automatically as possible.
Keryx Project « Updates for offline Linux users
Quote:
Keryx is a portable, cross-platform package manager for APT-based (Ubuntu, Debian) systems. It provides a graphical interface for gathering updates, packages, and dependencies for offline computers. Keryx is free and open source.
apt-zip
Description: Update a non-networked computer using apt and removable media
These scripts simplify the process of using dselect and apt on a
non-networked Debian box, using removable media like ZIP floppies and
USB keys.
One generates a `fetch' script (supporting backends such as wget and
lftp, in a modular, extensible way) to be run on a host with better
connectivity, check space constraints of your removable media, and
then install the package on your Debian box.
Homepage: http://alioth.debian.org/projects/apt-zip

APT HOWTO Basic Configuration
Quote:
Adding a CD-ROM to the sources.list file

If you'd rather use your CD-ROM for installing packages or updating your system automatically with APT, you can put it in your sources.list. To do so, you can use the apt-cdrom program like this:

# apt-cdrom add

with the Debian CD-ROM in the drive. It will mount the CD-ROM, and if it's a valid Debian CD it will look for package information on the disk. If your CD-ROM configuration is a little unusual, you can also use the following options:

-h - program help
-d directory - CD-ROM mount point
-r - Rename a recognized CD-ROM
-m - No mounting
-f - Fast mode, don't check package files
-a - Thorough scan mode

For example:

# apt-cdrom -d /home/kov/mycdrom add

You can also identify a CD-ROM, without adding it to your list:

# apt-cdrom ident
AptCdrom - Community Ubuntu Documentation https://help.ubuntu.com/community/AptCdrom

BTW Debian has just as many if not more packages than Ubuntu. Synaptic shows I have 30,583 packages available.

Last edited by craigevil; 08-08-2010 at 12:34 PM.
 
Old 08-08-2010, 12:34 PM   #13
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
where do i check to see what packages of software are on each cd other than cd #1
 
Old 08-08-2010, 12:39 PM   #14
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I do assume that the directory structure is somewhat the same on cd/dvd 2 and higher compared to cd/dvd 1.

If so: pool/main/b/ should hold a build-essential directory.

If not: Do a search on the whole cd as proposed in post #11.

Hope this helps.
 
Old 08-08-2010, 03:28 PM   #15
baronobeefdip
Senior Member
 
Registered: Jul 2009
Distribution: Debian Squeeze
Posts: 1,267

Original Poster
Rep: Reputation: 32
its alot more convenient to know what software packages are on the disk before i download it
 
  


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
[SOLVED] Capture a list of all installed commands worm5252 Linux - Newbie 7 01-30-2010 05:26 PM
GCC installed but not in the $PATH. No commands possible. redhat5 Linux - Newbie 22 07-29-2009 08:26 AM
I installed Wine and configure this at Debian 4.0 r1.I installed windows software hassancemk Linux - Software 2 04-01-2008 11:28 PM
DEBIAN widescreen intel 915: lacks a config utility? maxhaase Debian 1 04-06-2006 08:02 AM
Commands not installed? Drader Linux - Newbie 3 02-01-2004 11:43 PM

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

All times are GMT -5. The time now is 10:53 PM.

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