Author Topic: Compile or package  (Read 1287 times)

0 Members and 1 Guest are viewing this topic.

Emegra

  • Guest
Compile or package
« on: April 05, 2013, 05:33:26 pm »
Hi guys

I want to install a program to my Grand-Daughters PC called anagramarama which I think might
help her with learning words, the problem is the program is only available as a
tarbal(tar.bz)  which I believe means i have to compile it from source (something I've never done before)


Having researched this as best I could It seems I have 2 options

option(1) would be to compile from source using these instructions

http://www.tuxfiles.org/linuxhelp/softinstall.html

Option(2) Create a .deb package as per these instructions

http://community.linuxmint.com/tutorial/view/162

of the 2 options I prefer the second because assuming i'm understand this right if I create
a .deb file I can easily uninstall it if i decide i don't want it anymore or at least easier
than I could if i used the first option, also it would be easier to install the package to
another PC or reinstall to the same PC if I ever upgraded the OS.

All this depends on whether or not creating a .deb package is as simple as it appears to be on option 2 and that I'm understanding this correctly



As this is unfamiliar territory for me I would appreciate any advice anyone can offer before I screw up big time


Many thanks


Graeme

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16979
  • Karma: 429
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Compile or package
« Reply #1 on: April 05, 2013, 06:05:23 pm »
Or even better .. Option 3.

Make sure you have the "universe" repository activated .. then install it through your package manager, or with:
Code: [Select]
sudo apt-get install anagramarama

ALWAYS check if something is available from the repositories BEFORE attempting to download/install it from the interweb ;)

--
« Last Edit: April 05, 2013, 06:19:19 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: Compile or package
« Reply #2 on: April 05, 2013, 07:20:44 pm »
Ok after giving it some considerable thought I went for option 3 and it was probably a bit simpler than either of my original options would have been


Quote
ALWAYS check if something is available from the repositories BEFORE attempting to download/install it from the interweb

In my defence, I searched in synaptic but I must have spelt it wrong because it didn't show up so I assumed it just wasn't available in the repos

Anyway before I make myself look any more of an idiot, I'll thank you for your help and mark this solved or preferably delete the whole thread :)


Graeme

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 16979
  • Karma: 429
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Compile or package
« Reply #3 on: April 05, 2013, 10:11:52 pm »
Heh .. we all do it .. I know I have ;)

[EDIT]

I assume you're working in Peppermint 3 ?

if so, have you got apt-xapian-index installed ?

That will give you a "Quick Search (Filter)" in Synaptic that starts showing results as you type .. install it from the command line with:
Code: [Select]
sudo apt-get install apt-xapian-index && sudo update-apt-xapian-index
Which will install it, then update its database.

then open Synaptic, and look on the toolbar for "Quick Filter" and type anag .. see anagramarama is listed below :)
« Last Edit: April 05, 2013, 10:22:36 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Emegra

  • Guest
Re: Compile or package
« Reply #4 on: April 05, 2013, 10:51:37 pm »
Quote
I assume you're working in Peppermint 3 ?
Yes

Quote
if so, have you got apt-xapian-index installed ?

I'm sure I have it on this PC but not on Chloe's because this PC does make predictions as I I search in synaptic whereas Chloe's doesn't, but I'll definitely make sure I have it installed on all my PC's

Thanks for you'r advice


Graeme

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal