LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-get (https://www.linuxquestions.org/questions/linux-software-2/apt-get-92081/)

doralsoral 09-12-2003 02:23 PM

apt-get
 
anyone know where i can get apt-get from?

XavierP 09-12-2003 02:31 PM

Have you tried Google?

Try putting in apt-get rpm or apt4rpm.

BigNate 09-13-2003 07:40 AM

apt.freshrpms.net

select the RH9 rpm ro d/l

then from the command line cd to the dir where you saved it and as root

#rpm -ivh apt-blah.rpm
#apt-get update
#apt-get install synaptic
#synaptic

acid_kewpie 09-13-2003 08:01 AM

i recently installed redhat for the missus, and tried this apt-get thing.... is it me or is it completely rubbish? found a few additional apt sites to add to it, but it still has next to nothing worth installing.... are there some good sites other than ayo? that's as opposed to gentoo, which has over 40,000 packages ready and waiting on a single mirrored network.

BigNate 09-13-2003 08:11 AM

Well, I really like it.

Here is my sources.list

### Red Hat Linux 9
rpm http://ayo.freshrpms.net redhat/9/i386 os updates freshrpms

### Dag Apt Repository for Red Hat 9
rpm http://apt.sw.be redhat/9/en/i386 dag

### linuxwiki.org - a german repo
rpm http://ftp-stud.fht-esslingen.de/apt redhat/9/i386 os updates

### vlug - another repo
rpm http://vlugnet.org/apt redhat/9/en/i386 inoupdates vlugrpms

I have not found too many mainstream packages that I cannot get with these. Of course beta and obscure stuff will still need to be built by hand. ( infact vlug now has XFce4, which is great).

Is she using synaptic? I like synaptic for the newer-user b/c it allows them to look thru lists of packages and select ones they may want to try...for a more advanced user I recommend "apt-cache search ~search_term". It is console based and so much less of a system hog to go that route. I dunno, I use it all the time for sys maint, upgrade etc...it's intended feature is mostly dep resolution for which it does a bang up job. And if you always want the newest release "apt-get update" then apt-get update" will search the repos for any packages that are newer then the ones you are currently running. try it, see what you think.

mikeshn 09-13-2003 08:28 AM

I installed apt-get and use some times. My question is: When I run update or make install, does the apt-get looks for every repository or just one? If just one repository, can I add another repository to apt-get?

BigNate 09-13-2003 08:34 AM

well firstly you do NOT use the make utility for apt. :) Just install. secondly, it will search all the rpos in your /etc/apt/sources.list. So check that file and add any repos you like then run apt-get update so it can cache all the available packages (see above for mine). And thirdly a "best-practice" usage of update is before any install. so:

#apt-get update
#apt-get install $pkg_name

acid_kewpie 09-13-2003 08:35 AM

well dag was the other one i had. i guess i'll look at those other two, not like i really need it, more the principle of it... ahhhh portage... my friend!

BigNate 09-13-2003 08:39 AM

I have not used gentoo for any real amount of time. I like the high config ability during a stage1 install but I really haven't the time :) I believe the only 2 times I installed gentoo I was late for work the next day b/c I had spent a couple of late nights with install only to wake up to compile errors. Someday though I will fool with it some more, after I try ARCH, and JAMD and ***BSD and ... :)

deepsix 09-13-2003 06:10 PM

Quote:

Originally posted by acid_kewpie
well dag was the other one i had. i guess i'll look at those other two, not like i really need it, more the principle of it... ahhhh portage... my friend!

i agree with you about portage.....but if apt takes off we'll start seeing more apt repositories and problably a way to install from any site that contains rpms.........
for newbies this sorta helps them out and gives them something to look forward to ........

Im sure you already know about synaptic and changing the repository list ......you could change it to install any package from anysite as is......but as of now it would be faster to just dowload the src.....and compile


All times are GMT -5. The time now is 01:10 PM.