View previous topic :: View next topic |
was this helpful? |
yes and i would like to see more |
|
50% |
[ 3 ] |
yes and i would like to see more |
|
50% |
[ 3 ] |
no and i think this should end now! |
|
0% |
[ 0 ] |
|
Total Votes : 6 |
|
Author |
Message |
hurt
Site Admin

Posts: 84
Joined: 08 Jan 2003
Location: kingston
|
Posted: Fri Aug 08, 2003 11:38 pm Post subject: finding fun stuff with apt-get |
 |
|
alright here are some quick tips on having fun with apt-get;
always so a apt-get update before doing these
1. "apt-cache search var" - this will search everything what your enter as var.
2. "apt-cache show package name" - will show info about the package name you enter.
3. "apt-get install package name" - if you want to play with that.
one other thing that gets allot of people allot is that package name is now what you run. so i find if you cant find command to run it, just as root do a "find / -iname some small part of the package name". this will usually give you a good idea of what the command is.
_________________
.<insertasubliminalmessagehere>
Last edited by hurt on Sun Aug 10, 2003 7:28 pm; edited 2 times in total |
|
Back to top |
|
 |
tragedy
Site Admin

Posts: 46
Joined: 10 Jan 2003
Location: kingston!
|
Posted: Sun Aug 10, 2003 10:14 am Post subject: |
 |
|
what a great tip hehe 
_________________
chicks dig unix! |
|
Back to top |
|
 |
eccentric
Site Admin

Posts: 76
Joined: 08 Jan 2003
Location: Kingston, ON
|
Posted: Tue Aug 12, 2003 8:59 am Post subject: apt-get + dpkg |
 |
|
Just to add a couple of things that are also handy 
dpkg -L pacakge name - will list all of the files installed by the package.
dpkg -S file name - will tell you what package a file came from
And to find the file to actually run the installed package just do a grep for /bin on the dpkg -L command like so:
dpkg -L package name | grep "/bin/" |
|
Back to top |
|
 |
hurt
Site Admin

Posts: 84
Joined: 08 Jan 2003
Location: kingston
|
Posted: Wed Aug 13, 2003 6:10 pm Post subject: Re: apt-get + dpkg |
 |
|
eccentric wrote: |
dpkg -L package name | grep "/bin/" |
now that is handy!
_________________
.<insertasubliminalmessagehere>
|
|
Back to top |
|
 |
|