Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Does the program you are trying to compile actually have a Makefile to install it with? There should be a readme or installation guide included with so have a look at that for specific instructions for that program. Failing that, post the out put of
Distribution: Ubuntu, Debian, Various using VMWare
That looks right. What software are you trying to install? The problem is that there is no makefile in the directory that you are in, so it is possible that you are not supposed to make. Look in that directory, and see if there is a README or INSTALL.TXT (or similar) and read that.
On a side not, I tend to think that it is better to install programs using your distros package manager rather than compiling. On Fedora, Yum is quite good, as is its graphical frontend Pirut.
Ok the program I am trying to make is a GNU program called Parted. I will post the installation instructions I followed from reading INSTALL and README
Originally Posted by INSTALL
These are generic installation instructions.
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring. (Caching is
disabled by default to prevent problems with accidental use of stale
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.
The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'. You only need
`configure.ac' if you want to change it or regenerate `configure' using
a newer version of `autoconf'.
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
4. Type `make install' to install the programs and any data files and
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Originally Posted by README
GNU Parted is a program for creating, destroying, resizing, checking and
copying partitions, and the filesystems on them. This is useful for creating
space for new operating systems, reorganising disk usage, copying data between
hard disks, and disk imaging.
* documentation is in the doc/ directory. The User's documentation is in
texinfo format, and is built into a format viewable by info/pinfo when
you run make. i.e.
$ cd doc
$ info -f parted.info
Yes, it sucks that you need to run ./configure before you can read the manual.
If you have problems with it, doc/parted.texi should be fairly easy to read,
just a bit less userfriendly.
If you prefer html format, you can run: