Page Loading... please wait!

The page still does not show? Click here
 

Home :: Forums :: FAQ :: Search
MemberlistMemberlist  UsergroupsUsergroups  ProfileProfile  Log in to check your private messagesLog in to check your private messages  Log inLog in   RegisterRegister

finding fun stuff with apt-get

 
Post new topic   Reply to topic    linuxslut.net Forum Index -> apt-get help
View previous topic :: View next topic  

was this helpful?
yes and i would like to see more
50%
 50%  [ 3 ]
yes and i would like to see more
50%
 50%  [ 3 ]
no and i think this should end now!
0%
 0%  [ 0 ]
Total Votes : 6

Author Message
hurt
Site Admin




Posts: 84
Joined: 08 Jan 2003
Location: kingston
PostPosted: Fri Aug 08, 2003 11:38 pm    Post subject: finding fun stuff with apt-get Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
tragedy
Site Admin




Posts: 46
Joined: 10 Jan 2003
Location: kingston!
PostPosted: Sun Aug 10, 2003 10:14 am    Post subject: Reply with quote

what a great tip hehe Smile
_________________
chicks dig unix!
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
eccentric
Site Admin




Posts: 76
Joined: 08 Jan 2003
Location: Kingston, ON
PostPosted: Tue Aug 12, 2003 8:59 am    Post subject: apt-get + dpkg Reply with quote

Just to add a couple of things that are also handy Smile

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
View user's profile Send private message Send e-mail Visit poster's website
hurt
Site Admin




Posts: 84
Joined: 08 Jan 2003
Location: kingston
PostPosted: Wed Aug 13, 2003 6:10 pm    Post subject: Re: apt-get + dpkg Reply with quote

eccentric wrote:


dpkg -L package name | grep "/bin/"


now that is handy!
_________________
.<insertasubliminalmessagehere>
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger

Display posts from previous:   

Post new topic   Reply to topic    linuxslut.net Forum Index -> apt-get help All times are GMT - 5 Hours
Page 1 of 1
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.11 © 2001, 2002 The phpBB Group
Themed by aallixSilver © 2002 aallix.com. All rights reserved.