LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Getting specific packages with slapt-get (https://www.linuxquestions.org/questions/slackware-14/getting-specific-packages-with-slapt-get-172346/)

nmoog 04-20-2004 12:38 AM

Getting specific packages with slapt-get
 
Hi, newbie question here-

I am using slapt-get to get packages. I want to get Python, but if i do

slapt-get --search python

I get pages of results eg:
python 2.3.1-i486-1 [inst=no]: python (object-oriented interpreted programming language)
python-demo 2.3.1-noarch-1 [inst=no]: python-demo (Sample Python programs)
python-tools 2.3.1-noarch-1 [inst=no]: python-tools (Tools for building or extending Python)
kdebindings 3.2.1-i486-1 [inst=no]: kdebindings
etc etc....

how can I specify WHICH one I want? If I do

slapt-get --search "python 2.3.1-i486-1"

it doesnt find anything. How do you do expressions with slapt-get?

Thanks

mrcheeks 04-20-2004 01:42 AM

add a pipe after the command or do a man slap-get

nmoog 04-20-2004 07:25 AM

Sorry, I dont think I explained that fully. What I need is to be able to specify one of the options to install - like:

slapt-get --install "python 2.3.etcetc"

There is nothing in the man pages about it - it just says to use:

slapt-get --install [expression]

And i dont know what an [expression] looks like! Im assuming its a regular expression, but I dont know what format it would be in.

Ninja Cow 04-20-2004 08:08 AM

slapt-get --install python* should do the trick.


All times are GMT -5. The time now is 09:57 AM.