On Monday 25 October 2010 09:00:04 [email protected] wrote:
> > If I have an application that I wish to install --- a crossword compiler
> > in this case and I have the download on the desktop --- it's a .tgz file
> > --- is there an apt-get command 9or variation) that will install it?
> 
> A little off-topic, but since three others have answered the question
> directly I see no harm in a slight deviation -- the use of apt-get for
> software installation/upgrades is deprecated. aptitude has numerous
> advantages, including more advanced dependency handling and a
> curses-based interactive interface, and is generally considered (by
> Debian at least) to have replaced apt-get for everything except
> downloading source code.
> 
> Ubuntu 10.10 has, highly frustratingly, removed aptitude from the
> installation CD, so if you're on a clean install of Maverick you need
> to do apt-get install aptitude before using it.

I avoid the (aptitude) tools (as point 2 will wax lyrical about) but I believe 
aptitude is depreciated and the apt-tools are the real deal. Will somebody 
confirm please.

There are two approaches here:
Magic Recipe: there have been numerous replies
Understanding: you *can* ignore the package manager and do the
make
make install (as root or by sudo)

That gives you the app and you can use it
or you can

make
checkinstall 

but you should explore apt-cache search blazot to see how that works
and you probably need 
apt-get install build-essential
apt-get install checkinstall
to do the above

checkinstall installs your app, and creates a .deb file that allows you to use 
the package manager and manages that with the package manager allowing you (as 
posted) to do
apt-get remove blazot

blazot is just some arbitary name

I feel (for me anyway) that short magic recipe answers are not helpful. ie 
give a man a fish vs teach him to go fishing

All of the abouve apt-stuff can be achieved by synaptic, a gui package manager.
James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to