Posts: 45
Colonel Panic
Joined: 14 Mar 2010
#1
Hi. I've installed AntiX 12 recently and would like to install a couple of the apps I've seen in other Debian-based distros, such as Qalculate (the queer calculator).

Could someone please tell me how I could find and access the repos necessary to do this? When using AntiX in the past I've only ever previously used the repos which are linked automatically by default.

Thanks in advance,

CP .
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Qalculate is in Debian Testing so it should install with a simple
apt-get install qalculate-gtk

What repos do you want to use?
duncan_mk
Posts: 137
duncan_mk
Joined: 19 Sep 2012
#3
I'm not an expert on these things but, if you know the URL of the repo with the .deb package you want in, bring up the applications menu (usually right click on the desktop), select Applications --> Other --> Synaptic Package Manager.

When this comes up: Settings --> Repositories --> New - and take it from there.

But, qalculate is in the repositories already listed - make sure that htip//:ftp.gr.debian.org/debian/ is checked & run a search for qalc!

Good luck

dmk
Posts: 45
Colonel Panic
Joined: 14 Mar 2010
#4
duncan_mk wrote:I'm not an expert on these things but, if you know the URL of the repo with the .deb package you want in, bring up the applications menu (usually right click on the desktop), select Applications --> Other --> Synaptic Package Manager.

When this comes up: Settings --> Repositories --> New - and take it from there.

But, qalculate is in the repositories already listed - make sure that htip//:ftp.gr.debian.org/debian/ is checked & run a search for qalc!

Good luck

dmk
To both,

Thanks a lot for your advice (and anticapitalista - it was the -gtk on the end of qalculate I was missing!).

Cheers,

CP .
Posts: 137
duncan_mk
Joined: 19 Sep 2012
#5
This is slightly off target but looking in the etc/bash.bashrc file I found a reference to command-not-found. I've been used to having this (as cnf) on SuSE. It is not installed by default - become su and apt-get install command-not-found

Its use is pretty much transparent. Type a command:

dmk-antiX@antiX1:~
$ 2ping test.2ping.net
The program '2ping' is currently not installed. To run '2ping' please ask your administrator to install the package '2ping' # (command-not-found recognises that 2ping is a valid command & that it is in a repository)
2ping: command not found

Become root:

dmk-antiX@antiX1:~
$ su
Password:

And Bob's your Uncle

root@antiX1:/home/dmk-antiX
# 2ping
The program '2ping' is currently not installed. You can install it by typing:
apt-get install 2ping
2ping: command not found

There is virtually no documentation for this - there is no man page for it in antiX, although there is the document:

/usr/share/doc/command-not-found/README

And typing command-not-found -h brings up the (minimal) options available. There is a document at:

htpps://wiki.ubuntu.com/CommandNotFoundMagic

And there are some other bits & pieces around WWW but they are difficult to find (Google doesn't differentiate between command-not-found and command not found) - although I did find someone who described it as a"--- horrible Ubuntu misfeature ---"..

It is imperfect. The SuSE version (cnf) is much slicker, and try this

dmk-antiX@antiX1:~
$ lynx
The program 'lynx' is currently not installed. To run 'lynx' please ask your administrator to install the package 'lynx-cur'
lynx: command not found

dmk-antiX@antiX1:~
$ qalculate
qalculate: command not found

dmk-antiX@antiX1:~
$ qalculate-gtk
The program 'qalculate-gtk' is currently not installed. To run 'qalculate-gtk' please ask your administrator to install the package 'qalculate-gtk'
qalculate-gtk: command not found

SO, command-not-found knows that lynx is a command & knows where it is (lynx-cur) but is throwen by qalculate (qalculate-gtk). My best guess is that command-not-found is not as bad as a a 'misfeature' but could be better. It may be a useful addition to the terminal, but the best place to hunt for software remains the Synaptics Package Manager!

Hope this helps.

dmk