apt-get - Printable Version +- Linux-Noob Forums (https://www.linux-noob.com/forums) +-- Forum: Windows Noob (https://www.linux-noob.com/forums/forum-5.html) +--- Forum: How Do I? (https://www.linux-noob.com/forums/forum-70.html) +--- Thread: apt-get (/thread-3777.html) |
apt-get - tek-69 - 2004-01-09 I really like apt-get and was wondering how exactly it works. for exmple i wanted mplayer so all i did was type apt-get install mplayer. How did that work ? is mplayer included in apt and i was just lucky or will this work with other programs too? Does it have a list of programs somewhere ? apt-get - hijinks - 2004-01-09 apt-get looks at apt reposistories that you have listed in your /etc/apt/sources.list file. When you run an apt-get update it will go visit all of the sites and pull down the compiled list of all of the avialable rpms on those sites and make them local on your computer. So thats why if you need to do an apt-get upgrade ALWAYS do an apt-get update first. You want to be sure your local copy matches what the apt sites have on their side. There is an easy way to search with apt. Say I was looking for something to stop spam on my mailserver but not sure if there's anything avaliable. I can run this command apt-cache search spam and that'll show me everything that has spam in the title and description. look into installing synaptic apt-get install synaptic thats a nice gui tool for apt apt-get - tek-69 - 2004-01-09 [root@localhost root]# apt-get upgrade Reading Package Lists... Done Building Dependency Tree... Done The following packages will be upgraded ethereal ethereal-gnome The following packages have been kept back gaim grip gstreamer-plugins gstreamer-plugins-devel gthumb sylpheed 2 packages upgraded, 0 newly installed, 0 removed and 6 not upgraded. Need to get 5896kB of archives. After unpacking 340kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 [/url]http://ayo.freshrpms.net redhat/9/i386/updates ethereal-gnome 0.10.0a-0.90.1 [2568kB] Get:2 [url=http://ayo.freshrpms.net]http://ayo.freshrpms.net redhat/9/i386/updates ethereal 0.10.0a-0.90.1 [3329kB] Fetched 5896kB in 30s (194kB/s) Executing RPM (-Uvh)... Preparing... ########################################### [100%] 1:ethereal-gnome ########################################### [ 50%] 2:ethereal ########################################### [100%] So why and how does apt decide what to "keep back" ? is there a way for me to not keep it back? Wish this prog had a man file *sigh* have fun tek apt-get - hijinks - 2004-01-09 you can do a apt-get dist-upgrade that should upgrade those rpms apt-get - marlenus - 2004-01-30 what distro has apt-get included? im running fedora core 1 and there is no such command as apt-get [root@fedora /]# apt-get -bash: apt-get: command not found apt-get - marlenus - 2004-01-30 nevermind, found a link to downloading it in this thread [/url][url=<___base_url___>/index.php?showtopic=174][/url][url=<___base_url___>/index.php?showtopic=174]https://www.linux-noob.com/forums/index.php?showtopic=174 |