Trik Aptitude :)

Sering kali menggunakan aptitude untuk install menginstall program di Debian, tapi ada beberapa hal yang menarik saat dibandingkan dengan synaptic, yang bisa mensortir list packages yang berasal dari repository mana, lewat pilihan Origin di synaptic…

Pengin tahu juga seharusnya aptitude juga bisa seperti itu..akhirnya ketemu juga caranya.. :). Aptitude memiliki banyak fitur yang “luar biasa” …

Ini beberapa pengalaman, saya catatkan di sini, dengan harapan bisa bermanfaat 🙂

Note: saya menggunakan beberapa repository yang bermacam-macam, buat contoh :d

 deb http://ftp.twaren.net/debian/ unstable main contrib non-free
 deb http://ftp.twaren.net/debian/ experimental main contrib non-free
 deb http://ftp.hk.debian.org/debian/ stable main contrib non-free
 deb http://ftp.hk.debian.org/debian/ testing main contrib non-free
 deb http://www.debian-multimedia.org/ squeeze main non-free
 deb http://packages.linuxmint.com/ debian main upstream import romeo backport
 deb http://dl.google.com/linux/chrome/deb/ stable main

ini beberapa saja, tentu saja masih banyak yang lainnya :)
  1. Mencari paket, tentu saja dari langkah yang sederhana
$ aptitude search mint
p   gadmintools                   - GTK+ server administration tools (meta-package)
p   gnomint                       - x509 Certification Authority management tool for GNOME
p   grub2-theme-mint              - Grub2 theme for Linux Mint
i   linuxmint-keyring             - GnuPG key of the Linux Mint repository
i   mint-artwork-debian           - Default artwork for Linux Mint
p   mint-artwork-xfce             - Default artwork for Linux Mint
i A mint-backgrounds-debian       - The desktop backgrounds made for Linux Mint Debian Edition
i   mint-backgrounds-helena       - The desktop backgrounds made for Linux Mint 8 Helena
i   mint-backgrounds-isadora      - The desktop backgrounds made for Linux Mint 9 Isadora
i   mint-backgrounds-julia        - The desktop backgrounds made for Linux Mint 10 Julia
p   mint-backgrounds-katya        - The desktop backgrounds made for Linux Mint 11 Katya
p   mint-backgrounds-katya-extra  - Extra desktop backgrounds made for Linux Mint 11 Katya
p   mint-backgrounds-xfce         - Desktop backgrounds for Linux Mint Xfce
p   mint-common                   - Common scripts and resources for Linux Mint
p   mint-debian-installer         - Linux Mint Debian live CD installer
i   mint-elementary-icons         - Elementary Mint Icon pack
p   mint-flashplugin              - Metapackage for Adobe Flash plugin
p   mint-flashplugin-10.2         - Adobe Flash plugin 10.2
p   mint-flashplugin-10.3         - Adobe Flash plugin 10.3 Beta 2
v   mint-info                     -
p   mint-info-debian              - Necessary information about the Linux Mint release and editi
p   mint-info-xfce                - Necessary information about the Linux Mint release and editi
p   mint-meta-codecs              - All the packages required for multimedia support in Linux Mi
p   mint-meta-common              - Common packages required for Linux Mint.
p   mint-meta-debian              - All the packages installed by default in the Debian Edition
p   mint-meta-xfce                - This package depends on all of the packages in the Linux Min
p   mint-search-addon             - Enhances the results given by Google
p   mint-stylish-addon            - Stylish add-on for Firefox
p   mint-translations             - Translation files for Linux Mint
i   mint-x-icons                  - Mint-X Icon themes
i   mint-x-theme                  - Mint-X GTK themes
p   mintbackup                    - Home Directory Backup Tool
p   mintconfig-xfce               - The Linux Mint Control Center
p   mintconstructor               - Reconstructor for Linux Mint
p   mintdesktop                   - Desktop configuration tool
p   mintdesktop-xfce              - Extra settings for Linux Mint XFCE CE
p   mintinstall                   - Software Manager
p   mintinstall-icons             - Icons for the Software Manager
p   mintmenu                      - Advanced Gnome menu
p   mintnanny                     - Domain blocker for Linux Mint
p   mintsystem                    - Linux Mint System Base Package
p   mintupdate                    - Update Manager
p   mintupdate-debian             - Update Manager
p   mintupload                    - Uploads files on the Internet
p   mintwelcome                   - Welcome screen for Linux Mint
p   mintwifi                      - Collection of drivers for you to configure your wireless car
p   octave-optiminterp            - optimal interpolation package for Octave
p   plymouth-themes-mint          - Linux Mint Plymouth theme
v   xfcemintdesktop               -

ternyata, output sama dengan


$aptitude search '?name(mint)'

2.  mencari paket mana saja yang berasal dari repository tertentu, misal paket apa saja yang berasal dari repository linux mint

~$ aptitude search '?origin(linuxmint)'
p   aptdaemon                  - transaction based package management servi
p   apturl                     - install packages using the apt protocol -
p   apturl-common              - install packages using the apt protocol -
p   cairo-perf-utils           - The Cairo 2D vector graphics library perfo
p   debian-system-adjustments  - Debian adjustments specific to Linux Mint.
p   dropbox                    - Easily share and sync files across compute
p   firefox                    - The Firefox web browser
p   firefox-l10n-af            - Afrikaans language packs for Firefox
p   firefox-l10n-ar            - Arabic language packs for Firefox
.....

saya potong outputnya, karena terlalu panjang :).. atau paket-paket yang berasal dari repository google

~$ aptitude search '?origin(google)'
p   google-chrome-beta        - The web browser from Google
i   google-chrome-stable      - The web browser from Google
p   google-chrome-unstable    - The web browser from Google

3. Mencari paket yang terinstall yang berasal dari repository, misal mencari paket-paket yang terinstall dari repository linuxmint

$ aptitude search '?installed ?origin(linuxmint)'
i A fontconfig                 - generic font configuration library - support binaries
i A fontconfig-config          - generic font configuration library - configuration
i A gtk2-engines-aurora        - Aurora gtk+-2.0 theme engine
i A gtk2-engines-candido       - Candido engine for GTK+ 2.x
i   gtk2-engines-murrine       - cairo-based gtk+-2.0 theme engine
i A libcairo-gobject2          - The Cairo 2D vector graphics library (GObject library)
i   libcairo2                  - The Cairo 2D vector graphics library
i A libfontconfig1             - generic font configuration library - runtime
i A libpixman-1-0              - pixel-manipulation library for X and cairo
i   linuxmint-keyring          - GnuPG key of the Linux Mint repository
i   mint-artwork-debian        - Default artwork for Linux Mint
i A mint-backgrounds-debian    - The desktop backgrounds made for Linux Mint Debian Edition
i   mint-backgrounds-helena    - The desktop backgrounds made for Linux Mint 8 Helena
i   mint-backgrounds-isadora   - The desktop backgrounds made for Linux Mint 9 Isadora
i   mint-backgrounds-julia     - The desktop backgrounds made for Linux Mint 10 Julia
i   mint-elementary-icons      - Elementary Mint Icon pack
i   mint-x-icons               - Mint-X Icon themes
i   mint-x-theme               - Mint-X GTK themes
i A ttf-ubuntu-font-family     - Ubuntu Font Family, sans-serif typeface hinted for clarity
i   xchat                      - IRC client for X similar to AmIRC
i A xchat-common               - Common files for X-Chat

atau dalam bahasa yang lebih singkat

~$ aptitude search '~i ~Olinuxmint'

4. Listing paket yang masuk kategori “baru” / New dari repository tertentu, misal paket-paket baru dari repository linuxmint

~$ aptitude search '?new ?origin(linuxmint)' | more
p   aptdaemon                       - transaction based package management servi
p   apturl                          - install packages using the apt protocol -
p   apturl-common                   - install packages using the apt protocol -
p   cairo-perf-utils                - The Cairo 2D vector graphics library perfo
p   debian-system-adjustments       - Debian adjustments specific to Linux Mint.
p   dropbox                         - Easily share and sync files across compute
p   firefox                         - The Firefox web browser
.....

5. Listing paket-paket terinstall yang bisa diupgrade (tersedia upgrade-nya) dari repository tertentu, misal melihat paket yang terinstall dari repository linux mint yang tersedia upgrade-nya 🙂

~$ aptitude search '?upgradable ?installed ?origin(linuxmint)'
i A libcairo-gobject2      - The Cairo 2D vector graphics library (GObject library)
i   libcairo2              - The Cairo 2D vector graphics library
i   mint-artwork-debian    - Default artwork for Linux Mint
i   mint-x-theme           - Mint-X GTK themes
i   xchat                  - IRC client for X similar to AmIRC
i A xchat-common           - Common files for X-Chat

hmmm..ternyata banyak juga 🙂

Advertisements
Comments
3 Responses to “Trik Aptitude :)”
  1. Leandro says:

    Hi there exceptional website! Does running a blog like this require
    a massive amount work? I’ve no expertise in coding however I had been hoping to start my own blog in the near future. Anyway, if you have any recommendations or techniques for new blog owners please share. I understand this is off topic however I simply had to ask. Kudos!

  2. The goal is to consider where you’re going to place your kitchen, since there might kitchen design be a few things you
    would like in your new kitchen much nicer and
    easier to work in. Farmhouse Kitchen Design IdeasRemember, farmhouse or
    country kitchen designs can only be implemented if you have a
    dining area in the kitchen? http://beratungsplattform.axel-schroeder.de/entries/30402173-Some-Challenging-Ideas-For-Easy-Tactics-For-Kitchen-Design-Up-To-Date-Guidance

  3. The other day, while I was at work, my sister stole my iphone and tested to see if it can survive a 40 foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views.
    I know this is totally off topic but I had to share
    it with someone!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: