Just Save My Mind
- Cara Menghapus dan Mematikan file Thumbs.db
- Ciri dan Indikasi Virus Hopeless II
- Setting Hotspot dengan Server Mikrotik
- Mito Punya Ponsel dengan Alat Bantu Dengar
- Caleg 2009, Mempromosikan Diri Dengan Email
- Rank Alexa gak Stabil, Postingan kena Copas ?
- Cara Install Windows di dalam Ubuntu
- The Real Big Match : Juventus vs AC Milan
- Tips Membuka Link Baru di Firefox
- Membuat Mobile Blog dengan Mudah di MoFuse
- Tips Membuka Link Baru di Firefox in Uncategorized (61 Visits)
- Sekolah di Jakarta Akan Masuk Jam 06.30 Wib in Uncategorized (8 Visits)
- Akhirnya Datang Juga si Intrepid Ibex in Uncategorized (7 Visits)
- Gerrard & Essien Join City List in (34 Visits)
- Naruto Manga 425, Apakah Kakashi bakal Mati ? in (392 Visits)
- One Piece: Bagaimana Hubungan Luffy n Hancock serta Nasib Ace in (274 Visits)
- Sedikit Tentang IP address in (164 Visits)
- Sifat-Sifat Pria yang Kurang Disukai Wanita in (162 Visits)
- Bagaimana Nasib Buruh Sehubungan SKB 4 Menteri in (118 Visits)
- Sedikit Tentang Wi-Fi in (105 Visits)
- Sekolah di Jakarta Akan Masuk Jam 06.30 Wib in (70 Visits)
- Fenomena Baru di "Tempatku" ? in (48 Visits)
- Seandainya Indonesia Dipimpin oleh Jiwa Seperti "Mereka" in (48 Visits)
- Yang Ku Rindu in (46 Visits)
- Install dan Gunakan Visio di Ubuntu in (89 Visits)
- Install Flash 10 di Ubuntu Hardy Heron in (73 Visits)
- Akhirnya Datang Juga si Intrepid Ibex in (57 Visits)
- Install Flash 10 for Ubuntu Hardy Heron in (31 Visits)
- Linux Command Handling in (30 Visits)
- 10 ways to make apt-get easier in (27 Visits)
- Taman Simalem, Pearl of Lake Toba ? in (138 Visits)
- Jalan-Jalan di Hillpark - Sibolangit in (93 Visits)
- Katanya ada Monster Air di Ancol in (89 Visits)
- Windows 7 versi Beta Release akan 13 Januari 2009 in (66 Visits)
- Pengalaman Pertama dgn Cisco2500 in (55 Visits)
- Tim Thomas Kalah di Semifinal. in (36 Visits)
- Ciri dan Indikasi Virus Hopeless II in (8 Visits)
- :: Mikrotik :: in (157 Visits)
- Manipulasi Hasil "Ping" Reply in (116 Visits)
- Membuat Hotspot dengan Mikrotik in (111 Visits)
- Mikrotik Simple Queue in (77 Visits)
- Setting Hotspot dengan Server Mikrotik in (16 Visits)
- Manfaat dan Kegunaan Google Analytics in (196 Visits)
- Nge-Block Yahoo Messenger dan Meebo in (133 Visits)
- Setting Evolution Email Client Menggunakan Acoount GMail in (121 Visits)
- Manfaat dari Google Webmaster Tools in (73 Visits)
- Istilah-Istilah dalam Google Adsense in (72 Visits)
- Tips Browsing Melewati Firewall in (69 Visits)
- Block Situs tertentu di Windows dengan file Host.dll in (59 Visits)
- Message Filter di Evolution Mail Client in (59 Visits)
- Address Situs-Situs untuk Download Themes Wordpress in (56 Visits)
- Membuat Mobile Blog dengan Mudah di MoFuse in (55 Visits)
- Cara Setting Linksys WRT54G sebagai Router Gateway Serderhana in Wireless (760 Visits)
- Langkah-Langkah Konfigurasi Cisco Catalyst Dasar in Wireless (332 Visits)
- Konfigurasi Motorola Canopy BackHaul in Wireless (159 Visits)
- Reset to Default Radio Motorola Canopy in Wireless (136 Visits)
- Install Wordpress dgn Hosting dan Domain Gratis in Wireless (75 Visits)
- Product Information : Motorola Canopy Antenna reflector in Wireless (64 Visits)
- About Interference and Motorola Canopy in Wireless (47 Visits)
- Default IP address for Wireless Access Point in Wireless (41 Visits)
- Asus WL-500W 802.11 in Wireless (39 Visits)
- Configuring the Linksys PrintServer for USB in Wireless (24 Visits)
- Apabila Beckham ke Milan, maka ..... in Software (99 Visits)
- Serie A Libur, Semoga Milan Bangkit Lagi in Software (79 Visits)
- The Real Big Match : Juventus vs AC Milan in Software (57 Visits)
- Seputar Rumor mengenai Kaka in Software (52 Visits)
- Download Link: Milan (1) vs (0) Inter in Software (45 Visits)
- (Video) Milan beat Zurich Againt with Sheva Goal in Software (45 Visits)
- Video Goal Milan beat Inter in Software (44 Visits)
- Opini Probadi Mengenai Rumor Kaka in Software (43 Visits)
- Pato dan Harapan Milan in Software (43 Visits)
- Download Link Reggina 1 vs 2 Milan in Software (36 Visits)
- Download Naruto Shippuden Episode 51 - 59 format .avi in Sport (88 Visits)
- Download Naruto Shippuden Episode 72 in Sport (88 Visits)
- Download Naruto Shippuden Episode 60 - 63 format rmvb in Sport (87 Visits)
- Download Link for Naruto Shippuuden 67 68 69 for avi and rmvb in Sport (77 Visits)
- Download Naruto Shippuden Episode 51 - 59 format rmvb in Sport (71 Visits)
- Download Link for Naruto Shippuden Episode 76-77 in Sport (53 Visits)
- Download Naruto Shippuden Episode 64 - 66 format rmvb in Sport (51 Visits)
- Download Link for Naruto Shippuden Episode 75 in Sport (42 Visits)
- Download Naruto Shippuden Episode 73 in Sport (38 Visits)
- Download Naruto Shippuden Episode 70 in Sport (36 Visits)
- Cara install n konfigurasi Printer Canon PIXMA IP1600 / 1700 di Debian / Ubuntu in Tips n Tricks (521 Visits)
- Merubah Tampilan Welcome Screen Windows XP in Tips n Tricks (489 Visits)
- Install Driver WiFi Acer Aspire 4315 di Ubuntu Hardy Heron in Tips n Tricks (166 Visits)
- Cara Reset Password di Ubuntu in Tips n Tricks (120 Visits)
- 25 Product Computer dan Laptop Paling Populer versi Amazon in Tips n Tricks (115 Visits)
- Setting Outlook Express dgn Account di telkom.net in Tips n Tricks (99 Visits)
- Setting Benq-Siemens S81 Sebagai Modem Notebook in Tips n Tricks (85 Visits)
- Reset Lost Root Password In Linux in Tips n Tricks (78 Visits)
- Cara install Linux dengan USB Drive in Tips n Tricks (74 Visits)
- Reset Root Password in RedHat/Fedora in Tips n Tricks (38 Visits)
- Install Audacious dengan Skin dan Equalizer Preset di Ubuntu in (154 Visits)
- Benarkah WEP bisa menurunkan kecepatan koneksi in (115 Visits)
- Cara Ngilangin DeepFreeze v6 yang Lupa Password in (76 Visits)
- Using Internet Explore in Your Ubuntu in (36 Visits)
- Ayo Install DD-WRT pada Linksys WRT54GL in (225 Visits)
- Informasi Setting Dial Up dengan Handphone GSM/CDMA in videos (255 Visits)
- Instalasi n Setting Koneksi Handphone dengan Windows XP via BlueTooth in videos (120 Visits)
- Google Earth Sekarang "join" dengan IPhone in videos (87 Visits)
- BenQ-Siemens S81 3G Phone in videos (45 Visits)
- Google's Android in HTC New Phone in videos (28 Visits)
- Mito Punya Ponsel dengan Alat Bantu Dengar in videos (9 Visits)
- Find Serial Number on Google in (37 Visits)
- Remove or Disable Restart Popup after Automatic Update in (25 Visits)
- Cara Install Windows di dalam Ubuntu in (14 Visits)
- Cara Menghapus dan Mematikan file Thumbs.db in (2 Visits)
- Setting NAT di Radio Motorola Canopy in (157 Visits)
- About Interference and Wireless Channel in (34 Visits)
- Overview About Jitter in (33 Visits)
- Pilem Laskar Pelangi = Laskar Pelangi The Movie in (248 Visits)
- Kungfu Panda in (31 Visits)
- Instalasi Squid di Red Hat Fedora Core 1 in (177 Visits)
- Mengenal sedikit tentang Kabel UTP in (163 Visits)
- Install Traffic MRTG in (142 Visits)
- Review dan Tips Setting UBiQUiTi Power Station2 in (111 Visits)
- Cara Install Windows di dalam Ubuntu in (82 Visits)
- About CAT 6 Cable Overview in (41 Visits)
- Catatan-Catatan Pribadi in (41 Visits)
- Default IP untuk Beberapa Perangkat Wireless in (36 Visits)
- Little Think About IPv6 in (34 Visits)
- 10 Tips to Make Linux Networking Easier in (28 Visits)
Posted on August 16th, 2008
The apt-get package management system enables administrators to keep a system updated with the latest, greatest packages (or install previously uninstalled packages) using simple command-line input. But not everyone finds apt-get easy to use. Some people have trouble remembering commands or keeping track of repositories. Others just don’t like the command-line interface. Never fear. No matter what problems you have with apt-get, there are ways to make it easier to use. Let’s examine some of those ways.
Note: This information is also available as a PDF download.
#1: Keep your repositories separate
I often add new repositories for installing specific packages, such as Enlightenment. But if I were to keep adding those repositories to my sources.list file, it would quickly become confusing. It would also take longer to weed through it to find the right repository to edit. To make things easier, I create a separate file for each new repository I add that is outside of the normal distribution repository. Make sure after you add a new sources file you run apt-get update so apt will catch the new repositories.
#2: Automate apt-get
This trick is handy if you I you want to keep all your packages up to date on a regular basis. The best method of handling this is with the package cron-apt. You can install cron-apt with the apt-get install cron-apt command. This only downloads the new updates and e-mails the admin that they are available. The cron-apt tool will NOT automatically update the packages — and this is a good thing. You don’t want every package always automatically updating.
#3: Make apt-get stop asking for your installation CD/DVD
This can get really annoying if you’re constantly installing standard packages. To stop this behavior, open up /etc/apt/sources.list and comment out the line that starts with deb cdrom. (In Ubuntu, it is often the first line.) Once you’ve done this, you won’t be prompted for your installation media.
#4: Use apt-get to install from source
No, this doesn’t really make apt-get easier. But it uses apt-get to make a process many fear a whole lot easier. Say, for instance, you want to install the Balsa e-mail client from source. To do this, issue the command sudo apt-get build-dep balsa. This will download all of the dependencies for the application. Next, issue the command sudo apt-get -b source balsaI, which will create the .deb package for you to install. This creates a binary package that is specific for your machine. It’s not necessarily any easier, but it’s certainly worthwhile when you know you need to install from source.
#5: Use a GUI for installation
One of my favorite installation GUIs of all time is Synaptic. It’s simple and reliable. Synaptic offers an outstanding means of searching for packages, installing packages, and updating packages. Of course there are more GUIs for apt-get. For example, Aptitude is an outstanding graphical front end for apt-get.
#6: Use the update-manager front end for updating packages
In the world of Ubuntu, apt-get has an excellent separate front end for updates only. This front end, update-manager, not only handles package updates, it also does distribution updates so you can go from Hardy Heron to Gusty Gibbon without a hitch. Of course update-manager, like synaptic, must be run with sudo privileges.
#7: Run apt-get update on a regular basis
If you run apt-get update, say, once a month, you’re going to have to wait for the system to sift through a month’s worth of updates. So when you run apt-get install for a specific package, you know your repositories have already been updated to contain the most recent versions of packages.
#8: Make sure you are installing only stable packages
Sometimes, two versions of an application are available (if you have repositories in your sources that point to both): stable and unstable. You most likely do not want to install the unstable version of certain packages. To avoid this, you can add either the /stable or /unstable switch to the command, like so: apt-get install PACKAGE/stable (where PACKAGE is the name of the package to install.)
#9: Help apt-get get around a proxy
If you work behind a proxy server, it can be a real hassle trying to get apt-get to work. To get around your proxy, you need to add the following line to the /etc/environment file:
http_proxy=”http://PROXY ADDRESS:PORT
ftp_proxy=”http://PROXY_ADDRESS:PORT
where PROXY_ADDRESS:PORT is the actual address and port of your proxy server. Once you have the correct additions, run the command source /etc/environment to apply the changes.
#10: Avoid the 403 error with ftp
If you’re having trouble getting through a firewall due to http restrictions, you can change all the http references to ftp and then run apt-get update to apply the changes. You should have no problems with 403 errors any more.
From : Jack Wallen
Sphere: Related Content
Translate To Indonesia
Translate To English


Leave a Reply